| GET | /GetTickets |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| group_id | query | int? | No | |
| company_id | query | int? | No | |
| fuel_id | query | int? | No | |
| amount | query | decimal? | No | |
| d1 | query | DateTime? | No | |
| d2 | query | DateTime? | No | |
| status_id | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<Tickets> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | string | No | |
| group_id | form | int | No | |
| company_id | form | int? | No | |
| fuel_id | form | int | No | |
| amount | form | decimal | No | |
| crtime | form | DateTime? | No | |
| status_id | form | int | No | |
| preordersdet_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.
GET /GetTickets 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: String,
group_id: 0,
company_id: 0,
fuel_id: 0,
amount: 0,
crtime: 0001-01-01,
status_id: 0,
preordersdet_id: 0
}
]
}