<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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	CustomerNumber: String,
	DateFrom: 0001-01-01,
	DateTo: 0001-01-01,
	CustomerReference: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	}
}