Method: legacySdk.legacyGetCaseTasks

Full name: projects.locations.instances.legacySdk.legacyGetCaseTasks

Legacy RPC for getting case tasks.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetCaseTasks request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:legacyGetCaseTasks?caseId={caseId}

Query parameters

Parameters
caseId

string (int64 format)

Required. The case id to get the tasks for.

Request body

The request body must be empty.

Response body

The GetCaseTasksResponse message.

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

JSON representation
{
  "payload": [
    {
      object (SdkApiCaseTask)
    }
  ]
}
Fields
payload[]

object (SdkApiCaseTask)

The list of case tasks.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

SdkApiCaseTask

The SdkApiCaseTask message.

JSON representation
{
  "id": string,
  "caseId": string,
  "ownerComment": string,
  "content": string,
  "creatorUserId": string,
  "creatorFullName": string,
  "owner": string,
  "ownerFullName": string,
  "lastModifier": string,
  "lastModifierFullName": string,
  "completor": string,
  "completorFullName": string,
  "dueDateUnixTimeMs": string,
  "completionComment": string,
  "completionDateTimeUnixTimeMs": string,
  "creationTimeUnixTimeMs": string,
  "modificationTimeUnixTimeMs": string,
  "title": string,
  "priority": enum (TaskPriorityEnum),
  "isImportant": boolean,
  "status": enum (TaskStatusEnum),
  "isFavorite": boolean
}
Fields
id

string (int64 format)

Required. The task id.

caseId

string (int64 format)

Required. The case id.

ownerComment

string

Optional. The owner comment.

content

string

Optional. The content.

creatorUserId

string

Required. The creator user id.

creatorFullName

string

Output only. The creator full name.

owner

string

Optional. The owner.

ownerFullName

string

Output only. The owner full name.

lastModifier

string

Output only. The last modifier.

lastModifierFullName

string

Output only. The last modifier full name.

completor

string

Optional. The completor.

completorFullName

string

Optional. The completor full name.

dueDateUnixTimeMs

string (int64 format)

Output only. The due date unix time in milliseconds.

completionComment

string

Optional. The completion comment.

completionDateTimeUnixTimeMs

string (int64 format)

Output only. The completion date time unix time in milliseconds.

creationTimeUnixTimeMs

string (int64 format)

Output only. The creation time unix time in milliseconds.

modificationTimeUnixTimeMs

string (int64 format)

Output only. The modification time unix time in milliseconds.

title

string

Optional. The title.

priority

enum (TaskPriorityEnum)

Optional. The priority.

isImportant

boolean

Optional. The is important flag.

status

enum (TaskStatusEnum)

Optional. The status.

isFavorite

boolean

Optional. The is favorite flag.

TaskPriorityEnum

The task priority enum.

Enums
HIGH High.
MEDIUM Medium.
LOW Low.

TaskStatusEnum

The task status enum.

Enums
PENDING Pending.
COMPLETED Completed.