Method: legacySdk.legacyAddOrUpdateCaseTask

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

Legacy RPC for add or update case task.

HTTP request


Path parameters

Parameters
instance

string

Required. The AddOrUpdateCaseTask request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addOrUpdateCaseTask

Request body

The request body contains data with the following structure:

JSON representation
{
  "id": string,
  "caseId": string,
  "priority": enum (TaskPriorityEnum),
  "isImportant": boolean,
  "status": enum (TaskStatusEnum),
  "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,
  "isFavorite": boolean,
  "creationTimeUnixTimeMs": string,
  "modificationTimeUnixTimeMs": string,
  "title": string
}
Fields
id

string (int64 format)

Required. The task id.

caseId

string (int64 format)

Required. The case id.

priority

enum (TaskPriorityEnum)

Optional. The priority.

isImportant

boolean

Optional. The is important flag.

status

enum (TaskStatusEnum)

Optional. The status.

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.

isFavorite

boolean

Optional. The is favorite flag.

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.

Response body

The AddOrUpdateCaseTaskResponse message.

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

JSON representation
{
  "payload": string
}
Fields
payload

string (int64 format)

The task id.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

TaskPriorityEnum

The task priority enum.

Enums
HIGH High.
MEDIUM Medium.
LOW Low.

TaskStatusEnum

The task status enum.

Enums
PENDING Pending.
COMPLETED Completed.