| GET | /GetFuelsByCard |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| card_id | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<FuelsByCard> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| card_id | form | string | No | |
| owner_name | form | string | No | |
| fuel_id | form | int | No | |
| fuel | form | string | No | |
| rcount | form | decimal | No | |
| rs_code | form | string | No | |
| CompanyName | form | string | No | |
| spend | form | bool | No | |
| pincode | form | string | No | |
| rcount_full | form | decimal | No | |
| rcount_nolife | form | decimal | No | |
| owner_mobile | form | string | No | |
| owner_car | form | string | No | |
| limit | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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}]}