/
GetShipmentInfo RESTified API

GetShipmentInfo RESTified API

5.4.0

A pass-through API to Dispatch(when configured) which allows the Dispatch's "Get Shipment Info" API to be called.         

On this page:

Related pages:

Resource URL Summary

Pass Through Call to Dispatch's "Get Shipment Info" API

PUT /up/v5/rest/dispatch/getShipmentInfo   

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics

The parameters StartDate and EndDate objects. If your language does not understand these object types, then the definition is included.

Parameter

Datatype

(length)

Description
CallNo String(20)The call number that was used when the call was originally created.
StartDate String(20)

Starting date to search for status history (format for this is YYYYDDMM).

EndDateString

Ending date to search for status history

(format for this is YYYYDDMM).

StartTimeString

Starting time to search for status history

(format for this is HH24:MI).

EndTimeString

Ending Time to search for status history

(format for this is HH24:MI).

CallStatusCallStatusEnquiryReqCallStatusLimit the search to only a certain status.
SecStatusCallStatusEnquiryReqSecStatusLimit the search to only a certain secondary status MaxAttempt, Unassigned.



Pass Through Call to Dispatch's "Get Shipment Info" API

This RESTified API will perform a pass-through call to the Dispatch sub-system's "Get Shipment Info" API (when configured).

URL

PUT /up/v5/rest/dispatch/getShipmentInfo

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"Get Shipment Info" API.

GetShipmentInfo Object Format

{
	"Id": "0.616182638892496"
}

GetShipmentInfo Object Properties

PropertyTypeRequired?DescriptionDispatchField Mapping
IdstringNoPass through parameter to the Dispatch"Get Shipment Info" API. CallNo

HTTP Response

Success

On success, a JSON-formatted version of the Dispatch"Get Shipment Info" API response will be returned.

{
    "AckMsg": "OK",
	"WorkItemCount": "0"
}

Error

On error, a JSON-formatted version of the Dispatch"Get Shipment 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 DispatchError codes, individual API calls made have unique codes found on their individual pages.

Related content

Dispatch return codes
Dispatch return codes
Read with this
GetStatusEnquiry RESTified API
GetStatusEnquiry RESTified API
More like this
GetServicerNotes RESTified API
GetServicerNotes RESTified API
Read with this
GetStatusHistory RESTified API
GetStatusHistory RESTified API
More like this
GetNetworkAttributes RESTified API
GetNetworkAttributes RESTified API
Read with this
UpdateCallStatusInfo RESTified API
UpdateCallStatusInfo RESTified API
More like this