| Requires any of the roles: | Klant, Kassasysteem |
| GET | /Products/Status/FirstTimeAvailable |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| From | query | DateTime? | No | |
| To | query | DateTime? | No | |
| DaysBack | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProductStatussesFirstTimeAvailable | form | List<ProductStatusFirstTimeAvailable> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ItemId | form | string | No | |
| ItemBarCode | form | string | No | |
| ProductName | form | string | No | |
| RetailPrice | form | double | No | |
| FirstReceipt | form | DateTime | 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/ProductStatussesFirstTimeAvailable HTTP/1.1
Host: webservice.kruitbosch.nl
Content-Type: text/jsv
Content-Length: length
{
From: 0001-01-01,
To: 0001-01-01,
DaysBack: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ProductStatussesFirstTimeAvailable:
[
{
ItemId: String,
ItemBarCode: String,
ProductName: String,
RetailPrice: 0,
FirstReceipt: 0001-01-01
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}