Rater


Click here for a complete list of operations.

CreateQuote

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userId:
password:
account:
origZip:
destZip:
classList:
weightList:
accessorialList:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/rater.asmx HTTP/1.1
Host: classicapi.peninsulatruck.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://peninsulatruck.com/WebServices/CreateQuote"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CreateQuote xmlns="http://peninsulatruck.com/WebServices/">
      <userId>string</userId>
      <password>string</password>
      <account>string</account>
      <origZip>string</origZip>
      <destZip>string</destZip>
      <classList>string</classList>
      <weightList>string</weightList>
      <accessorialList>string</accessorialList>
    </CreateQuote>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CreateQuoteResponse xmlns="http://peninsulatruck.com/WebServices/">
      <CreateQuoteResult>
        <quote>
          <quoteNumber>string</quoteNumber>
          <quoteDate>string</quoteDate>
          <quoteExpirationDate>string</quoteExpirationDate>
          <accountNumber>string</accountNumber>
          <grossCharge>string</grossCharge>
          <discountAmount>string</discountAmount>
          <accessorialAmount>string</accessorialAmount>
          <fscAmount>string</fscAmount>
          <totalCharge>string</totalCharge>
          <gsNoonAmount>string</gsNoonAmount>
          <gsAmAmount>string</gsAmAmount>
          <movePoints>
            <MovePoint xsi:nil="true" />
            <MovePoint xsi:nil="true" />
          </movePoints>
          <rateDetail>
            <RateItem xsi:nil="true" />
            <RateItem xsi:nil="true" />
          </rateDetail>
          <accessorialDetail>
            <AccessorialItem xsi:nil="true" />
            <AccessorialItem xsi:nil="true" />
          </accessorialDetail>
          <totalWeight>string</totalWeight>
          <discountPercent>string</discountPercent>
          <fscPercent>string</fscPercent>
          <asWeight>string</asWeight>
          <codAmount>string</codAmount>
          <serviceType>string</serviceType>
          <transitTime>
            <TransitItem xsi:nil="true" />
            <TransitItem xsi:nil="true" />
          </transitTime>
        </quote>
        <errors>
          <number>string</number>
          <message>string</message>
        </errors>
      </CreateQuoteResult>
    </CreateQuoteResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/rater.asmx HTTP/1.1
Host: classicapi.peninsulatruck.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateQuote xmlns="http://peninsulatruck.com/WebServices/">
      <userId>string</userId>
      <password>string</password>
      <account>string</account>
      <origZip>string</origZip>
      <destZip>string</destZip>
      <classList>string</classList>
      <weightList>string</weightList>
      <accessorialList>string</accessorialList>
    </CreateQuote>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateQuoteResponse xmlns="http://peninsulatruck.com/WebServices/">
      <CreateQuoteResult>
        <quote>
          <quoteNumber>string</quoteNumber>
          <quoteDate>string</quoteDate>
          <quoteExpirationDate>string</quoteExpirationDate>
          <accountNumber>string</accountNumber>
          <grossCharge>string</grossCharge>
          <discountAmount>string</discountAmount>
          <accessorialAmount>string</accessorialAmount>
          <fscAmount>string</fscAmount>
          <totalCharge>string</totalCharge>
          <gsNoonAmount>string</gsNoonAmount>
          <gsAmAmount>string</gsAmAmount>
          <movePoints>
            <MovePoint xsi:nil="true" />
            <MovePoint xsi:nil="true" />
          </movePoints>
          <rateDetail>
            <RateItem xsi:nil="true" />
            <RateItem xsi:nil="true" />
          </rateDetail>
          <accessorialDetail>
            <AccessorialItem xsi:nil="true" />
            <AccessorialItem xsi:nil="true" />
          </accessorialDetail>
          <totalWeight>string</totalWeight>
          <discountPercent>string</discountPercent>
          <fscPercent>string</fscPercent>
          <asWeight>string</asWeight>
          <codAmount>string</codAmount>
          <serviceType>string</serviceType>
          <transitTime>
            <TransitItem xsi:nil="true" />
            <TransitItem xsi:nil="true" />
          </transitTime>
        </quote>
        <errors>
          <number>string</number>
          <message>string</message>
        </errors>
      </CreateQuoteResult>
    </CreateQuoteResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /webservices/rater.asmx/CreateQuote?userId=string&password=string&account=string&origZip=string&destZip=string&classList=string&weightList=string&accessorialList=string HTTP/1.1
