Pass Through Call to ServiceDispatchto Dispatch's "Update Call Status Info" APIThis RESTified API will perform a pass-through call to the ServiceDispatch the Dispatch sub-system's "Update Call Status Info" API (when configured). URL Panel |
---|
borderColor | grey |
---|
bgColor | whitesmoke |
---|
borderStyle | solid |
---|
| PUT /up/v5/rest/dispatch/updateCallStatusInfo
|
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 ServiceDispatch the Dispatch "Update Call Status Info" API. Code Block |
---|
| {
"Id": "CT.2019-4-30.100192",
"MfgSvcrAcct": "FSSTEST",
"CallStatus": "ACCEPTED",
"CallReasonCode": ""
} |
UpdateCallStatusInfo Object PropertiesProperty | Type | Required? | Description | Dispatch Field Mapping: ServiceDispatch |
---|
Id | string | No | Pass through parameter to the ServiceDispatch "Update Call Status Info" API. The call number that was used when the call was originally created. | CallNo | MfgSvcrAcct | string | No | Pass through parameter to the ServiceDispatch "Update Call Status Info" API. This servicer Id given by the requestor but must match data set. | MfgSvcrAcct | CallStatus | string | No | Pass through parameter to the ServiceDispatch "Update Call Status Info" API. The current status of the call. it can be Open or Accepted. | CallStatus | CallReasonCode | string | No | Pass through parameter to the ServiceDispatch "Update Call Status Info" API. This is returned only if the requestor is rejecting/canceling the job on behalf of servicer. | CallReasonCode |
HTTP ResponseSuccessOn success, a JSON-formatted version of the ServiceDispatch Dispatch "Update Call Status Info" API response will be returned. Code Block |
---|
| {
"MFGID": "9999",
"Id": "CT.2019-4-30.100192",
"AckMsg": "CALL DETAIL UPDTED SUCCESSFUL"
} |
Error On error, a JSON-formatted version of the ServiceDispatch Dispatch "Update Call Status Info" API response will be returned. Code Block |
---|
| {
"Success": false,
"Code": 9,
"Payload": {
"returnCode": {
"type": "Error",
"message": "Dispatch Error Code"
}
}
}
| note
Return CodesIn addition to to the Standard Return Codes, Service Dispatch has unique error codes that can be found hereand the Dispatch Error codes, individual API calls made have unique codes found on their individual pages. |