Pass Through Call to ServiceDispatchto Dispatch's "Update Problem Info" APIThis RESTified API will perform a pass-through call to the ServiceDispatch the Dispatch sub-system's "Update Problem Info" API (when configured). URL Panel |
---|
borderColor | grey |
---|
bgColor | whitesmoke |
---|
borderStyle | solid |
---|
| PUT /up/v5/rest/dispatch/updateProblemInfo
|
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 Problem Info" API. Code Block |
---|
| {
"Id": "CT.2019-4-30.100192",
"MfgSvcrAcct": "FSSTEST",
"ProbCode": "test1",
"ProbType": "test1",
"ProbDesc": "Not working"
} |
UpdateProblemInfo Object PropertiesProperty | Type | Required? | Description | ServiceDispatch Dispatch Field Mapping |
---|
Id | string | No | Pass through parameter to the ServiceDispatch "Update Problem 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 Problem Info" API. This servicer Id given by the requestor. | MfgSvcrAcct | ProbCode | string | No | Pass through parameter to the ServiceDispatch "Update Problem Info" API. Problem Code. (Dispatch won’t validate on the problem code, this code can be anything defined by the cal source) | ProbCode | ProbType | string | No | Pass through parameter to the ServiceDispatch "Update Problem Info" APIProblem type. | ProbType | ProbDesc | string | No | Pass through parameter to the ServiceDispatch "Update Problem Info" API. Problem description. | ProbDesc |
HTTP ResponseSuccessOn success, a JSON-formatted version of the ServiceDispatch Dispatch "Update Problem 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 Problem 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. |