axFuelService

<back to all web services

IFFuelsByCardHistory

Requires Authentication
The following routes are available for this service:
GET/IFFuelsByCardHistory
IFFuelsByCardHistory Parameters:
NameParameterData TypeRequiredDescription
trans_idqueryintNo
IFFuelsByCardHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<FuelsByCardF>No
FuelsByCardF Parameters:
NameParameterData TypeRequiredDescription
scountformdecimalNo
br_fuelformboolNo
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 .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /IFFuelsByCardHistory 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: 
	[
		{
			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,
			scount: 0,
			limit: 0,
			br_fuel: False
		}
	]
}