CustomerTools


Click here for a complete list of operations.

Rating

Rate a shipment

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 /BTXWebServices/CustomerTools.asmx HTTP/1.1
Host: btxedi.btxair.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.btxair.com/BTXWebServices/Rating"

<?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>
    <Rating xmlns="http://www.btxair.com/BTXWebServices/">
      <CustomerID>guid</CustomerID>
      <ShipFrom>
        <Name>string</Name>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <Contact>string</Contact>
        <OpenTime>string</OpenTime>
        <ReadyTime>string</ReadyTime>
        <CloseTime>string</CloseTime>
        <Email>string</Email>
      </ShipFrom>
      <ShipTo>
        <Name>string</Name>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <Contact>string</Contact>
        <OpenTime>string</OpenTime>
        <ReadyTime>string</ReadyTime>
        <CloseTime>string</CloseTime>
        <Email>string</Email>
      </ShipTo>
      <FreightItems>
        <FreightItem>
          <Description>string</Description>
          <NmfcItemNum>string</NmfcItemNum>
          <NmfcSubNum>string</NmfcSubNum>
          <FreightClass>_0 or Exempt or NotTaken or _50 or _55 or _60 or _65 or _70 or _775 or _85 or _925 or _100 or _110 or _125 or _150 or _175 or _200 or _250 or _300 or _400 or _500</FreightClass>
          <IsHazMat>boolean</IsHazMat>
          <Length>double</Length>
          <Width>double</Width>
          <Height>double</Height>
          <Pieces>int</Pieces>
          <ExtActualWeight>double</ExtActualWeight>
          <WeightUnit>Pounds or Kilograms</WeightUnit>
          <DimUnit>inches or centimeters</DimUnit>
          <ContainerType>E or EH or EO or LD2 or LD3 or LD4 or LD5 or LD6 or LD7 or LD8 or LD9 or LD10 or LD11 or LDW or M1 or M2 or ULD or Carton or Drum or Other or Pallet or Reel or Skid or STANDARD20 or STANDARD40 or HIGHCUBE40 or OPENTOP20 or OPENTOP40 or REEFER20 or REEFER40 or FLATRACK20 or FLATRACK40 or FLATRACKCOLLAPSIBLE20 or FLATRACKCOLLAPSIBLE40 or PLATFORM20 or PLATFORM40 or GARMENTSTANDARD20 or GARMENTSTANDARD40 or INSULATEDSTANDARD20 or INSULATEDSTANDARD40 or INSULATEDHIGHCUBE40 or INSULATEDREEFER20 or INSULATEDREEFER40 or Tank or VehicleRack</ContainerType>
        </FreightItem>
        <FreightItem>
          <Description>string</Description>
          <NmfcItemNum>string</NmfcItemNum>
          <NmfcSubNum>string</NmfcSubNum>
          <FreightClass>_0 or Exempt or NotTaken or _50 or _55 or _60 or _65 or _70 or _775 or _85 or _925 or _100 or _110 or _125 or _150 or _175 or _200 or _250 or _300 or _400 or _500</FreightClass>
          <IsHazMat>boolean</IsHazMat>
          <Length>double</Length>
          <Width>double</Width>
          <Height>double</Height>
          <Pieces>int</Pieces>
          <ExtActualWeight>double</ExtActualWeight>
          <WeightUnit>Pounds or Kilograms</WeightUnit>
          <DimUnit>inches or centimeters</DimUnit>
          <ContainerType>E or EH or EO or LD2 or LD3 or LD4 or LD5 or LD6 or LD7 or LD8 or LD9 or LD10 or LD11 or LDW or M1 or M2 or ULD or Carton or Drum or Other or Pallet or Reel or Skid or STANDARD20 or STANDARD40 or HIGHCUBE40 or OPENTOP20 or OPENTOP40 or REEFER20 or REEFER40 or FLATRACK20 or FLATRACK40 or FLATRACKCOLLAPSIBLE20 or FLATRACKCOLLAPSIBLE40 or PLATFORM20 or PLATFORM40 or GARMENTSTANDARD20 or GARMENTSTANDARD40 or INSULATEDSTANDARD20 or INSULATEDSTANDARD40 or INSULATEDHIGHCUBE40 or INSULATEDREEFER20 or INSULATEDREEFER40 or Tank or VehicleRack</ContainerType>
        </FreightItem>
      </FreightItems>
      <Accessorials>
        <Accessorial>
          <ID>int</ID>
          <Description>string</Description>
          <Cost>double</Cost>
        </Accessorial>
        <Accessorial>
          <ID>int</ID>
          <Description>string</Description>
          <Cost>double</Cost>
        </Accessorial>
      </Accessorials>
      <ShipDate>string</ShipDate>
      <ShipmentSubType>Unknown or DomesticAir or GlobalAirImport or GlobalAirExport or GroundLTL or GroundTruckingService or Hotshot or SeaFreightImport or SeaFreightExport or TradeShow</ShipmentSubType>
      <ServiceType>NextFlightOut or SameDay or NextDay or NextDayAM or NextDayPM or TwoDay or ThreeDay or Economy35Day or Economy or Expedited or LessThanContainer or FullContainer or LessThanContainer2 or FullContainer2 or Economy2 or Economy3 or Express or Express2 or LessThanTruckload or FullTruckload or OverTheCounter or Hotshot or DeliveryDeadline or BreakBulk or BreakBulk2 or RoRo or RoRo2 or Project or Project2 or EconomyWhiteGlove or EconomyRoomChoice or EconomyB2B or EconomyWhiteGlove2 or EconomySpecial</ServiceType>
      <COD>decimal</COD>
      <DeclaredValue>decimal</DeclaredValue>
      <InsuranceValue>decimal</InsuranceValue>
    </Rating>
  </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>
    <RatingResponse xmlns="http://www.btxair.com/BTXWebServices/">
      <RatingResult>
        <Error>boolean</Error>
        <ErrorDescription>string</ErrorDescription>
        <QuoteNumber>string</QuoteNumber>
        <ShipmentType>string</ShipmentType>
        <ShipmentSubType>string</ShipmentSubType>
        <ServiceType>string</ServiceType>
        <ExpirationDate>string</ExpirationDate>
        <TotalCost>double</TotalCost>
        <Freight>double</Freight>
        <Fuel>double</Fuel>
        <AccessorialSubtotal>double</AccessorialSubtotal>
        <Accessorials>
          <Accessorial>
            <ID>int</ID>
            <Description>string</Description>
            <Cost>double</Cost>
          </Accessorial>
          <Accessorial>
            <ID>int</ID>
            <Description>string</Description>
            <Cost>double</Cost>
          </Accessorial>
        </Accessorials>
      </RatingResult>
    </RatingResponse>
  </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 /BTXWebServices/CustomerTools.asmx HTTP/1.1
