POST api/QuoteRequest
Use this function to obtain a rate quotation for a shipment. Submit your HttpRequestMessage in either XML or JSON format with content mapped as per the _RequestSubmitted/QuoteRequest structure defined in the Response Information documentation.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
QuoteResults
QuoteResults| Name | Description | Type | Additional information |
|---|---|---|---|
| _RequestSubmitted |
The HttpRequestMessage submitted with your API call will also be returned in this field. It must be submitted in either XML or JSON format in accordance with the [QuoteRequest] schema (drill-down for details): |
QuoteRequest |
None. |
| ErrorInfo |
This field will be empty (blank) if the API was processed successfully; a non-blank entry will document the nature of the error(s) encountered during processing. |
string |
None. |
| TariffCode |
Documents the Tariff Code used in the preparation of this quotation |
string |
None. |
| TariffVersion |
Represents the version of the tariff was used in preparation of this quotation |
integer |
None. |
| FromCity |
Shows the City from which the shipment originates |
string |
None. |
| FromState |
Shows the State from which the shipment originates |
string |
None. |
| FromZip |
Shows the zip code from which the shipment originates |
string |
None. |
| ToCity |
Shows the City in which the shipment terminates |
string |
None. |
| ToState |
Shows the State in which the shipment terminates |
string |
None. |
| ToZip |
Shows the zip code in which the shipment terminates |
string |
None. |
| PalletCount |
Shows the total pallet count on which this quotation was based |
integer |
None. |
| PieceCount |
Shows the total quantity (PCS, BOXES, TOTES, etc) on which this quotation was based |
integer |
None. |
| WeightTotal |
Shows the total weight of the shipment (in LBS) on which this quotation was based |
integer |
None. |
| Total |
Shows the total Quote amount for this shipment |
decimal number |
None. |
| QuoteNumber |
Documents the Quote Number (on File) for this rate quote |
integer |
None. |
| QuoteDetails |
Provides a list of priced line items, in support of the total amount quoted. (Drill-down for details) |
Collection of LineItem |
None. |
Response Formats
application/json, text/json
{
"_RequestSubmitted": {
"Logon": "sample string 1",
"Pass": "sample string 2",
"ShipFromCity": "sample string 3",
"ShipFromState": "sample string 4",
"ShipFromZip": "sample string 5",
"ShipToCity": "sample string 6",
"ShipToState": "sample string 7",
"ShipToZip": "sample string 8",
"PPDorCOL": "sample string 9",
"Inbound": "sample string 10",
"FreightList": [
{
"FreightDescription": "sample string 1",
"FreightClass": "sample string 2",
"Weight": 3,
"PalletCount": 4,
"PieceCount": 5,
"Length": 6,
"Height": 7,
"Width": 8,
"HazmatUNnumber": "sample string 9",
"HazmatClass": "sample string 10",
"HazmatPackingGroup": "sample string 11",
"HazmatProperName": "sample string 12"
},
{
"FreightDescription": "sample string 1",
"FreightClass": "sample string 2",
"Weight": 3,
"PalletCount": 4,
"PieceCount": 5,
"Length": 6,
"Height": 7,
"Width": 8,
"HazmatUNnumber": "sample string 9",
"HazmatClass": "sample string 10",
"HazmatPackingGroup": "sample string 11",
"HazmatProperName": "sample string 12"
}
],
"AccessorialList": [
{
"AccessorialCode": "sample string 1"
},
{
"AccessorialCode": "sample string 1"
}
],
"CODAmountInCents": 11
},
"ErrorInfo": "sample string 1",
"TariffCode": "sample string 2",
"TariffVersion": 3,
"FromCity": "sample string 4",
"FromState": "sample string 5",
"FromZip": "sample string 6",
"ToCity": "sample string 7",
"ToState": "sample string 8",
"ToZip": "sample string 9",
"PalletCount": 10,
"PieceCount": 11,
"WeightTotal": 12,
"Total": 13.0,
"QuoteNumber": 14,
"QuoteDetails": [
{
"Description": "sample string 1",
"Amount": 2.0
},
{
"Description": "sample string 1",
"Amount": 2.0
}
]
}
application/xml, text/xml
<QuoteResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DUBLAPI">
<ErrorInfo>sample string 1</ErrorInfo>
<FromCity>sample string 4</FromCity>
<FromState>sample string 5</FromState>
<FromZip>sample string 6</FromZip>
<PalletCount>10</PalletCount>
<PieceCount>11</PieceCount>
<QuoteDetails>
<LineItem>
<Amount>2</Amount>
<Description>sample string 1</Description>
</LineItem>
<LineItem>
<Amount>2</Amount>
<Description>sample string 1</Description>
</LineItem>
</QuoteDetails>
<QuoteNumber>14</QuoteNumber>
<TariffCode>sample string 2</TariffCode>
<TariffVersion>3</TariffVersion>
<ToCity>sample string 7</ToCity>
<ToState>sample string 8</ToState>
<ToZip>sample string 9</ToZip>
<Total>13</Total>
<WeightTotal>12</WeightTotal>
<_RequestSubmitted>
<AccessorialList>
<Accessorial>
<AccessorialCode>sample string 1</AccessorialCode>
</Accessorial>
<Accessorial>
<AccessorialCode>sample string 1</AccessorialCode>
</Accessorial>
</AccessorialList>
<CODAmountInCents>11</CODAmountInCents>
<FreightList>
<FreightDetail>
<FreightClass>sample string 2</FreightClass>
<FreightDescription>sample string 1</FreightDescription>
<HazmatClass>sample string 10</HazmatClass>
<HazmatPackingGroup>sample string 11</HazmatPackingGroup>
<HazmatProperName>sample string 12</HazmatProperName>
<HazmatUNnumber>sample string 9</HazmatUNnumber>
<Height>7</Height>
<Length>6</Length>
<PalletCount>4</PalletCount>
<PieceCount>5</PieceCount>
<Weight>3</Weight>
<Width>8</Width>
</FreightDetail>
<FreightDetail>
<FreightClass>sample string 2</FreightClass>
<FreightDescription>sample string 1</FreightDescription>
<HazmatClass>sample string 10</HazmatClass>
<HazmatPackingGroup>sample string 11</HazmatPackingGroup>
<HazmatProperName>sample string 12</HazmatProperName>
<HazmatUNnumber>sample string 9</HazmatUNnumber>
<Height>7</Height>
<Length>6</Length>
<PalletCount>4</PalletCount>
<PieceCount>5</PieceCount>
<Weight>3</Weight>
<Width>8</Width>
</FreightDetail>
</FreightList>
<Inbound>sample string 10</Inbound>
<Logon>sample string 1</Logon>
<PPDorCOL>sample string 9</PPDorCOL>
<Pass>sample string 2</Pass>
<ShipFromCity>sample string 3</ShipFromCity>
<ShipFromState>sample string 4</ShipFromState>
<ShipFromZip>sample string 5</ShipFromZip>
<ShipToCity>sample string 6</ShipToCity>
<ShipToState>sample string 7</ShipToState>
<ShipToZip>sample string 8</ShipToZip>
</_RequestSubmitted>
</QuoteResults>