Requires any of the roles: | Klant, Kassasysteem |
GET | /Products/Status/Old |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
From | query | DateTime? | No | |
To | query | DateTime? | No | |
Status | query | string | No | |
DaysBack | query | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProductStatussesOld | form | List<ProductStatusOld> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ItemId | form | string | No | |
ProductName | form | string | No | |
ItemBarCode | form | string | No | |
AlternativeItemId | form | string | No | |
AlternativeBarcode | form | string | No | |
AlternativeName | form | string | No | |
FollowUpItemId | form | string | No | |
FollowUpBarcode | form | string | No | |
FollowUpName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ProductStatussesOld HTTP/1.1
Host: webservice.kruitbosch.nl
Content-Type: text/jsv
Content-Length: length
{
From: 0001-01-01,
To: 0001-01-01,
Status: String,
DaysBack: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ProductStatussesOld: [ { ItemId: String, ProductName: String, ItemBarCode: String, AlternativeItemId: String, AlternativeBarcode: String, AlternativeName: String, FollowUpItemId: String, FollowUpBarcode: String, FollowUpName: String } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }