<back to all web services

TrackTraces

Requires Authentication
Requires any of the roles:Klant, Vertegenwoordiger, Admin, Fietsenportal
The following routes are available for this service:
GET/Customer/TrackTrace
GET/Customer/{CustomerNumber}/TrackTrace
TrackTraces Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
DateFromqueryDateTime?No
DateToqueryDateTime?No
CustomerReferencequerystringNo
TrackTraceResponse Parameters:
NameParameterData TypeRequiredDescription
TrackTraceformList<TrackTrace>No
ResponseStatusformResponseStatusNo
TrackTrace Parameters:
NameParameterData TypeRequiredDescription
OrderNumberformstringNo
CarrierformstringNo
TrackAndTraceUrlformstringNo
CustomerNumberformstringNo
CustomerReferenceformstringNo
PackageNumberformstring[]No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/TrackTraces HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/csv
Content-Length: length

{"CustomerNumber":"String","DateFrom":"\/Date(-62135596800000-0000)\/","DateTo":"\/Date(-62135596800000-0000)\/","CustomerReference":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"TrackTrace":[{"OrderNumber":"String","Carrier":"String","TrackAndTraceUrl":"String","CustomerNumber":"String","CustomerReference":"String","PackageNumber":["String"]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}