XML rates may be obtained using the post method and the following parameters (click here for a sample jsp page):
| 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" |
| 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 | |
| OrigCNFlag | "N" if US origin, "Y" if Canadian |
| DestinationCity | |
| DestinationState | |
| DestinationZip | |
| DestCNFlag | "N" if US destination, "Y" if Canadian |
| 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 | |
| CubicFt1 thru CubicFt20 | required only on shipments to or from Puerto Rico |
| Description1 thru Description20 | You must provide a description if no class is provided - omission of class requires a manual quote/email |
| * at least one class/weight pair must be passed in | |
| 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) |
| chkCOD | "on" for COD Fee |
| CODAmount | if chkCOD = "on", must provide a COD amount > 0 and < 100,000.00 |
| chkIM | "on" for Import Shipment |
| chkEX | "on" for Export Shipment |
| chkAN | "on" for Arrival Notice |
| chkLA | "on" for Limited Access |
| chkID | "on" for Inside Delivery |
| chkIN | "on" for In Bond Fee |
| chkLG | "on" for Lift Gate |
| 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 |
| chkOther | "on" for "other" accesorial |
| OtherAmt | enter value for the "other" accesorial |
| 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 | ||||||||||||
| 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 | ||||||||||||
| 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). |
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>
</root>