I want to integrate our website with our courier company using an API. The courier has an XML interface that they've provided but the examples given in the books I have don't seem to work out to well (they seem vague but its probably just me).
Given the following piece of code, how would I integrate the following into a CF page assuming that the ITEMSPRICE and TURNAROUNDTIME are dynamic?
Also, I am going to need to use CFHTTP to connect to the webserver. How do I incorporate a CFHTTPPARAM into this?
Thanks in advance.
<EPARCEL>-
<LANGUAGE>EN</LANGUAGE>-
<RATESANDSERVICESREQUEST>-
<MERCHANTCPCID>12345</MERCHANTCPCID>-
<FROMPOSTALCODE>M1M1Z1</FROMPOSTALCODE>-
<TURNAROUNDTIME>96</TURNAROUNDTIME>-
<ITEMSPRICE>50.00</ITEMSPRICE>
</RATESANDSERVICESREQUEST></EPARCEL>
Given the following piece of code, how would I integrate the following into a CF page assuming that the ITEMSPRICE and TURNAROUNDTIME are dynamic?
Also, I am going to need to use CFHTTP to connect to the webserver. How do I incorporate a CFHTTPPARAM into this?
Thanks in advance.
<EPARCEL>-
<LANGUAGE>EN</LANGUAGE>-
<RATESANDSERVICESREQUEST>-
<MERCHANTCPCID>12345</MERCHANTCPCID>-
<FROMPOSTALCODE>M1M1Z1</FROMPOSTALCODE>-
<TURNAROUNDTIME>96</TURNAROUNDTIME>-
<ITEMSPRICE>50.00</ITEMSPRICE>
</RATESANDSERVICESREQUEST></EPARCEL>