Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

5.4.0

A pass-through API to ServiceBroker (when configured) which allows the ServiceBroker's "Update Problem Info" API to be called.

On this page:

Related pages:

Resource URL Summary

Pass Through Call to ServiceBroker'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 ServiceBroker's "Update Problem Info" API

This RESTified API will perform a pass-through call to the ServiceBroker 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 ServiceBroker "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

PropertyTypeRequired?DescriptionServiceDispatch Field Mapping
IdstringNoPass through parameter to the ServiceDispatch "Update Problem Info" API. CallNo
MfgSvcrAcctstringNo

Pass through parameter to the ServiceDispatch "Update Problem Info" API. 

MfgSvcrAcct
ProbCodestringNo

Pass through parameter to the ServiceDispatch "Update Problem Info" API. 

ProbCode
ProbTypestringNoPass through parameter to the ServiceDispatch "Update Problem Info" API. ProbType
ProbDescstringNoPass through parameter to the ServiceDispatch "Update Problem Info" API. ProbDesc

HTTP Response

Success

On success, a JSON-formatted version of the ServiceDispatch "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 ServiceDispatch "Update Problem Info" API response will be returned.

{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "message": "Dispatch Error Code"
        }
    }
}
  • No labels