axFuelService

<back to all web services

GetInvoices

Requires Authentication
The following routes are available for this service:
GET/GetInvoices
GetInvoices Parameters:
NameParameterData TypeRequiredDescription
Idqueryint?No
D1queryDateTime?No
D2queryDateTime?No
GetInvoicesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<InvoicesF>No
InvoicesF Parameters:
NameParameterData TypeRequiredDescription
CompanyNameformstringNo
PreorderNumformstringNo
PTypeNameformstringNo
UserNameformstringNo
CompanyCodeformstringNo
Invoices Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
DdateformDateTimeNo
CompanyIdformintNo
VgformdecimalNo
InvnumformstringNo
CommentformstringNo
VatformboolNo
PreorderIdformint?No
PTypeformint?No
CUserformstringNo
CrtimeformDateTime?No

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 /GetInvoices 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: 
	[
		{
			CompanyName: String,
			PreorderNum: String,
			PTypeName: String,
			UserName: String,
			CompanyCode: String,
			Id: 0,
			Ddate: 0001-01-01,
			CompanyId: 0,
			Vg: 0,
			Invnum: String,
			Comment: String,
			Vat: False,
			PreorderId: 0,
			PType: 0,
			CUser: String,
			Crtime: 0001-01-01
		}
	]
}