| GET | /GETTicketInfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ticket_id | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | IFTicketInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | string | No | |
| fuel_id | form | int | No | |
| Fuel | form | string | No | |
| amount | form | decimal | No | |
| company_id | form | int? | No | |
| Company | form | string | No | |
| status_id | form | int | No | |
| status_name | form | string | No | |
| life_date | 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 /GETTicketInfo 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,
fuel_id: 0,
Fuel: String,
amount: 0,
company_id: 0,
Company: String,
status_id: 0,
status_name: String,
life_date: 0001-01-01
}
}