Display track and trace web page
Information from the courier ticket can be stored in your customer service database and used to generate a URL that automatically calls our track and trace engine and returns a formatted result page.
1. Gather required information
The information required from the courier ticket comprises two fields:
Field | Explanation | Type | Size |
---|---|---|---|
Product Code | The product code for the type of courier ticket used on the consignment. | Character | 4 |
Serial Number | The unique number printed on the ticket by Post Haste. | Numeric | 8 |
2. Generate the URL
The URL (web address) to call the track and trace engine must be constructed as follows:
http://www.posthaste.co.nz/phl/servlet/TAndTServlet?page=1&product_code=xxxx&serial_number=nnnnnnnn&request_id=1
- Replace the string xxxx with the actual product code
- Replace the string nnnnnnnn with the actual ticket serial number
- The result page is returned as a plain HTML response without frames.