Create Service Document Delete Task State

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"
}
serviceTaskCallback
Optional

serviceTaskCallback

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
requestTrackerLink
Optional

requestTrackerLink

object
customProperties
Optional

customProperties

string
documentSelfLink
Optional

documentSelfLink

array of string
tenantLinks
Optional

tenantLinks

taskInfo
Optional

taskInfo

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"
}
serviceTaskCallback
Optional

serviceTaskCallback

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
requestTrackerLink
Optional

requestTrackerLink

object
customProperties
Optional

customProperties

string
documentSelfLink
Optional

documentSelfLink

array of string
tenantLinks
Optional

tenantLinks

taskInfo
Optional

taskInfo

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