RateQuote


Click here for a complete list of operations.

GetRateQuote

Retieve rate quote by passing in parameters

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Username:
Password:
OriginZipCode:
DestinationZipCode:
CustomerType:
PrepaidOrCollect:
Class1:
Weight1:
Class2:
Weight2:
Class3:
Weight3:
Class4:
Weight4:
Class5:
Weight5:
Class6:
Weight6:
CustomerNumber:
QuoteNumber:
CallBeforeDelivery:
NonCommercialPickup:
NonCommercialDelivery:
InsidePickup:
InsideDelivery:
ExtremeLength:
LiftgatePickup:
LiftgateDelivery:
HazardousMaterial:
ArbitraryCharge:
SingleShipment:
ExcessValue:
CODAmount:
NumberOfPallets:
TestMode:
FullCapacityLoad:
Over750Under6:
Over21LinearFeet:
ConstructionDelivery:
FirstGroundGuaranteeBy_10_30AM_Interstate:
FirstGroundGuaranteeBy_05_00PM_Interstate:
FirstGroundGuaranteeBy_10_30AM_Intrastate:
FirstGroundGuaranteeBy_05_00PM_Intrastate:

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 /cflRateQuote/rateQuote.asmx HTTP/1.1
Host: www.centralfreight.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.centralfreight.com/cflRateQuote/rateQuote.asmx/GetRateQuote"

<?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>
    <GetRateQuote xmlns="http://www.centralfreight.com/cflRateQuote/rateQuote.asmx">
      <Username>string</Username>
      <Password>string</Password>
      <OriginZipCode>int</OriginZipCode>
      <DestinationZipCode>int</DestinationZipCode>
      <CustomerType>string</CustomerType>
      <PrepaidOrCollect>string</PrepaidOrCollect>
      <Class1>int</Class1>
      <Weight1>int</Weight1>
      <Class2>int</Class2>
      <Weight2>int</Weight2>
      <Class3>int</Class3>
      <Weight3>int</Weight3>
      <Class4>int</Class4>
      <Weight4>int</Weight4>
      <Class5>int</Class5>
      <Weight5>int</Weight5>
      <Class6>int</Class6>
      <Weight6>int</Weight6>
      <CustomerNumber>string</CustomerNumber>
      <QuoteNumber>int</QuoteNumber>
      <CallBeforeDelivery>boolean</CallBeforeDelivery>
      <NonCommercialPickup>boolean</NonCommercialPickup>
      <NonCommercialDelivery>boolean</NonCommercialDelivery>
      <InsidePickup>boolean</InsidePickup>
      <InsideDelivery>boolean</InsideDelivery>
      <ExtremeLength>boolean</ExtremeLength>
      <LiftgatePickup>boolean</LiftgatePickup>
      <LiftgateDelivery>boolean</LiftgateDelivery>
      <HazardousMaterial>boolean</HazardousMaterial>
      <ArbitraryCharge>boolean</ArbitraryCharge>
      <SingleShipment>boolean</SingleShipment>
      <ExcessValue>double</ExcessValue>
      <CODAmount>double</CODAmount>
      <NumberOfPallets>int</NumberOfPallets>
      <TestMode>boolean</TestMode>
      <FullCapacityLoad>boolean</FullCapacityLoad>
      <Over750Under6>boolean</Over750Under6>
      <Over21LinearFeet>boolean</Over21LinearFeet>
      <ConstructionDelivery>boolean</ConstructionDelivery>
      <FirstGroundGuaranteeBy_10_30AM_Interstate>boolean</FirstGroundGuaranteeBy_10_30AM_Interstate>
      <FirstGroundGuaranteeBy_05_00PM_Interstate>boolean</FirstGroundGuaranteeBy_05_00PM_Interstate>
      <FirstGroundGuaranteeBy_10_30AM_Intrastate>boolean</FirstGroundGuaranteeBy_10_30AM_Intrastate>
      <FirstGroundGuaranteeBy_05_00PM_Intrastate>boolean</FirstGroundGuaranteeBy_05_00PM_Intrastate>
    </GetRateQuote>
  </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>
    <GetRateQuoteResponse xmlns="http://www.centralfreight.com/cflRateQuote/rateQuote.asmx">
      <GetRateQuoteResult>xml</GetRateQuoteResult>
    </GetRateQuoteResponse>
  </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 /cflRateQuote/rateQuote.asmx HTTP/1.1
