axFuelService

<back to all web services

GetFuelsByCard

Requires Authentication
The following routes are available for this service:
GET/GetFuelsByCard
GetFuelsByCard Parameters:
NameParameterData TypeRequiredDescription
card_idquerystringNo
GetFuelsByCardResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<FuelsByCard>No
FuelsByCard Parameters:
NameParameterData TypeRequiredDescription
card_idformstringNo
owner_nameformstringNo
fuel_idformintNo
fuelformstringNo
rcountformdecimalNo
rs_codeformstringNo
CompanyNameformstringNo
spendformboolNo
pincodeformstringNo
rcount_fullformdecimalNo
rcount_nolifeformdecimalNo
owner_mobileformstringNo
owner_carformstringNo
limitformdecimalNo

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 /GetFuelsByCard 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":[{"card_id":"String","owner_name":"String","fuel_id":0,"fuel":"String","rcount":0,"rs_code":"String","CompanyName":"String","spend":false,"pincode":"String","rcount_full":0,"rcount_nolife":0,"owner_mobile":"String","owner_car":"String","limit":0}]}