Create Service Document Delete Task State
Only Solution users, Container admins, and System admins can create ServiceDocumentDeleteTaskState.
Request
URI
POST
https://{api_host}/container-service/api/delete-tasks
COPY
Request Body
ServiceDocumentDeleteTaskState of type(s) application/json
Required
{
"serviceTaskCallback": {
"taskStageFailed": "string",
"taskStageComplete": "string",
"serviceSelfLink": "string"
},
"documentExpirationTimeMicros": "string",
"requestTrackerLink": "string",
"documentSelfLink": "string",
"tenantLinks": [
"string"
],
"taskInfo": {
"stage": "string",
"failure": {
"documentKind": "string",
"errorCode": 0,
"stackTrace": [
"string"
],
"message": "string",
"statusCode": 0
},
"isDirect": false
},
"deleteDocumentKind": "string",
"documentUpdateTimeMicros": "string",
"taskSubStage": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
string
requestTrackerLink
Optional
requestTrackerLink
object
customProperties
Optional
customProperties
string
documentSelfLink
Optional
documentSelfLink
array of string
tenantLinks
Optional
tenantLinks
string
deleteDocumentKind
Optional
deleteDocumentKind
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
taskSubStage
Optional
taskSubStage
Responses
200
successful operation
Returns ServiceDocumentDeleteTaskState of type(s) */*
{
"serviceTaskCallback": {
"taskStageFailed": "string",
"taskStageComplete": "string",
"serviceSelfLink": "string"
},
"documentExpirationTimeMicros": "string",
"requestTrackerLink": "string",
"documentSelfLink": "string",
"tenantLinks": [
"string"
],
"taskInfo": {
"stage": "string",
"failure": {
"documentKind": "string",
"errorCode": 0,
"stackTrace": [
"string"
],
"message": "string",
"statusCode": 0
},
"isDirect": false
},
"deleteDocumentKind": "string",
"documentUpdateTimeMicros": "string",
"taskSubStage": "string"
}
string
documentExpirationTimeMicros
Optional
documentExpirationTimeMicros
string
requestTrackerLink
Optional
requestTrackerLink
object
customProperties
Optional
customProperties
string
documentSelfLink
Optional
documentSelfLink
array of string
tenantLinks
Optional
tenantLinks
string
deleteDocumentKind
Optional
deleteDocumentKind
string
documentUpdateTimeMicros
Optional
documentUpdateTimeMicros
string
taskSubStage
Optional
taskSubStage
201
'Created' is returned for the new state with the state url in the location
header of the response;
Operation doesn't return any data structure
Service Document Operations
POST
Create Service Document Delete Task State
DELETE
Delete Service Document Delete Task State
GET
Get Service Document Delete Task State
GET
List Service Document Delete Task State
PATCH
Patch Service Document Delete Task State
PUT
Update Service Document Delete Task State