POST forms/submitQuote

Request Information

URI Parameters

None.

Body Parameters

QuoteForm
NameDescriptionTypeAdditional information
Shipper

QuoteParty

None.

Recipient

QuoteParty

None.

ThirdParty

QuoteParty

None.

Contact

QuoteContact

None.

ServicePaymentHandling

QuoteServicePaymentHandling

None.

LineItems

QuoteLineItems

None.

Request Formats

application/json, text/json

Sample:
{
  "Shipper": {
    "Name": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7"
  },
  "Recipient": {
    "Name": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7"
  },
  "ThirdParty": {
    "Name": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7"
  },
  "Contact": {
    "Name": "sample string 1",
    "Phone": "sample string 2",
    "Fax": "sample string 3",
    "Email": "sample string 4"
  },
  "ServicePaymentHandling": {
    "DomInt": "sample string 1",
    "PayType": "sample string 2",
    "SpecialInstructions": "sample string 3",
    "Platinum": true,
    "COD": "sample string 5",
    "Liability": true,
    "Hazmat": true,
    "HomeDelivery": true,
    "Services": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "LineItems": {
    "Description": "sample string 1",
    "Value": "sample string 2",
    "Weight": "sample string 3",
    "DimType": "sample string 4",
    "LineItems": [
      {
        "Pieces": "sample string 1",
        "Length": "sample string 2",
        "Width": "sample string 3",
        "Height": "sample string 4"
      },
      {
        "Pieces": "sample string 1",
        "Length": "sample string 2",
        "Width": "sample string 3",
        "Height": "sample string 4"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<QuoteForm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Shipper>
    <Name>sample string 1</Name>
    <Address1>sample string 2</Address1>
    <Address2>sample string 3</Address2>
    <City>sample string 4</City>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
    <Country>sample string 7</Country>
  </Shipper>
  <Recipient>
    <Name>sample string 1</Name>
    <Address1>sample string 2</Address1>
    <Address2>sample string 3</Address2>
    <City>sample string 4</City>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
    <Country>sample string 7</Country>
  </Recipient>
  <ThirdParty>
    <Name>sample string 1</Name>
    <Address1>sample string 2</Address1>
    <Address2>sample string 3</Address2>
    <City>sample string 4</City>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
    <Country>sample string 7</Country>
  </ThirdParty>
  <Contact>
    <Name>sample string 1</Name>
    <Phone>sample string 2</Phone>
    <Fax>sample string 3</Fax>
    <Email>sample string 4</Email>
  </Contact>
  <ServicePaymentHandling>
    <DomInt>sample string 1</DomInt>
    <PayType>sample string 2</PayType>
    <SpecialInstructions>sample string 3</SpecialInstructions>
    <Platinum>true</Platinum>
    <COD>sample string 5</COD>
    <Liability>true</Liability>
    <Hazmat>true</Hazmat>
    <HomeDelivery>true</HomeDelivery>
    <Services>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </Services>
  </ServicePaymentHandling>
  <LineItems>
    <Description>sample string 1</Description>
    <Value>sample string 2</Value>
    <Weight>sample string 3</Weight>
    <DimType>sample string 4</DimType>
    <LineItems>
      <QuoteLineItem>
        <Pieces>sample string 1</Pieces>
        <Length>sample string 2</Length>
        <Width>sample string 3</Width>
        <Height>sample string 4</Height>
      </QuoteLineItem>
      <QuoteLineItem>
        <Pieces>sample string 1</Pieces>
        <Length>sample string 2</Length>
        <Width>sample string 3</Width>
        <Height>sample string 4</Height>
      </QuoteLineItem>
    </LineItems>
  </LineItems>
</QuoteForm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PilotWWWResult
NameDescriptionTypeAdditional information
IsError

boolean

None.

Result

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsError": true,
  "Result": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<PilotWWWResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsError>true</IsError>
  <Result>true</Result>
  <Message>sample string 3</Message>
</PilotWWWResult>