Host: classicapi.peninsulatruck.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<rateQuote xmlns="http://peninsulatruck.com/WebServices/">
  <quote>
    <quoteNumber>string</quoteNumber>
    <quoteDate>string</quoteDate>
    <quoteExpirationDate>string</quoteExpirationDate>
    <accountNumber>string</accountNumber>
    <grossCharge>string</grossCharge>
    <discountAmount>string</discountAmount>
    <accessorialAmount>string</accessorialAmount>
    <fscAmount>string</fscAmount>
    <totalCharge>string</totalCharge>
    <gsNoonAmount>string</gsNoonAmount>
    <gsAmAmount>string</gsAmAmount>
    <movePoints>
      <MovePoint>
        <pointType>string</pointType>
        <pointCity>string</pointCity>
        <state>string</state>
        <zipCode>string</zipCode>
        <terminalId>string</terminalId>
        <terminalName>string</terminalName>
        <terminalNumber>string</terminalNumber>
      </MovePoint>
      <MovePoint>
        <pointType>string</pointType>
        <pointCity>string</pointCity>
        <state>string</state>
        <zipCode>string</zipCode>
        <terminalId>string</terminalId>
        <terminalName>string</terminalName>
        <terminalNumber>string</terminalNumber>
      </MovePoint>
    </movePoints>
    <rateDetail>
      <RateItem>
        <freightClass>string</freightClass>
        <weight>string</weight>
        <rate>string</rate>
        <amount>string</amount>
      </RateItem>
      <RateItem>
        <freightClass>string</freightClass>
        <weight>string</weight>
        <rate>string</rate>
        <amount>string</amount>
      </RateItem>
    </rateDetail>
    <accessorialDetail>
      <AccessorialItem>
        <code>string</code>
        <tariff>string</tariff>
        <description>string</description>
        <charge>string</charge>
      </AccessorialItem>
      <AccessorialItem>
        <code>string</code>
        <tariff>string</tariff>
        <description>string</description>
        <charge>string</charge>
      </AccessorialItem>
    </accessorialDetail>
    <totalWeight>string</totalWeight>
    <discountPercent>string</discountPercent>
    <fscPercent>string</fscPercent>
    <asWeight>string</asWeight>
    <codAmount>string</codAmount>
    <serviceType>string</serviceType>
    <transitTime>
      <TransitItem>
        <pickupDay>string</pickupDay>
        <deliveryDay>string</deliveryDay>
      </TransitItem>
      <TransitItem>
        <pickupDay>string</pickupDay>
        <deliveryDay>string</deliveryDay>
      </TransitItem>
    </transitTime>
  </quote>
  <errors>
    <number>string</number>
    <message>string</message>
  </errors>
</rateQuote>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/rater.asmx/CreateQuote HTTP/1.1
Host: classicapi.peninsulatruck.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userId=string&password=string&account=string&origZip=string&destZip=string&classList=string&weightList=string&accessorialList=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<rateQuote xmlns="http://peninsulatruck.com/WebServices/">
  <quote>
    <quoteNumber>string</quoteNumber>
    <quoteDate>string</quoteDate>
    <quoteExpirationDate>string</quoteExpirationDate>
    <accountNumber>string</accountNumber>
    <grossCharge>string</grossCharge>
    <discountAmount>string</discountAmount>
    <accessorialAmount>string</accessorialAmount>
    <fscAmount>string</fscAmount>
    <totalCharge>string</totalCharge>
    <gsNoonAmount>string</gsNoonAmount>
    <gsAmAmount>string</gsAmAmount>
    <movePoints>
      <MovePoint>
        <pointType>string</pointType>
        <pointCity>string</pointCity>
        <state>string</state>
        <zipCode>string</zipCode>
        <terminalId>string</terminalId>
        <terminalName>string</terminalName>
        <terminalNumber>string</terminalNumber>
      </MovePoint>
      <MovePoint>
        <pointType>string</pointType>
        <pointCity>string</pointCity>
        <state>string</state>
        <zipCode>string</zipCode>
        <terminalId>string</terminalId>
        <terminalName>string</terminalName>
        <terminalNumber>string</terminalNumber>
      </MovePoint>
    </movePoints>
    <rateDetail>
      <RateItem>
        <freightClass>string</freightClass>
        <weight>string</weight>
        <rate>string</rate>
        <amount>string</amount>
      </RateItem>
      <RateItem>
        <freightClass>string</freightClass>
        <weight>string</weight>
        <rate>string</rate>
        <amount>string</amount>
      </RateItem>
    </rateDetail>
    <accessorialDetail>
      <AccessorialItem>
        <code>string</code>
        <tariff>string</tariff>
        <description>string</description>
        <charge>string</charge>
      </AccessorialItem>
      <AccessorialItem>
        <code>string</code>
        <tariff>string</tariff>
        <description>string</description>
        <charge>string</charge>
      </AccessorialItem>
    </accessorialDetail>
    <totalWeight>string</totalWeight>
    <discountPercent>string</discountPercent>
    <fscPercent>string</fscPercent>
    <asWeight>string</asWeight>
    <codAmount>string</codAmount>
    <serviceType>string</serviceType>
    <transitTime>
      <TransitItem>
        <pickupDay>string</pickupDay>
        <deliveryDay>string</deliveryDay>
      </TransitItem>
      <TransitItem>
        <pickupDay>string</pickupDay>
        <deliveryDay>string</deliveryDay>
      </TransitItem>
    </transitTime>
  </quote>
  <errors>
    <number>string</number>
    <message>string</message>
  </errors>
</rateQuote>