This document deals with obtaining automated rate quotes via XML. To utilize the HTTP rate quote API, you need to submit an HTTP request with a URL constructed as follows (replacing �xxx� with your three-character CLI acronym):
Please strip out all non-standard or special characters from text fields. Including such characters in text fields will cause requests to fail.
https://www.standardforwarding.com/scripts/cgiip.exe/WService=wsbroker1/ratequote.xml?xmlv=yes&xmluser=USERID&xmlpass=PASSWORD&vozip=90210&vdzip=11598&wpieces[1]=10&wpallets[1]=1&wweight[1]=1320&vclass[1]=92.5&RESDEL=Yes
USERNAME needs to be the user-id that company would use to login to the website.
PASSWORD needs to be the password that company would use to login to the website.
The system will provide an XML response which can be parsed to determine the charges, etc. The response for the example is:
<ratequote>
<ratequoteline>
<pallets>1</pallets>
<pieces>10</pieces>
<chargedesc>CHARGES</chargedesc>
<weight>1320</weight>
<dimweight>0</dimweight>
<class>092</class>
<rate>86.10</rate>
<charge>1,136.52</charge>
</ratequoteline>
<ratequoteline>
<chargedesc>DISCOUNT 76</chargedesc>
<charge>-63.76</charge>
</ratequoteline>
<ratequoteline>
<chargedesc>FUEL SURCHARGE</chargedesc>
<charge>90.01</charge>
</ratequoteline>
<ratequoteline>
<chargedesc>RESIDENTIAL DELIVERY</chargedesc>
<charge>66.00</charge>
</ratequoteline>
<ratequoteline>
<chargedesc>DELIVERY SURCHARGE</chargedesc>
<charge>25.00</charge>
</ratequoteline>
<quotetotal>453.77</quotetotal>
<totalpallets>1</totalpallets>
<totalpieces>10</totalpieces>
<totalweight>1320</totalweight>
<busdays>6</busdays>
<quoteversion>ratequote-20100927</quoteversion>
<quotedatetime>08/10/2011 15:15:07.062-07:00</quotedatetime>
</ratequote>