| PUT | /TspCardTurnoverForAll |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| cardid | body | string | No | |
| d1 | body | DateTime | No | |
| d2 | body | DateTime | No | |
| fuelid | body | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | CardTurnoverF | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Turnover | form | List<CardTurnover> | No | |
| StartRem | form | decimal | No | |
| EndRem | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NN | form | int | No | |
| crtime | form | DateTime | No | |
| corcard | form | string | No | |
| icount | form | decimal? | No | |
| scount | form | decimal? | No | |
| comment | form | string | No | |
| rem | form | decimal | No | |
| br | form | string | No | |
| carnumber | form | string | No | |
| supp_id | form | int? | No | |
| order_id | form | int? | 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.
PUT /TspCardTurnoverForAll HTTP/1.1
Host: axfuel.apex.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
cardid: String,
d1: 0001-01-01,
d2: 0001-01-01,
fuelid: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
{
Turnover:
[
{
NN: 0,
crtime: 0001-01-01,
corcard: String,
icount: 0,
scount: 0,
comment: String,
rem: 0,
br: String,
carnumber: String,
supp_id: 0,
order_id: 0
}
],
StartRem: 0,
EndRem: 0
}
}