<back to all web services

OrderHeaders

Requires Authentication
Requires any of the roles:Klant, Kassasysteem, Vertegenwoordiger, KCU Bestelprogramma
The following routes are available for this service:
GET/Customer/{CustomerNumber}/OrderHeaders/{Page}
GET/Customer/OrderHeaders/
GET/Customer/OrderHeaders/{Page}
GET/Customer/{CustomerNumber}/OrderHeaders/
OrderHeaders Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
MaxQuantityqueryint?No
Pagepathint?No
ReferencesqueryList<string>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/OrderHeaders HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/jsv
Content-Length: length

{
	CustomerNumber: String,
	MaxQuantity: 0,
	Page: 0,
	References: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OrderHeaders: 
	[
		{
			BrutoOrderAmount: 0,
			DiscountOrderAmount: 0,
			NettoOrderAmount: 0,
			OrderNr: String,
			OrderDate: 0001-01-01,
			CurrencyCode: String,
			CustomerNumber: String,
			Reference: String,
			Instruction: String,
			StatusKey: 0,
			StatusDescr: String,
			ReleaseKey: 0,
			ReleaseDescr: String,
			InvoiceAddressStreet: String,
			InvoiceAddressZipcode: String,
			InvoiceAddressPlace: String,
			InvoiceAddressCountry: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	NextPage: 0
}