- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- TaskPriorityEnum
- TaskStatusEnum
- Try it!
Full name: projects.locations.instances.legacySdk.legacyAddOrUpdateCaseTask
Legacy RPC for add or update case task.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
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 ( |
Fields | |
---|---|
id |
Required. The task id. |
caseId |
Required. The case id. |
priority |
Optional. The priority. |
isImportant |
Optional. The is important flag. |
status |
Optional. The status. |
ownerComment |
Optional. The owner comment. |
content |
Optional. The content. |
creatorUserId |
Required. The creator user id. |
creatorFullName |
Output only. The creator full name. |
owner |
Optional. The owner. |
ownerFullName |
Output only. The owner full name. |
lastModifier |
Output only. The last modifier. |
lastModifierFullName |
Output only. The last modifier full name. |
completor |
Optional. The completor. |
completorFullName |
Optional. The completor full name. |
dueDateUnixTimeMs |
Output only. The due date unix time in milliseconds. |
completionComment |
Optional. The completion comment. |
completionDateTimeUnixTimeMs |
Output only. The completion date time unix time in milliseconds. |
isFavorite |
Optional. The is favorite flag. |
creationTimeUnixTimeMs |
Output only. The creation time unix time in milliseconds. |
modificationTimeUnixTimeMs |
Output only. The modification time unix time in milliseconds. |
title |
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 |
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. |