| GET | /GetPreOrders |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | query | int? | No | |
| d1 | query | DateTime? | No | |
| d2 | query | DateTime? | No | |
| company_id | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PreOrdersF> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| booked | form | bool | No | |
| invnum | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | int | No | |
| ddate | form | DateTime | No | |
| company_id | form | int | No | |
| vg | form | decimal | No | |
| docnum | form | string | No | |
| comment | form | string | No | |
| status_id | form | int | No | |
| blocked | form | bool | No | |
| vat | form | bool | 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 /GetPreOrders 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:
[
{
id: 0,
ddate: 0001-01-01,
company_id: 0,
vg: 0,
docnum: String,
comment: String,
status_id: 0,
blocked: False,
vat: False,
booked: False,
invnum: String
}
]
}