| Requires any of the roles: | Klant, Kassasysteem |
| GET | /Products/Changes/{FieldChanged} | ||
|---|---|---|---|
| GET | /Products/Changes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| From | query | DateTime? | No | |
| To | query | DateTime? | No | |
| FieldChanged | path | string | No | |
| DaysBack | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProductChanges | form | List<ProductChange> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProductCode | form | string | No | |
| FieldChanged | form | string | No | |
| DateChanged | 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/ProductChanges HTTP/1.1
Host: webservice.kruitbosch.nl
Content-Type: text/jsv
Content-Length: length
{
From: 0001-01-01,
To: 0001-01-01,
FieldChanged: String,
DaysBack: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ProductChanges:
[
{
ProductCode: String,
FieldChanged: String,
DateChanged: 0001-01-01
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}