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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/PackingSlips HTTP/1.1 
Host: webservice.kruitbosch.nl 
Content-Type: application/json
Content-Length: length

{"CustomerNumber":"String","PackingSlipNumber":"String","OrderNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PackingSlips":[{"PackingSlipNumber":"String","PackingSlipDate":"\/Date(-62135596800000-0000)\/","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"}}}