A Web Service is a software component that is described via WSDL and is capable of being accessed via standard
network protocols such as but not limited to SOAP over HTTP, Web services typically run from web servers and are operating system independent.
The only requirements are that your server can access the web service and that you can read and sent the XML formatted document that is sent
over HTTP. Read all about the standards on w3c by going to
http://www.w3.org/TR/wsdl
1) Open an account with Internet Express
2) Register to use the web service and get a Website ID,
Website e-mail address and password needed to create transactions!
There are 8 steps needed to use the courier system.
Step 1
You need the collection address with the corresponding internet express ID number.
This is typically only done once and then saved on your own database or website.
If you ship or sell your product from multiple locations you will need addresses
for each one of those locations.
Step 2
You will need to provide front end functionality to allow for the delivery address.
Internet Express allow delivery to Physical Address, Postnet counter, Post office
and Post box. For each one the user will need to provide a Postal Code or a Suburb
name. The functions available to do this is getStreetAddress, getPostNet, getPostalCounter
and getPostalAddress. The partial address is returned and the user will need to
provide his street name and house number to complete the address.
Step 3
Gather all other information necessary to create a quotation on the Internet Express
server. This includes: - Commodity item id using getCommodityItems and getProhibitedCommodityItems.
- The description of the goods that is going to be transported. Typed or stored
in your database - Insurance Value if insurance is given as an option to the client
- Collection detail including Name, Telephone area code and number, Cell number
and contact e-mail address. - Delivery Details including Name, Telephone area code
and number, Cell number and contact e-mail address. - Special instructions if needed.
Step 4
Create the quotation on the internet express side using all data gathered up to
this point using EditAddDomesticQuote
Step 5
Add line items. Line items can be added in two ways. The first way is one by one
using EditAddDomesticQuoteLineItem and the second way is to include many items in
one call using AddDomesticQuoteLineItemRange.
Step 6
Return a list of service options for the user to select from using getDomesticQuoteServices.
Step 7
Return the Selected option to the Internet Express quotation using EditAddDomesticQuote.
Step 8
After the client has paid run the completeDomesticQuoteUsingAccount functionality
to complete the transaction.