Requires any of the roles: | Klant, Vertegenwoordiger, Admin, Fietsenportal |
GET | /Customer/DeliveryDateChanges | ||
---|---|---|---|
GET | /Customer/{CustomerNumber}/DeliveryDateChanges |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerNumber | path | string | No | |
DaysBack | query | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DeliveryDateChanges | form | List<DeliveryDateChange> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OrderNumber | form | string | No | |
LineNum | form | double | No | |
CustomerNumber | form | string | No | |
ProductCode | form | string | No | |
ProductDescription | form | string | No | |
QuantityOpen | form | int | No | |
Reference | form | string | No | |
NewShippingDateConfirmed | form | DateTime | No | |
PreviousShippingDateConfirmed | form | DateTime? | No | |
DateChanged | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/DeliveryDateChanges HTTP/1.1
Host: webservice.kruitbosch.nl
Content-Type: text/csv
Content-Length: length
{"CustomerNumber":"String","DaysBack":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DeliveryDateChanges":[{"OrderNumber":"String","LineNum":0,"CustomerNumber":"String","ProductCode":"String","ProductDescription":"String","QuantityOpen":0,"Reference":"String","NewShippingDateConfirmed":"\/Date(-62135596800000-0000)\/","PreviousShippingDateConfirmed":"\/Date(-62135596800000-0000)\/","DateChanged":"\/Date(-62135596800000-0000)\/"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}