XML rates may be obtained using the post method and the following parameters (click here for a sample jsp page):
Please use https protocol, all parameters are required.
| Submit request to -> | https://www.sefl.com/webconnect/ratequotes |
| Username | MySEFL login id |
| Password | MySEFL password |
| CustomerAccount | Account number of party requesting quote |
| returnX | set to "Y" to get back data in XML format |
| rateXML | set to "Y" |
| lookupTransit | set to "Y" to lookup transit time, mileage, and terminal phone #'s |
| *Note: Setting the lookupTransit flag to Y may result in a slightly slow response time. | |
| CustomerName | Name of customer for account number specified above |
| CustomerStreet | Street address of customer requesting quote |
| CustomerCity | City for customer requesting quote |
| CustomerState | State for customer requesting quote |
| CustomerZip | 5 digit zip code for customer requesting quote |
| Option | "S" if customer is the shipper, "C" if consignee, "T" if third party |
| PickupDateMM | 2 digit Month for pickup date (01-12) |
| PickupDateDD | 2 digit day of Month for pickup date |
| PickupDateYYYY | 4 digit year for pickup date |
| Terms | "P" for prepaid, "C" for collect |
| EmailAddress | Email address where quote will be sent if it must be rated by hand |
| OriginCity | |
| OriginState | |
| OriginZip | |
| OrigCountry | "U" if US origin, "C" if Canadian and "M" if Mexican |
| DestinationCity | |
| DestinationState | |
| DestinationZip | |
| DestCountry | "U" if US destination, "C" if Canadian and "M" if Mexican |
| Class1 thru Class20 | valid entries: 0,50,55,60,65,70,77,775,85,92,925,100,110,125,150,175,200,250,300,400,500 |
| Weight1 thru Weight20 | |
| WeightUnitOfMeasure1 thru WeightUnitOfMeasure20 | Valid Entries: LBS, KG If Weight UOM is not present the system will assume LBS. |
| CubicFt1 thru CubicFt20 | Required on shipments to or from Puerto Rico and for customers with density based rates |
| Description1 thru Description20 | You must provide a description if shipping to/from Alaska, Hawaii, or Mexico |
| * at least one class/weight pair must be passed in | |
| Additional parameters below required on shipments greater than 5,000 lbs. (2,267.962kg) or occupying at least 10 feet of trailer space. | |
| allowSpot | set to "Y" on any shipment greater than 5,000lbs or occupying at least 10ft of trailer space. |
| DimsOption | set to "T" for total shipment dimensions. |
| floorSpace | numeric value for floor space (entire shipment length) in whole feet. Required if allowSpot = "Y" |
| heightSpace | numeric value for entire shipment height in whole feet. Required if allowSpot = "Y" |
| widthSpace | numeric value for entire shipment width in whole feet. Required if allowSpot = "Y" |
| Pieces1 thru Pieces20 | number of pieces, pallets or handling units. Required if allowSpot = "Y" |
| Additional parameters below required to submit individual piece dimensions for shipments greater than 5,000 lbs. or occupying at least 10 feet of trailer space. | |
| allowSpot | set to "Y" on any shipment greater than 5,000lbs or occupying at least 10ft of trailer space. |
| DimsOption | set to "I" for individual piece dimensions. |
| PieceLength1 thru PieceLength20 | numeric value for the length of the piece. Required if allowSpot = "Y" |
| PieceWidth1 thru PieceWidth20 | numeric value for width of the piece. Required if allowSpot = "Y" |
| PieceHeight1 thru PieceHeight20 | numeric value for height of the piece. Required if allowSpot = "Y" |
| UnitOfMeasure1 thru UnitOfMeasure20 | unit of measurement (F = Feet, I = Inches, M = Meters or C = Centimeters). Required if DimsOption = "I" |
| NumberOfUnits1 thru NumberOfUnits20 | numeric value for the number of units. Required if DimsOption = "I" |
| Pieces1 thru Pieces20 | number of pieces, pallets or handling units. Required if allowSpot = "Y" |
| Additional parameters required for Dimension-Based Dynamic Pricing. | |
| DimsOption | set to "I" for individual piece dimensions. |
| PieceLength1 thru PieceLength20 | numeric value for the length of the piece. |
| PieceWidth1 thru PieceWidth20 | numeric value for width of the piece. |
| PieceHeight1 thru PieceHeight20 | numeric value for height of the piece. |
| UnitOfMeasure1 thru UnitOfMeasure20 | unit of measurement (F = Feet, I = Inches, M = Meters or C = Centimeters). Required if DimsOption = "I" |
| NumberOfUnits1 thru NumberOfUnits20 | numeric value for the number of units. Required if DimsOption = "I" |
| Additional parameter required for Class-Based Dynamic Pricing. | |
| Pieces1 thru Pieces20 | number of pieces, pallets or handling units. |
| Additional parameters required for Pallet Pricing. | |
| shipPallet | must always be set to TRUE. |
| Pieces1 thru Pieces20 | number of pieces or pallets for each detail line. |
| PcsPlts1 thru PcsPlts20 | specified for each commodity being shipped. Use PLTS for pallets or PCS for any other type. |
| Additional parameters for NMFC Specific Pricing. | |
| NMFC1 thru NMFC20 | NMFC item number of commodity. |
| NMFCSub1 thru NMFCSub20 | NMFC item sub number of commodity. |
| ACCESORIALS | |
| chkHM | "on" for Hazardous Materials shipments |
| chkTL | "on" for Truck Load shipments |
| TruckloadVanPup | if chkTL = "on", must specify whether it's a Van (value="Van") or a Pup load (value="Pup"). |
| TruckLoadPercent | if chkTL = "on", must specify truck load % - value 0 to 100 |
| chkDG | "on" for Day Definite Guaranteed Service (only valid for direct points) |
| chkNG | "on" for Noon Guaranteed Service (only valid for certain destinations) |
| chkIM | "on" for Import Shipment |
| chkEX | "on" for Export Shipment |
| chkAN | "on" for Arrival Notice |
| chkLAP | "on" for Limited Access Pickup |
| chkLAD | "on" for Limited Access Delivery |
| chkID | "on" for Inside Delivery |
| chkIB | "on" for In Bond Fee |
| chkLGD | "on" for Delivery Lift Gate |
| chkLGP | "on" for Pickup Lift Gate |
| chkAPU | "on" for Airport Pickup |
| chkAPD | "on" for Airport Delivery |
| chkCVP | "on" for Convention Center Pickup |
| chkCVD | "on" for Convention Center Delivery |
| chkIP | "on" for Inside Pickup |
| chkRC | "on" for Redeliver to Consignee |
| chkPR | "on" for Private Residence |
| chkRD | "on" for Redeliver Dock Pickup |
| chkStop1 | "on" for Stop Off Shipment - 1 stop |
| chkStop2 | "on" for Stop Off Shipment - 2 stops |
| chkStop3 | "on" for Stop Off Shipment - 3 stops |
| chkSHC | "on" if shipper will bring shipment to carrier's dock, instead of carrier pickup |
| chkOD | "on" for Over Dimension Freight |
| ODLength | Required Parameter when chkOD is selected. Should be length in whole feet or inches of overlength article. |
| ODLengthUnit | Required Parameter when ODLength is provided. Unit of measurement (F = Feet, I = Inches). |
| chkOther | "on" for "other" accesorial |
| OtherAmt | enter value for the "other" accesorial |
| chkIN | "on" for Full Value Insurance |
| FVInsuranceAmount | Required Parameter when chkIN is selected. Should be monetary amount. |
| TAG NAME | DESCRIPTION | ||||||||||||
| error | Any error messages that may cause the quote information to not be returned | ||||||||||||
| quoeteId | The quote confirmation number | ||||||||||||
| pickupDate | Pickup date requested for quote (does not generate a pickup request) | ||||||||||||
| custAccount | Customer account code of party requesting quote (following cust* info applies to this account) | ||||||||||||
| custName | Customer name | ||||||||||||
| custAddress | Customer Address | ||||||||||||
| custCity | Cutomer City | ||||||||||||
| custZip | Customer Zip | ||||||||||||
| origCity | Shipment origin city | ||||||||||||
| origState | Shipment origin state | ||||||||||||
| origZip | Shipment origin zip code | ||||||||||||
| origDIP | Value will be D for a directly serviced origin point, I for Interline service, P for interline service provided by one of our Partners | ||||||||||||
| origPhone | Origin terminal phone number | ||||||||||||
| destCity | Shipment destination city | ||||||||||||
| destState | Shipment destination state | ||||||||||||
| destZip | Shipment destintion zip code | ||||||||||||
| destDIP | Value will be D for a directly serviced destintation point, I for Interline service, or P for interline service provided by one of our Partners | ||||||||||||
| destPhone | Destination terminal phone number | ||||||||||||
| quoteDIP | Will be D if both origin and destination points are directly serviced, I if one point is an Interline, or P if one is a Partner Interline | ||||||||||||
| transitMiles | Miles the shipment will travel, may or may not contain the interline miles | ||||||||||||
| transitTime | Trasit Time for the shipment | ||||||||||||
| details | The fields under the detail tag are the detail lines for the quote normally found on the jsp page when requesting a quote via the web page:
|
||||||||||||
| rateQuote | Final quote amount | ||||||||||||
| discountPercent | discount applied to shipment | ||||||||||||
| discountAmount | discount value | ||||||||||||
| specInstr | Any special notations that affect/may affect your pricing/quote (i.e. exceptions, truckloads, import, export, etc). | ||||||||||||
| quoteType | Value will be D for Dynamic Pricing, TC for Tariff Class pricing, TD for Tariff Density Pricing and S for Spot Quote Pricing. |
Sample XML output:
<?xml version="1.0" ?>
- <root>
<error />
<quoteId>CWGGX0933</quoteId>
<pickupDate>07/24/2007</pickupDate>
<custAccount>001999999</custAccount>
<custName>DEMO</custName>
<custAddress>DEMO ADDR #2</custAddress>
<custAddress2 />
<custCity>ATLANTA</custCity>
<custState>GA</custState>
<custZip>30301</custZip>
<origCity>ATLANTA</origCity>
<origState>GA</origState>
<origDIP>D</origDIP>
<destCity>FOSTER CITY</destCity>
<destState>CA</destState>
<destZip>94404</destZip>
<customerZipExt />
<destDIP>P</destDIP>
<quoteDIP>P</quoteDIP>
<transitMiles>2470</transitMiles>
<transitTime>4</transitTime>
- <details>
<typeCharge>P</typeCharge>
<description />
<weight>100</weight>
<class>50</class>
<rate />
<charges />
<typeCharge>MFC</typeCharge>
<description>MIN FRT CHG</description>
<weight />
<class />
<rate />
<charges>384.62</charges>
<typeCharge>D6000</typeCharge>
<description>60.00% DISCOUNT</description>
<weight />
<class />
<rate />
<charges>230.77</charges>
<typeCharge>NFC</typeCharge>
<description>NET FRT CHG</description>
<weight />
<class />
<rate />
<charges>153.85</charges>
<typeCharge>AN</typeCharge>
<description>ARRIVAL NTC</description>
<weight />
<class />
<rate />
<charges>13.00</charges>
<typeCharge>FS</typeCharge>
<description>LTL FUEL SURCHARGE OF 18.00%</description>
<weight />
<class />
<rate />
<charges>27.69</charges>
<typeCharge>TTL</typeCharge>
<description />
<weight>100</weight>
<class />
<rate />
<charges>194.54</charges>
</details>
<rateQuote>194.54</rateQuote>
<discountPercent>60.00%</discountPercent>
<discountAmount>230.77</discountAmount>
<quoteType>TC</quoteType>
</root>