| GET | /GetPreorderHistory |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PreorderId | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PreorderHistory> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| preordersdet_id | form | int | No | |
| code | form | string | No | |
| fuelname | form | string | No | |
| unit | form | string | No | |
| price | form | decimal? | No | |
| scount | form | decimal? | No | |
| amount | form | decimal? | No | |
| ocount | form | decimal? | No | |
| life_date | form | DateTime? | No | |
| docs_id | form | string | No | |
| specinvoicestatus | form | int? | No | |
| trgid | form | int | No | |
| trgiud | form | int | No | |
| appname | form | string | No | |
| hostname | form | string | No | |
| hostip | form | string | No | |
| cuser | form | string | No | |
| trgdate | 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.
GET /GetPreorderHistory HTTP/1.1 Host: axfuel.apex.ge Accept: text/jsv
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:
[
{
preordersdet_id: 0,
code: String,
fuelname: String,
unit: String,
price: 0,
scount: 0,
amount: 0,
ocount: 0,
life_date: 0001-01-01,
docs_id: String,
specinvoicestatus: 0,
trgid: 0,
trgiud: 0,
appname: String,
hostname: String,
hostip: String,
cuser: String,
trgdate: 0001-01-01
}
]
}