Track and trace integration
Method One
Display our Track and Trace web page on your website so your customers can enter their own consignment tracking details.
It is possible to link to Post Haste’s track and trace web page so your users can enter their own consignment tracking details.
This directs the user to the Post Haste Couriers website’s main track and trace page.
Method Two
Store consignment information in your customer service database and generate a link that automatically links to our Track and Trace function to return a formatted 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
Information from the charge label is 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 |
|---|---|---|---|
| Label Number | The number pre-printed on the charge label 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& label_number=nnnnnnnn&request_id=2
- Replace the string nnnnnnnn with the actual charge label number
- The result page is returned as a plain HTML response without frames
Information from the customer printed label is stored in your customer service database and used to generate a URL that calls our Track & Trace engine and returns a formatted result page.
1. Gather required information
The information required from the customer printed label comprises of two fields:
| Field | Explanation | Type | Size |
|---|---|---|---|
| Customer Identifier | A code to uniquely identify the customer that generated the customer printed label for the consignment | Character | 8 |
| Consignment Identifier | The customer’s internally-generated unique identifier for the consignment | Character | 12 |
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&customer_number=xxxxxxxx& consignment_id=cccccccccccc&request_id=3
- Replace the string xxxxxxxx with the actual customer identifier
- Replace the string cccccccccccc with the actual Consignment Identifier
- The result page is returned as a plain HTML response without frames
Existing pages:
https://www.castleparcels.co.nz/tt_integration.html
https://www.castleparcels.co.nz/displaytrackit.html
https://www.castleparcels.co.nz/courier_tickets.html
https://www.castleparcels.co.nz/charge_labels.html
https://www.castleparcels.co.nz/printed_labels.html
https://www.posthaste.co.nz/tracktrace_integration.html
https://www.posthaste.co.nz/displaytrackit.html
https://www.posthaste.co.nz/couriertickets.html
https://www.posthaste.co.nz/charge_labels.html
https://www.posthaste.co.nz/printed_labels.html
https://www.castleparcels.co.nz/tracktrace.html
- Lists x4 methods to integrate track and trace
- Keep on one page with anchors at top rather than separate pages for each