axFuelService

<back to all web services

GetCardsByCompany2

The following routes are available for this service:
GET/GetCardsByCompany2
GetCardsByCompany2 Parameters:
NameParameterData TypeRequiredDescription
cardidquerystringNo
UserNamequerystringNo
PasswordquerystringNo
GetCardsByCompany2Response Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<CardsByCompany>No
CardsByCompany Parameters:
NameParameterData TypeRequiredDescription
card_idformstringNo
owner_nameformstringNo
crtimeformDateTimeNo
isbasicformboolNo
pincodeformstringNo
spendformboolNo
fuel_idformintNo
rcountformdecimalNo
rcount_nolifeformdecimalNo
codeformstringNo
fuelnameformstringNo
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 /GetCardsByCompany2 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,
			crtime: 0001-01-01,
			isbasic: False,
			pincode: String,
			spend: False,
			fuel_id: 0,
			rcount: 0,
			rcount_nolife: 0,
			code: String,
			fuelname: String,
			owner_mobile: String,
			owner_car: String,
			limit: 0
		}
	]
}