PensRater
Click here for a complete list of operations.
CreatePensRateQuote
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/pensrater.asmx HTTP/1.1 Host: classicapi.peninsulatruck.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://peninsulatruck.com/WebServices/CreatePensRateQuote" <?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> <CreatePensRateQuote xmlns="http://peninsulatruck.com/WebServices"> <userId>string</userId> <password>string</password> <account>string</account> <customerType>string</customerType> <originZip>string</originZip> <destinationZip>string</destinationZip> <classList>string</classList> <weightList>string</weightList> <pltCountList>string</pltCountList> <pltLengthList>string</pltLengthList> <pltWidthList>string</pltWidthList> <pltTotalWeight>string</pltTotalWeight> <accessorialList>string</accessorialList> <nonePalletizedMode>string</nonePalletizedMode> </CreatePensRateQuote> </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> <CreatePensRateQuoteResponse xmlns="http://peninsulatruck.com/WebServices"> <CreatePensRateQuoteResult> <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> <pensMovePoint xsi:nil="true" /> <pensMovePoint xsi:nil="true" /> </movePoints> <rateDetail> <pensRateItem xsi:nil="true" /> <pensRateItem xsi:nil="true" /> </rateDetail> <accessorialDetail> <AccessorialItem xsi:nil="true" /> <AccessorialItem xsi:nil="true" /> </accessorialDetail> <overWeight>string</overWeight> <overWeightChg>string</overWeightChg> <remark>string</remark> <overSize>string</overSize> <overSizeDim>string</overSizeDim> <overSizeChg>string</overSizeChg> <totalWeight>string</totalWeight> <discountPercent>string</discountPercent> <fscPercent>string</fscPercent> <asWeight>string</asWeight> <codAmount>string</codAmount> <serviceType>string</serviceType> <transit>string</transit> <transitType>string</transitType> <transitTime> <pensTransitItem xsi:nil="true" /> <pensTransitItem xsi:nil="true" /> </transitTime> <quoteRemark> <remarkItem xsi:nil="true" /> <remarkItem xsi:nil="true" /> </quoteRemark> </quote> <errors> <number>string</number> <message>string</message> </errors> </CreatePensRateQuoteResult> </CreatePensRateQuoteResponse> </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/pensrater.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> <CreatePensRateQuote xmlns="http://peninsulatruck.com/WebServices"> <userId>string</userId> <password>string</password> <account>string</account> <customerType>string</customerType> <originZip>string</originZip> <destinationZip>string</destinationZip> <classList>string</classList> <weightList>string</weightList> <pltCountList>string</pltCountList> <pltLengthList>string</pltLengthList> <pltWidthList>string</pltWidthList> <pltTotalWeight>string</pltTotalWeight> <accessorialList>string</accessorialList> <nonePalletizedMode>string</nonePalletizedMode> </CreatePensRateQuote> </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> <CreatePensRateQuoteResponse xmlns="http://peninsulatruck.com/WebServices"> <CreatePensRateQuoteResult> <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> <pensMovePoint xsi:nil="true" /> <pensMovePoint xsi:nil="true" /> </movePoints> <rateDetail> <pensRateItem xsi:nil="true" /> <pensRateItem xsi:nil="true" /> </rateDetail> <accessorialDetail> <AccessorialItem xsi:nil="true" /> <AccessorialItem xsi:nil="true" /> </accessorialDetail> <overWeight>string</overWeight> <overWeightChg>string</overWeightChg> <remark>string</remark> <overSize>string</overSize> <overSizeDim>string</overSizeDim> <overSizeChg>string</overSizeChg> <totalWeight>string</totalWeight> <discountPercent>string</discountPercent> <fscPercent>string</fscPercent> <asWeight>string</asWeight> <codAmount>string</codAmount> <serviceType>string</serviceType> <transit>string</transit> <transitType>string</transitType> <transitTime> <pensTransitItem xsi:nil="true" /> <pensTransitItem xsi:nil="true" /> </transitTime> <quoteRemark> <remarkItem xsi:nil="true" /> <remarkItem xsi:nil="true" /> </quoteRemark> </quote> <errors> <number>string</number> <message>string</message> </errors> </CreatePensRateQuoteResult> </CreatePensRateQuoteResponse> </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/pensrater.asmx/CreatePensRateQuote?userId=string&password=string&account=string&customerType=string&originZip=string&destinationZip=string&classList=string&weightList=string&pltCountList=string&pltLengthList=string&pltWidthList=string&pltTotalWeight=string&accessorialList=string&nonePalletizedMode=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"?> <pensRateQuote 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> <pensMovePoint> <pointType>string</pointType> <pointCity>string</pointCity> <state>string</state> <zipCode>string</zipCode> <terminalId>string</terminalId> <terminalName>string</terminalName> <terminalNumber>string</terminalNumber> <remark>string</remark> </pensMovePoint> <pensMovePoint> <pointType>string</pointType> <pointCity>string</pointCity> <state>string</state> <zipCode>string</zipCode> <terminalId>string</terminalId> <terminalName>string</terminalName> <terminalNumber>string</terminalNumber> <remark>string</remark> </pensMovePoint> </movePoints> <rateDetail> <pensRateItem> <itemDesc>string</itemDesc> <freightClass>string</freightClass> <weight>string</weight> <rate>string</rate> <amount>string</amount> </pensRateItem> <pensRateItem> <itemDesc>string</itemDesc> <freightClass>string</freightClass> <weight>string</weight> <rate>string</rate> <amount>string</amount> </pensRateItem> </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> <overWeight>string</overWeight> <overWeightChg>string</overWeightChg> <remark>string</remark> <overSize>string</overSize> <overSizeDim>string</overSizeDim> <overSizeChg>string</overSizeChg> <totalWeight>string</totalWeight> <discountPercent>string</discountPercent> <fscPercent>string</fscPercent> <asWeight>string</asWeight> <codAmount>string</codAmount> <serviceType>string</serviceType> <transit>string</transit> <transitType>string</transitType> <transitTime> <pensTransitItem> <pickupDay>string</pickupDay> <deliveryDay>string</deliveryDay> <numberDay>string</numberDay> </pensTransitItem> <pensTransitItem> <pickupDay>string</pickupDay> <deliveryDay>string</deliveryDay> <numberDay>string</numberDay> </pensTransitItem> </transitTime> <quoteRemark> <remarkItem> <remark>string</remark> </remarkItem> <remarkItem> <remark>string</remark> </remarkItem> </quoteRemark> </quote> <errors> <number>string</number> <message>string</message> </errors> </pensRateQuote>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/pensrater.asmx/CreatePensRateQuote HTTP/1.1 Host: classicapi.peninsulatruck.com Content-Type: application/x-www-form-urlencoded Content-Length: length userId=string&password=string&account=string&customerType=string&originZip=string&destinationZip=string&classList=string&weightList=string&pltCountList=string&pltLengthList=string&pltWidthList=string&pltTotalWeight=string&accessorialList=string&nonePalletizedMode=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <pensRateQuote 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> <pensMovePoint> <pointType>string</pointType> <pointCity>string</pointCity> <state>string</state> <zipCode>string</zipCode> <terminalId>string</terminalId> <terminalName>string</terminalName> <terminalNumber>string</terminalNumber> <remark>string</remark> </pensMovePoint> <pensMovePoint> <pointType>string</pointType> <pointCity>string</pointCity> <state>string</state> <zipCode>string</zipCode> <terminalId>string</terminalId> <terminalName>string</terminalName> <terminalNumber>string</terminalNumber> <remark>string</remark> </pensMovePoint> </movePoints> <rateDetail> <pensRateItem> <itemDesc>string</itemDesc> <freightClass>string</freightClass> <weight>string</weight> <rate>string</rate> <amount>string</amount> </pensRateItem> <pensRateItem> <itemDesc>string</itemDesc> <freightClass>string</freightClass> <weight>string</weight> <rate>string</rate> <amount>string</amount> </pensRateItem> </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> <overWeight>string</overWeight> <overWeightChg>string</overWeightChg> <remark>string</remark> <overSize>string</overSize> <overSizeDim>string</overSizeDim> <overSizeChg>string</overSizeChg> <totalWeight>string</totalWeight> <discountPercent>string</discountPercent> <fscPercent>string</fscPercent> <asWeight>string</asWeight> <codAmount>string</codAmount> <serviceType>string</serviceType> <transit>string</transit> <transitType>string</transitType> <transitTime> <pensTransitItem> <pickupDay>string</pickupDay> <deliveryDay>string</deliveryDay> <numberDay>string</numberDay> </pensTransitItem> <pensTransitItem> <pickupDay>string</pickupDay> <deliveryDay>string</deliveryDay> <numberDay>string</numberDay> </pensTransitItem> </transitTime> <quoteRemark> <remarkItem> <remark>string</remark> </remarkItem> <remarkItem> <remark>string</remark> </remarkItem> </quoteRemark> </quote> <errors> <number>string</number> <message>string</message> </errors> </pensRateQuote>