Pass Through Call to ServiceSchedulingScheduling 's "Confirm Dispatched Job" APIThis RESTified API will perform a pass-through call to the ServiceScheduling Scheduling sub-system's "Confirm Dispatched Job" API (when configured). URL Panel |
---|
borderColor | grey |
---|
bgColor | whitesmoke |
---|
borderStyle | solid |
---|
| PUT /up/v5/rest/scheduling/DispResult
|
HTTP Request BodyThis request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the ServiceScheduling the Scheduling "Confirm Dispatched Job" APi. Code Block |
---|
language | js |
---|
title | ConfirmDispatchedJob JSON |
---|
collapse | true |
---|
| {
"ResultCode": 0
} |
ConfirmDispatchedJob Object PropertiesProperty | Type | Description | Req?Field Mapping: Service Scheduling |
---|
ResultCode | Integer | If the job was successfully dispatched, this should be set to 0. If any other result is returned, ServiceOptimizer will re-dispatch the job until 0 is returned for it, or disp_expiry_time is reached. ServiceOptimizer does not do any special processing for non-zero responses, but it will be logged in the log file. | Yes | resultCode SS Field: resultCode
| Yes |
HTTP Response SuccessOn success, a JSON-formatted version of the ServiceScheduling Scheduling "Confirm Dispatched Job" API response will be returned. Code Block |
---|
| {
"Success": true,
"Code": "0",
"Message": "",
"Payload": {
"result": {
"type": "OK",
"code": "0"
}
}
} |
Error On error, a JSON-formatted version of the ServiceScheduling Scheduling "Confirm Dispatched Job" API response will be returned. Code Block |
---|
| {
"Success": false,
"Code": 9,
"Payload": {
"returnCode": {
"type": "Error",
"code": "SCH Error Code"
}
}
} |
Return CodesIIn In addition to to the Standard Return Codes, and the general ServiceScheduling Return Codes, the specfic ones for the Scheduling Error codes, the possible Return Codes from this API are: Expand |
---|
SP_OK (0) SP_DISP_INIT_EXPECTED (262) SP_DISP_REQ_EXPECTED (263)
|
|