RateQuoteService


Click here for a complete list of operations.

GetRateQuote

Gets a Rate Quote.

Test

The test form is only available for requests from the local machine.

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 /1.0.3/RateQuoteService.asmx HTTP/1.1
Host: api.rlcarriers.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.rlcarriers.com/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.rlcarriers.com/">
      <APIKey>string</APIKey>
      <request>
        <QuoteType>Domestic or AlaskaHawaii or International</QuoteType>
        <CODAmount>decimal</CODAmount>
        <Origin>
          <City>string</City>
          <StateOrProvince>string</StateOrProvince>
          <ZipOrPostalCode>string</ZipOrPostalCode>
          <CountryCode>string</CountryCode>
        </Origin>
        <Destination>
          <City>string</City>
          <StateOrProvince>string</StateOrProvince>
          <ZipOrPostalCode>string</ZipOrPostalCode>
          <CountryCode>string</CountryCode>
        </Destination>
        <Items>
          <Item>
            <Class>string</Class>
            <Weight>float</Weight>
            <Width>float</Width>
            <Height>float</Height>
            <Length>float</Length>
          </Item>
          <Item>
            <Class>string</Class>
            <Weight>float</Weight>
            <Width>float</Width>
            <Height>float</Height>
            <Length>float</Length>
          </Item>
        </Items>
        <DeclaredValue>decimal</DeclaredValue>
        <Accessorials>
          <RQAccessorial>InsideDelivery or ResidentialPickup or ResidentialDelivery or OriginLiftgate or DestinationLiftgate or DeliveryNotification or SortAndSegregate or Freezable or Hazmat or InsidePickup or LimitedAccessPickup or DockPickup or DockDelivery or AirportPickup or AirportDelivery or LimitedAccessDelivery or CubicFeet or KeepFromFreezing or DoorToDoor or COD or OverDimension</RQAccessorial>
          <RQAccessorial>InsideDelivery or ResidentialPickup or ResidentialDelivery or OriginLiftgate or DestinationLiftgate or DeliveryNotification or SortAndSegregate or Freezable or Hazmat or InsidePickup or LimitedAccessPickup or DockPickup or DockDelivery or AirportPickup or AirportDelivery or LimitedAccessDelivery or CubicFeet or KeepFromFreezing or DoorToDoor or COD or OverDimension</RQAccessorial>
        </Accessorials>
        <OverDimensionList>
          <OverDimension>
            <Pieces>int</Pieces>
            <Inches>int</Inches>
          </OverDimension>
          <OverDimension>
            <Pieces>int</Pieces>
            <Inches>int</Inches>
          </OverDimension>
        </OverDimensionList>
        <Pallets>
          <Pallet>
            <Code>string</Code>
            <Weight>int</Weight>
            <Quantity>int</Quantity>
          </Pallet>
          <Pallet>
            <Code>string</Code>
            <Weight>int</Weight>
            <Quantity>int</Quantity>
          </Pallet>
        </Pallets>
      </request>
    </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.rlcarriers.com/">
      <GetRateQuoteResult>
        <Result>
          <Origin>
            <City>string</City>
            <StateOrProvince>string</StateOrProvince>
            <ZipOrPostalCode>string</ZipOrPostalCode>
            <CountryCode>string</CountryCode>
          </Origin>
          <Destination>
            <City>string</City>
            <StateOrProvince>string</StateOrProvince>
            <ZipOrPostalCode>string</ZipOrPostalCode>
            <CountryCode>string</CountryCode>
          </Destination>
          <OriginServiceCenter>
            <Code>string</Code>
            <Location>string</Location>
            <ZipCode>string</ZipCode>
            <Phone>string</Phone>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
          </OriginServiceCenter>
          <DestinationServiceCenter>
            <Code>string</Code>
            <Location>string</Location>
            <ZipCode>string</ZipCode>
            <Phone>string</Phone>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
          </DestinationServiceCenter>
          <CustomerDiscounts>string</CustomerDiscounts>
          <Charges>
            <Charge xsi:nil="true" />
            <Charge xsi:nil="true" />
          </Charges>
          <Messages>
            <Message xsi:nil="true" />
            <Message xsi:nil="true" />
          </Messages>
          <ServiceLevels>
            <ServiceLevel xsi:nil="true" />
            <ServiceLevel xsi:nil="true" />
          </ServiceLevels>
        </Result>
      </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 /1.0.3/RateQuoteService.asmx HTTP/1.1