Host: www.centralfreight.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>
    <GetRateQuote xmlns="http://www.centralfreight.com/cflRateQuote/rateQuote.asmx">
      <Username>string</Username>
      <Password>string</Password>
      <OriginZipCode>int</OriginZipCode>
      <DestinationZipCode>int</DestinationZipCode>
      <CustomerType>string</CustomerType>
      <PrepaidOrCollect>string</PrepaidOrCollect>
      <Class1>int</Class1>
      <Weight1>int</Weight1>
      <Class2>int</Class2>
      <Weight2>int</Weight2>
      <Class3>int</Class3>
      <Weight3>int</Weight3>
      <Class4>int</Class4>
      <Weight4>int</Weight4>
      <Class5>int</Class5>
      <Weight5>int</Weight5>
      <Class6>int</Class6>
      <Weight6>int</Weight6>
      <CustomerNumber>string</CustomerNumber>
      <QuoteNumber>int</QuoteNumber>
      <CallBeforeDelivery>boolean</CallBeforeDelivery>
      <NonCommercialPickup>boolean</NonCommercialPickup>
      <NonCommercialDelivery>boolean</NonCommercialDelivery>
      <InsidePickup>boolean</InsidePickup>
      <InsideDelivery>boolean</InsideDelivery>
      <ExtremeLength>boolean</ExtremeLength>
      <LiftgatePickup>boolean</LiftgatePickup>
      <LiftgateDelivery>boolean</LiftgateDelivery>
      <HazardousMaterial>boolean</HazardousMaterial>
      <ArbitraryCharge>boolean</ArbitraryCharge>
      <SingleShipment>boolean</SingleShipment>
      <ExcessValue>double</ExcessValue>
      <CODAmount>double</CODAmount>
      <NumberOfPallets>int</NumberOfPallets>
      <TestMode>boolean</TestMode>
      <FullCapacityLoad>boolean</FullCapacityLoad>
      <Over750Under6>boolean</Over750Under6>
      <Over21LinearFeet>boolean</Over21LinearFeet>
      <ConstructionDelivery>boolean</ConstructionDelivery>
      <FirstGroundGuaranteeBy_10_30AM_Interstate>boolean</FirstGroundGuaranteeBy_10_30AM_Interstate>
      <FirstGroundGuaranteeBy_05_00PM_Interstate>boolean</FirstGroundGuaranteeBy_05_00PM_Interstate>
      <FirstGroundGuaranteeBy_10_30AM_Intrastate>boolean</FirstGroundGuaranteeBy_10_30AM_Intrastate>
      <FirstGroundGuaranteeBy_05_00PM_Intrastate>boolean</FirstGroundGuaranteeBy_05_00PM_Intrastate>
    </GetRateQuote>
  </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>
    <GetRateQuoteResponse xmlns="http://www.centralfreight.com/cflRateQuote/rateQuote.asmx">
      <GetRateQuoteResult>xml</GetRateQuoteResult>
    </GetRateQuoteResponse>
  </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 /cflRateQuote/rateQuote.asmx/GetRateQuote?Username=string&Password=string&OriginZipCode=string&DestinationZipCode=string&CustomerType=string&PrepaidOrCollect=string&Class1=string&Weight1=string&Class2=string&Weight2=string&Class3=string&Weight3=string&Class4=string&Weight4=string&Class5=string&Weight5=string&Class6=string&Weight6=string&CustomerNumber=string&QuoteNumber=string&CallBeforeDelivery=string&NonCommercialPickup=string&NonCommercialDelivery=string&InsidePickup=string&InsideDelivery=string&ExtremeLength=string&LiftgatePickup=string&LiftgateDelivery=string&HazardousMaterial=string&ArbitraryCharge=string&SingleShipment=string&ExcessValue=string&CODAmount=string&NumberOfPallets=string&TestMode=string&FullCapacityLoad=string&Over750Under6=string&Over21LinearFeet=string&ConstructionDelivery=string&FirstGroundGuaranteeBy_10_30AM_Interstate=string&FirstGroundGuaranteeBy_05_00PM_Interstate=string&FirstGroundGuaranteeBy_10_30AM_Intrastate=string&FirstGroundGuaranteeBy_05_00PM_Intrastate=string HTTP/1.1
Host: www.centralfreight.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

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

POST /cflRateQuote/rateQuote.asmx/GetRateQuote HTTP/1.1
Host: www.centralfreight.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Username=string&Password=string&OriginZipCode=string&DestinationZipCode=string&CustomerType=string&PrepaidOrCollect=string&Class1=string&Weight1=string&Class2=string&Weight2=string&Class3=string&Weight3=string&Class4=string&Weight4=string&Class5=string&Weight5=string&Class6=string&Weight6=string&CustomerNumber=string&QuoteNumber=string&CallBeforeDelivery=string&NonCommercialPickup=string&NonCommercialDelivery=string&InsidePickup=string&InsideDelivery=string&ExtremeLength=string&LiftgatePickup=string&LiftgateDelivery=string&HazardousMaterial=string&ArbitraryCharge=string&SingleShipment=string&ExcessValue=string&CODAmount=string&NumberOfPallets=string&TestMode=string&FullCapacityLoad=string&Over750Under6=string&Over21LinearFeet=string&ConstructionDelivery=string&FirstGroundGuaranteeBy_10_30AM_Interstate=string&FirstGroundGuaranteeBy_05_00PM_Interstate=string&FirstGroundGuaranteeBy_10_30AM_Intrastate=string&FirstGroundGuaranteeBy_05_00PM_Intrastate=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml