Method: caseWallRecords.fetchActivitiesCount

Full name: projects.locations.instances.cases.caseWallRecords.fetchActivitiesCount

Fetches the count of activities for a given type.

HTTP request


Path parameters

Parameters
parent

string

Required. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseWallRecords

Request body

The request body must be empty.

Response body

Response message for caseWallRecords.fetchActivitiesCount this return the number of activities for a given type.

If successful, the response body contains data with the following structure:

JSON representation
{
  "actions": integer,
  "statusChanges": integer,
  "tasks": integer,
  "comments": integer,
  "insights": integer,
  "pinnedChatMessages": integer,
  "favorite": integer
}
Fields
actions

integer

Output only. The number of actions type wall records.

statusChanges

integer

Output only. The number of status changes type wall records.

tasks

integer

Output only. The number of tasks type wall records.

comments

integer

Output only. The number of comments type wall records.

insights

integer

Output only. The number of insights type wall records.

pinnedChatMessages

integer

Output only. The number of pinned chat messages type wall records.

favorite

integer

Output only. The number of favorite type wall records.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.