axFuelService

<back to all web services

GetTfExpenseByCompany

Requires Authentication
The following routes are available for this service:
GET/GetTfExpenseByCompany
GetTfExpenseByCompany Parameters:
NameParameterData TypeRequiredDescription
d1queryDateTimeNo
d2queryDateTimeNo
companyIDqueryint?No
GetTfExpenseByCompanyResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<TfExpenseByCompany>No
TfExpenseByCompany Parameters:
NameParameterData TypeRequiredDescription
fuel_idformintNo
codeformstringNo
fuelnameformstringNo
scountformdecimalNo
trtypeformstringNo
company_idformintNo
rs_codeformstringNo
companynameformstringNo

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 /GetTfExpenseByCompany 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":[{"fuel_id":0,"code":"String","fuelname":"String","scount":0,"trtype":"String","company_id":0,"rs_code":"String","companyname":"String"}]}