axFuelService

<back to all web services

GetShifts

Requires Authentication
The following routes are available for this service:
GET/GetShifts
GetShifts Parameters:
NameParameterData TypeRequiredDescription
idqueryint?No
branch_idqueryint?No
d1queryDateTime?No
d2queryDateTime?No
GetShiftsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<ShiftsF>No
ShiftsF Parameters:
NameParameterData TypeRequiredDescription
BookedformboolNo
groupidformintNo
Shifts Parameters:
NameParameterData TypeRequiredDescription
idformintNo
Branch_idformintNo
D1formDateTimeNo
D2formDateTime?No
CalcformboolNo
FstMachineCountformintNo

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 /GetShifts 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":[{"id":0,"Branch_id":0,"D1":"\/Date(-62135596800000-0000)\/","D2":"\/Date(-62135596800000-0000)\/","Calc":false,"Booked":false,"FstMachineCount":0,"groupid":0}]}