Get Order Metadata

 

This method returns the metadata for a specified order.

 

HTTP Verb/Method:

GET 

URL Format:

http://server/api/orders/{ID}

Returns:

The metadata for a specific order returns upon successful completion of this request (see the Request Return section below).

An error is returned if the order metadata cannot be found.

 

The following table lists the parameter available for this method request.

 

Parameter

Description

ID

Enter the primary key (Orders.PriKey) or the Order Number (Orders.OrderNo) of the requested MoversSuite order. 

 

Request Return

By default, metadata is returned in JSON format as follows:

 

{

    "Agents": [{

        "AgentID": "U0244",

        "AgentType": "Booking"

    }, {

        "AgentID": "U0491",

        "AgentType": "Destination"

    }],

    "FirstName": "John",

    "LastName": "Miller",

    "Military": {

        "GBLNumber": "AB321789"

    },

    "OrderID": 35124,

    "OrderNumber": "U244-18319-2- - - ",

    "OrderSeg": "244-18319-2",

    "PONumber": "04982"

}

 

The following table describes the metadata returned by this method.

 

Parameter

Description

Agents

The agent ID and type will display for each affiliated agent (either “Booking” or “Destination”). 

The agent of the order is managed through the Agents tab.

FirstName

The First Name/MI of the shipper name (from Name, Address, Phone tab) is returned.

LastName

The Last Name/Company Name of the shipper name (from Name, Address, Phone tab) is returned.

Military

The GBL Number assigned to the order (from Military/Government tab) is returned through this property.

OrderID

This is the primary key of the order record (Orders.PriKey).

OrderNumber

This property contains the full Order Number for this order.

OrderSeq

Returned in this property is the sequence number portion of the Order Number.

PONumber

The Purchase Order Number (from Billing Information tab) associated to the order is returned.