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 .csv suffix or ?format=csv

HTTP + CSV

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/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":[{"CompanyName":"String","PreorderNum":"String","PTypeName":"String","UserName":"String","CompanyCode":"String","Id":0,"Ddate":"\/Date(-62135596800000-0000)\/","CompanyId":0,"Vg":0,"Invnum":"String","Comment":"String","Vat":false,"PreorderId":0,"PType":0,"CUser":"String","Crtime":"\/Date(-62135596800000-0000)\/"}]}