Host: api.rlcarriers.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.rlcarriers.com/">
      <APIKey>string</APIKey>
      <request>
        <QuoteType>Domestic or AlaskaHawaii or International</QuoteType>
        <CODAmount>decimal</CODAmount>
        <Origin>
          <City>string</City>
          <StateOrProvince>string</StateOrProvince>
          <ZipOrPostalCode>string</ZipOrPostalCode>
          <CountryCode>string</CountryCode>
        </Origin>
        <Destination>
          <City>string</City>
          <StateOrProvince>string</StateOrProvince>
          <ZipOrPostalCode>string</ZipOrPostalCode>
          <CountryCode>string</CountryCode>
        </Destination>
        <Items>
          <Item>
            <Class>string</Class>
            <Weight>float</Weight>
            <Width>float</Width>
            <Height>float</Height>
            <Length>float</Length>
          </Item>
          <Item>
            <Class>string</Class>
            <Weight>float</Weight>
            <Width>float</Width>
            <Height>float</Height>
            <Length>float</Length>
          </Item>
        </Items>
        <DeclaredValue>decimal</DeclaredValue>
        <Accessorials>
          <RQAccessorial>InsideDelivery or ResidentialPickup or ResidentialDelivery or OriginLiftgate or DestinationLiftgate or DeliveryNotification or SortAndSegregate or Freezable or Hazmat or InsidePickup or LimitedAccessPickup or DockPickup or DockDelivery or AirportPickup or AirportDelivery or LimitedAccessDelivery or CubicFeet or KeepFromFreezing or DoorToDoor or COD or OverDimension</RQAccessorial>
          <RQAccessorial>InsideDelivery or ResidentialPickup or ResidentialDelivery or OriginLiftgate or DestinationLiftgate or DeliveryNotification or SortAndSegregate or Freezable or Hazmat or InsidePickup or LimitedAccessPickup or DockPickup or DockDelivery or AirportPickup or AirportDelivery or LimitedAccessDelivery or CubicFeet or KeepFromFreezing or DoorToDoor or COD or OverDimension</RQAccessorial>
        </Accessorials>
        <OverDimensionList>
          <OverDimension>
            <Pieces>int</Pieces>
            <Inches>int</Inches>
          </OverDimension>
          <OverDimension>
            <Pieces>int</Pieces>
            <Inches>int</Inches>
          </OverDimension>
        </OverDimensionList>
        <Pallets>
          <Pallet>
            <Code>string</Code>
            <Weight>int</Weight>
            <Quantity>int</Quantity>
          </Pallet>
          <Pallet>
            <Code>string</Code>
            <Weight>int</Weight>
            <Quantity>int</Quantity>
          </Pallet>
        </Pallets>
      </request>
    </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.rlcarriers.com/">
      <GetRateQuoteResult>
        <Result>
          <Origin>
            <City>string</City>
            <StateOrProvince>string</StateOrProvince>
            <ZipOrPostalCode>string</ZipOrPostalCode>
            <CountryCode>string</CountryCode>
          </Origin>
          <Destination>
            <City>string</City>
            <StateOrProvince>string</StateOrProvince>
            <ZipOrPostalCode>string</ZipOrPostalCode>
            <CountryCode>string</CountryCode>
          </Destination>
          <OriginServiceCenter>
            <Code>string</Code>
            <Location>string</Location>
            <ZipCode>string</ZipCode>
            <Phone>string</Phone>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
          </OriginServiceCenter>
          <DestinationServiceCenter>
            <Code>string</Code>
            <Location>string</Location>
            <ZipCode>string</ZipCode>
            <Phone>string</Phone>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
          </DestinationServiceCenter>
          <CustomerDiscounts>string</CustomerDiscounts>
          <Charges>
            <Charge xsi:nil="true" />
            <Charge xsi:nil="true" />
          </Charges>
          <Messages>
            <Message xsi:nil="true" />
            <Message xsi:nil="true" />
          </Messages>
          <ServiceLevels>
            <ServiceLevel xsi:nil="true" />
            <ServiceLevel xsi:nil="true" />
          </ServiceLevels>
        </Result>
      </GetRateQuoteResult>
    </GetRateQuoteResponse>
  </soap12:Body>
</soap12:Envelope>