axFuelService

<back to all web services

GetPreorderHistory

Requires Authentication
The following routes are available for this service:
GET/GetPreorderHistory
GetPreorderHistory Parameters:
NameParameterData TypeRequiredDescription
PreorderIdqueryintNo
GetPreorderHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<PreorderHistory>No
PreorderHistory Parameters:
NameParameterData TypeRequiredDescription
preordersdet_idformintNo
codeformstringNo
fuelnameformstringNo
unitformstringNo
priceformdecimal?No
scountformdecimal?No
amountformdecimal?No
ocountformdecimal?No
life_dateformDateTime?No
docs_idformstringNo
specinvoicestatusformint?No
trgidformintNo
trgiudformintNo
appnameformstringNo
hostnameformstringNo
hostipformstringNo
cuserformstringNo
trgdateformDateTimeNo

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 /GetPreorderHistory 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: 
	[
		{
			preordersdet_id: 0,
			code: String,
			fuelname: String,
			unit: String,
			price: 0,
			scount: 0,
			amount: 0,
			ocount: 0,
			life_date: 0001-01-01,
			docs_id: String,
			specinvoicestatus: 0,
			trgid: 0,
			trgiud: 0,
			appname: String,
			hostname: String,
			hostip: String,
			cuser: String,
			trgdate: 0001-01-01
		}
	]
}