axFuelService

<back to all web services

GETTicketInfo

Requires Authentication
The following routes are available for this service:
GET/GETTicketInfo
GETTicketInfo Parameters:
NameParameterData TypeRequiredDescription
ticket_idquerystringNo
GETTicketInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformIFTicketInfoNo
IFTicketInfo Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
fuel_idformintNo
FuelformstringNo
amountformdecimalNo
company_idformint?No
CompanyformstringNo
status_idformintNo
status_nameformstringNo
life_dateformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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":"\/Date(-62135596800000-0000)\/"}}