UpdateProblemInfo RESTified API
Resource URL Summary
Pass Through Call to Dispatch's "Update Problem Info" API
PUT /up/v5/rest/dispatch/updateProblemInfo
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specifics
Pass Through Call to Dispatch's "Update Problem Info" API
This RESTified API will perform a pass-through call to the Dispatch sub-system's "Update Problem Info" API (when configured).
URL
PUT /up/v5/rest/dispatch/updateProblemInfo
HTTP Request Body
This request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the Dispatch "Update Problem Info" API.
UpdateProblemInfo Object Format
{ "Id": "CT.2019-4-30.100192", "MfgSvcrAcct": "FSSTEST", "ProbCode": "test1", "ProbType": "test1", "ProbDesc": "Not working" }
UpdateProblemInfo Object Properties
Property | Type | Required? | Description | Dispatch Field Mapping |
---|---|---|---|---|
Id | string | No | The call number that was used when the call was originally created. | CallNo |
MfgSvcrAcct | string | No | This servicer Id given by the requestor. | MfgSvcrAcct |
ProbCode | string | No | Problem Code. (Dispatch won’t validate on the problem code, this code can be anything defined by the cal source) | ProbCode |
ProbType | string | No | Problem type. | ProbType |
ProbDesc | string | No | Problem description. | ProbDesc |
HTTP Response
Success
On success, a JSON-formatted version of the Dispatch "Update Problem Info" API response will be returned.
{ "MFGID": "9999", "Id": "CT.2019-4-30.100192", "AckMsg": "CALL DETAIL UPDTED SUCCESSFUL" }
Error
On error, a JSON-formatted version of the Dispatch "Update Problem Info" API response will be returned.
{ "Success": false, "Code": 9, "Payload": { "returnCode": { "type": "Error", "message": "Dispatch Error Code" } } }
Return Codes
In addition to the Standard Return Codes, and the Dispatch Error codes, individual API calls made have unique codes found on their individual pages.