axFuelService

<back to all web services

TspCardTurnover2

The following routes are available for this service:
PUT/TspCardTurnover2
TspCardTurnover2 Parameters:
NameParameterData TypeRequiredDescription
cardidbodystringNo
d1bodyDateTimeNo
d2bodyDateTimeNo
fuelidbodyintNo
UserNamebodystringNo
PasswordbodystringNo
TspCardTurnover2Response Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformCardTurnoverF2No
CardTurnoverF2 Parameters:
NameParameterData TypeRequiredDescription
TurnoverformList<CardTurnover2>No
StartRemformdecimalNo
EndRemformdecimalNo
CardTurnover2 Parameters:
NameParameterData TypeRequiredDescription
branchIdformint?No
CardTurnover Parameters:
NameParameterData TypeRequiredDescription
NNformintNo
crtimeformDateTimeNo
corcardformstringNo
icountformdecimal?No
scountformdecimal?No
commentformstringNo
remformdecimalNo
brformstringNo
carnumberformstringNo
supp_idformint?No
order_idformint?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.

PUT /TspCardTurnover2 HTTP/1.1 
Host: axfuel.apex.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"cardid":"String","d1":"\/Date(-62135596800000-0000)\/","d2":"\/Date(-62135596800000-0000)\/","fuelid":0,"UserName":"String","Password":"String"}
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":{"Turnover":[{"NN":0,"crtime":"\/Date(-62135596800000-0000)\/","corcard":"String","icount":0,"scount":0,"comment":"String","rem":0,"br":"String","carnumber":"String","branchId":0,"supp_id":0,"order_id":0}],"StartRem":0,"EndRem":0}}