I'm trying to implement the DHL API for Tracking Package. Everything is working fine, i receive the data form DHL server, but, i can not undestand how should use the MessageTime and MessageReference Value in the request, what should i put in each of the parameters or how i can do it. Thank you
<ServiceHeader>
<MessageTime>2019-09-23T15:54:10</MessageTime>
<MessageReference>xxxx</MessageReference>
</ServiceHeader>
It would be well commented in the API documentation.
I personally use the following in the shipment API, the comments would have been gleaned from the supplied documentation.
This is from my personal code and is not the tracking API, but I guess it will be similar and consistent:
Edit
I double checked with the tracking API and it's the same: