axFuelService

<back to all web services

TspCardTurnover

Requires Authentication
The following routes are available for this service:
PUT/TspCardTurnover
TspCardTurnover Parameters:
NameParameterData TypeRequiredDescription
cardidbodystringNo
d1bodyDateTimeNo
d2bodyDateTimeNo
fuelidbodyintNo
UserNamebodystringNo
PasswordbodystringNo
TspCardTurnoverResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformCardTurnoverFNo
CardTurnoverF Parameters:
NameParameterData TypeRequiredDescription
TurnoverformList<CardTurnover>No
StartRemformdecimalNo
EndRemformdecimalNo
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 /TspCardTurnover 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","supp_id":0,"order_id":0}],"StartRem":0,"EndRem":0}}