Toggle menu

updateSLA

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 PropertiesTypeDescription
caseBusinessKeyString <businessKey>The business key of the case
durationStringAn ISO8601 duration value (for example P2D for two days)
operationStringEither add or subtract
Optional PropertiesTypeDescription
nameStringDefault: SYSTEM. The name that will appear in the case history
noteStringThe note that will be added to the case history
privateBooleanDefault: false. Set true to log a private note (only visible to case managers)
debugBooleanDefault: 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

Share this page

Facebook icon Twitter icon email icon

Print

print icon