<back to all web services

OrderLines

Requires Authentication
Requires any of the roles:Klant, Kassasysteem, Vertegenwoordiger, KCU Bestelprogramma, DRG Hoofdkantoor
The following routes are available for this service:
GET/Customer/{CustomerNumber}/OrderLines/{OrderNr}
GET/Customer/OrderLines
GET/Customer/OrderLines/{OrderNr}
GET/Customer/{CustomerNumber}/OrderLines/
OrderLines Parameters:
NameParameterData TypeRequiredDescription
CustomerNumberpathstringNo
OrderNrpathstringNo
OrderLineTypequerystringNo

Allowable Values

  • All
  • OpenOrders
  • BackOrders
  • OpenPlanOrders
  • OpenReservationOrders
ProductGroupquerystringNo

Allowable Values

  • All
  • Bikes
  • Parts
ReferencequerystringNo
ExcludeCustomersqueryList<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/OrderLines HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: text/jsv
Content-Length: length

{
	CustomerNumber: String,
	OrderNr: String,
	OrderLineType: All,
	ProductGroup: All,
	Reference: String,
	ExcludeCustomers: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OrderLines: 
	[
		{
			OrderNr: String,
			OrderLineNr: 0,
			CustomerNumber: String,
			CustomerName: String,
			CurrencyCode: String,
			ItemCode: String,
			ItemDescr: String,
			UnitCode: String,
			DiscountOrderAmount: 0,
			NettoOrderAmount: 0,
			Ordered: 0,
			Delivered: 0,
			Instruction: String,
			StatusKey: 0,
			StatusDescr: String,
			DeliveryDate: 0001-01-01,
			Reference: String,
			Barcode: String,
			GLN: String,
			IsOnHand: False
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}