Updates a case's SLA by the specified time period. The case must already have a running SLA.
Namespace
goss.CaseManagement.v1.api.sla.updateSLA
Worker
serverlibrary
Parameters
Required Properties | Type | Description |
---|---|---|
caseBusinessKey | String <businessKey> | The business key of the case |
duration | String | An ISO8601 duration value (for example P2D for two days) |
operation | String | Either add or subtract |
Optional Properties | Type | Description |
name | String | Default: SYSTEM. The name that will appear in the case history |
note | String | The note that will be added to the case history |
private | Boolean | Default: false. Set true to log a private note (only visible to case managers) |
debug | Boolean | Default: false. Set true to return debug information ("notes") in the response message |
Example
See Case Management API for a full example call.
{
"caseBusinessKey": "0549-8592-0619-1521",
"duration": "P2D",
"operation": "add"
}
Responses
Success
{
"jsonrpc": "2.0",
"id": 24,
"result": {
"success": true,
"errors": []
}
}
Error
{
"jsonrpc": "2.0",
"id": 23,
"result": {
"success": false,
"errors": []
}
}
Last modified on September 01, 2022