Host: btxedi.btxair.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>
    <Rating xmlns="http://www.btxair.com/BTXWebServices/">
      <CustomerID>guid</CustomerID>
      <ShipFrom>
        <Name>string</Name>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <Contact>string</Contact>
        <OpenTime>string</OpenTime>
        <ReadyTime>string</ReadyTime>
        <CloseTime>string</CloseTime>
        <Email>string</Email>
      </ShipFrom>
      <ShipTo>
        <Name>string</Name>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <Contact>string</Contact>
        <OpenTime>string</OpenTime>
        <ReadyTime>string</ReadyTime>
        <CloseTime>string</CloseTime>
        <Email>string</Email>
      </ShipTo>
      <FreightItems>
        <FreightItem>
          <Description>string</Description>
          <NmfcItemNum>string</NmfcItemNum>
          <NmfcSubNum>string</NmfcSubNum>
          <FreightClass>_0 or Exempt or NotTaken or _50 or _55 or _60 or _65 or _70 or _775 or _85 or _925 or _100 or _110 or _125 or _150 or _175 or _200 or _250 or _300 or _400 or _500</FreightClass>
          <IsHazMat>boolean</IsHazMat>
          <Length>double</Length>
          <Width>double</Width>
          <Height>double</Height>
          <Pieces>int</Pieces>
          <ExtActualWeight>double</ExtActualWeight>
          <WeightUnit>Pounds or Kilograms</WeightUnit>
          <DimUnit>inches or centimeters</DimUnit>
          <ContainerType>E or EH or EO or LD2 or LD3 or LD4 or LD5 or LD6 or LD7 or LD8 or LD9 or LD10 or LD11 or LDW or M1 or M2 or ULD or Carton or Drum or Other or Pallet or Reel or Skid or STANDARD20 or STANDARD40 or HIGHCUBE40 or OPENTOP20 or OPENTOP40 or REEFER20 or REEFER40 or FLATRACK20 or FLATRACK40 or FLATRACKCOLLAPSIBLE20 or FLATRACKCOLLAPSIBLE40 or PLATFORM20 or PLATFORM40 or GARMENTSTANDARD20 or GARMENTSTANDARD40 or INSULATEDSTANDARD20 or INSULATEDSTANDARD40 or INSULATEDHIGHCUBE40 or INSULATEDREEFER20 or INSULATEDREEFER40 or Tank or VehicleRack</ContainerType>
        </FreightItem>
        <FreightItem>
          <Description>string</Description>
          <NmfcItemNum>string</NmfcItemNum>
          <NmfcSubNum>string</NmfcSubNum>
          <FreightClass>_0 or Exempt or NotTaken or _50 or _55 or _60 or _65 or _70 or _775 or _85 or _925 or _100 or _110 or _125 or _150 or _175 or _200 or _250 or _300 or _400 or _500</FreightClass>
          <IsHazMat>boolean</IsHazMat>
          <Length>double</Length>
          <Width>double</Width>
          <Height>double</Height>
          <Pieces>int</Pieces>
          <ExtActualWeight>double</ExtActualWeight>
          <WeightUnit>Pounds or Kilograms</WeightUnit>
          <DimUnit>inches or centimeters</DimUnit>
          <ContainerType>E or EH or EO or LD2 or LD3 or LD4 or LD5 or LD6 or LD7 or LD8 or LD9 or LD10 or LD11 or LDW or M1 or M2 or ULD or Carton or Drum or Other or Pallet or Reel or Skid or STANDARD20 or STANDARD40 or HIGHCUBE40 or OPENTOP20 or OPENTOP40 or REEFER20 or REEFER40 or FLATRACK20 or FLATRACK40 or FLATRACKCOLLAPSIBLE20 or FLATRACKCOLLAPSIBLE40 or PLATFORM20 or PLATFORM40 or GARMENTSTANDARD20 or GARMENTSTANDARD40 or INSULATEDSTANDARD20 or INSULATEDSTANDARD40 or INSULATEDHIGHCUBE40 or INSULATEDREEFER20 or INSULATEDREEFER40 or Tank or VehicleRack</ContainerType>
        </FreightItem>
      </FreightItems>
      <Accessorials>
        <Accessorial>
          <ID>int</ID>
          <Description>string</Description>
          <Cost>double</Cost>
        </Accessorial>
        <Accessorial>
          <ID>int</ID>
          <Description>string</Description>
          <Cost>double</Cost>
        </Accessorial>
      </Accessorials>
      <ShipDate>string</ShipDate>
      <ShipmentSubType>Unknown or DomesticAir or GlobalAirImport or GlobalAirExport or GroundLTL or GroundTruckingService or Hotshot or SeaFreightImport or SeaFreightExport or TradeShow</ShipmentSubType>
      <ServiceType>NextFlightOut or SameDay or NextDay or NextDayAM or NextDayPM or TwoDay or ThreeDay or Economy35Day or Economy or Expedited or LessThanContainer or FullContainer or LessThanContainer2 or FullContainer2 or Economy2 or Economy3 or Express or Express2 or LessThanTruckload or FullTruckload or OverTheCounter or Hotshot or DeliveryDeadline or BreakBulk or BreakBulk2 or RoRo or RoRo2 or Project or Project2 or EconomyWhiteGlove or EconomyRoomChoice or EconomyB2B or EconomyWhiteGlove2 or EconomySpecial</ServiceType>
      <COD>decimal</COD>
      <DeclaredValue>decimal</DeclaredValue>
      <InsuranceValue>decimal</InsuranceValue>
    </Rating>
  </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>
    <RatingResponse xmlns="http://www.btxair.com/BTXWebServices/">
      <RatingResult>
        <Error>boolean</Error>
        <ErrorDescription>string</ErrorDescription>
        <QuoteNumber>string</QuoteNumber>
        <ShipmentType>string</ShipmentType>
        <ShipmentSubType>string</ShipmentSubType>
        <ServiceType>string</ServiceType>
        <ExpirationDate>string</ExpirationDate>
        <TotalCost>double</TotalCost>
        <Freight>double</Freight>
        <Fuel>double</Fuel>
        <AccessorialSubtotal>double</AccessorialSubtotal>
        <Accessorials>
          <Accessorial>
            <ID>int</ID>
            <Description>string</Description>
            <Cost>double</Cost>
          </Accessorial>
          <Accessorial>
            <ID>int</ID>
            <Description>string</Description>
            <Cost>double</Cost>
          </Accessorial>
        </Accessorials>
      </RatingResult>
    </RatingResponse>
  </soap12:Body>
</soap12:Envelope>