Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space SBUD and version 5

Status
colourGreen
title5.4.0

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

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

On this page:

Table of Contents
maxLevel2

Related pages:

Resource URL Summary

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

Pass Through Call to ServiceBrokerto ServiceDispatch's "Get Shipment Info" API

PUT /up/v5/rest/dispatch/getShipmentInfo

Include Page
_Default HTTP Headers
_Default HTTP Headers


API Specifics

Panel
borderColor#D3D3D3

Pass Through Call

to ServiceBroker

to ServiceDispatch's "Get Shipment Info" API

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

URL

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

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 ServiceBroker the ServiceDispatch "Get Shipment Info" APiAPI.

GetShipmentInfo Object Format

Code Block
languagejs
{
	"Id": "0.616182638892496"
}

GetShipmentInfo Object Properties

PropertyTypeRequired?DescriptionServiceDispatch Field Mapping
IdstringNoPass through parameter to the ServiceDispatch "Get Shipment Info" API. CallNo

HTTP Response

Success

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

Code Block
languagejs
{
    "AckMsg": "OK",
	"WorkItemCount": "0"
}

Error

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

Code Block
languagejs
{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "message": "Dispatch Error Code"
        }
    }
}