<back to all web services

PackingSlips

Requires Authentication
Requires any of the roles:Klant, Vertegenwoordiger, Admin, Fietsenportal
The following routes are available for this service:
GET/Customer/{CustomerNumber}/PackingSlip/{PackingSlipNumber}
GET/Customer/PackingSlip
GET/Customer/PackingSlip/{PackingSlipNumber}
GET/Customer/{CustomerNumber}/PackingSlip
PackingSlips Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
PackingSlipNumberpathstringNo
OrderNumberquerystringNo
PackingSlipsResponse Parameters:
NameParameterData TypeRequiredDescription
PackingSlipsformList<PackingSlip>No
ResponseStatusformResponseStatusNo
PackingSlip Parameters:
NameParameterData TypeRequiredDescription
PackingSlipNumberformstringNo
PackingSlipDateformDateTimeNo
OrderNumberformstringNo
OrderNumberLineformintNo
PackingSlipQuantityformdecimal?No
ReferenceLongformstringNo
ReferenceShortformstringNo
UnitformstringNo
PriceGrossformdecimal?No
Discountformdecimal?No
PriceNettformdecimal?No
ProductCodeformstringNo
ProductDescriptionformstringNo
Orderedformdecimal?No
SerialNumbersformList<string>No
PackingSlipLineNumberformintNo

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/PackingSlips HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/jsv
Content-Length: length

{
	CustomerNumber: String,
	PackingSlipNumber: String,
	OrderNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PackingSlips: 
	[
		{
			PackingSlipNumber: String,
			PackingSlipDate: 0001-01-01,
			OrderNumber: String,
			OrderNumberLine: 0,
			PackingSlipQuantity: 0,
			ReferenceLong: String,
			ReferenceShort: String,
			Unit: String,
			PriceGross: 0,
			Discount: 0,
			PriceNett: 0,
			ProductCode: String,
			ProductDescription: String,
			Ordered: 0,
			SerialNumbers: 
			[
				String
			],
			PackingSlipLineNumber: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}