I found a promising solution here at YRC web site. The problem I now have is that I'm not sure of the blue bold part of the code below. The code is suppose to get a rate quote from a hyperlink I'm to add to my website.
Full page at YRC: http://www.yrc.com/e_commerce/hyperlinks.html#quote
Blue = I don't understand
Red = I don't need
Green = Hidden Fields
https://my.yrc.com/dynamic/national/servlet?
CONTROLLER=com.rdwy.ec.rexcommon.proxy.http.controller.
PublicProxyController&redir=/tfq504
&O_CITY= nnnnnnnnnnnnnnnnnnnnnnnnn
&O_STATE=nn&O_ZIP=nnnnnn&O_CTRY=nnn
&D_CITY= nnnnnnnnnnnnnnnnnnnnnnnnn
&D_STATE=nn&D_ZIP=nnnnnn
&D_CTRY=nnn&WGT1=nnnnnn
&CLASS1=nnnn&OPT_SS=off&OPT_NTFY=off
&OPT_HAZM=off&OPT_ID=off&OPT_IP=off
&OPT_HOMD=off&OPT_HOMP=off
&OPT_LFTO=off&OPT_LFTD=off
&OPT_COD=off&COD=0.00&PU_DATE=nn/nn/nn
&CURRENCY=nnn&COMPUTE=QUOTE
&DISPLAY=PAGE
REQUIRED parameters:
O_CITY = Origin City
O_STATE = Origin State
O_ZIP = Origin ZIP
O_CTRY = Origin Country
D_CITY = Destination City
D_STATE = Destination State
D_ZIP = Destination ZIP
D_CTRY = Destination Country
WGT1 = Weight of the Shipment -Note:Up to six weights/classes can be entered (e.g., use WGT2 CLASS2)
CLASS1 = Freight Class (e.g., 50, 77.5)
PU_DATE = Pickup Date
CURRENCY = Rated Currency display in U.S. or Canadian dollars(USD or CAD)
==============END CODE INFO===============
If I'm to make a hyperlink do I need to make a form and add the fields and such to form?
Also, I'm confused as to the ACTION and POST method according to the above. I'm not sure how I'm suppose to insert the link.
Any help greatly appreciated.
Thanks
Kevin


Reply With Quote
