GET Shift/List?cId={cId}&date={date}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cId | integer |
Required |
|
date | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ShiftDataName | Description | Type | Additional information |
---|---|---|---|
Day | string |
None. |
|
DayText | string |
None. |
|
Shifts | Collection of ShiftDataItem |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Day": "sample string 1", "DayText": "sample string 2", "Shifts": [ { "Start": "sample string 1", "End": "sample string 2", "AutoOnline": true, "AutoOffline": true }, { "Start": "sample string 1", "End": "sample string 2", "AutoOnline": true, "AutoOffline": true } ] }, { "Day": "sample string 1", "DayText": "sample string 2", "Shifts": [ { "Start": "sample string 1", "End": "sample string 2", "AutoOnline": true, "AutoOffline": true }, { "Start": "sample string 1", "End": "sample string 2", "AutoOnline": true, "AutoOffline": true } ] } ]
application/xml, text/xml
Sample:
<ArrayOfShiftRepository.ShiftData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <ShiftRepository.ShiftData> <Day>sample string 1</Day> <DayText>sample string 2</DayText> <Shifts> <ShiftRepository.ShiftDataItem> <AutoOffline>true</AutoOffline> <AutoOnline>true</AutoOnline> <End>sample string 2</End> <Start>sample string 1</Start> </ShiftRepository.ShiftDataItem> <ShiftRepository.ShiftDataItem> <AutoOffline>true</AutoOffline> <AutoOnline>true</AutoOnline> <End>sample string 2</End> <Start>sample string 1</Start> </ShiftRepository.ShiftDataItem> </Shifts> </ShiftRepository.ShiftData> <ShiftRepository.ShiftData> <Day>sample string 1</Day> <DayText>sample string 2</DayText> <Shifts> <ShiftRepository.ShiftDataItem> <AutoOffline>true</AutoOffline> <AutoOnline>true</AutoOnline> <End>sample string 2</End> <Start>sample string 1</Start> </ShiftRepository.ShiftDataItem> <ShiftRepository.ShiftDataItem> <AutoOffline>true</AutoOffline> <AutoOnline>true</AutoOnline> <End>sample string 2</End> <Start>sample string 1</Start> </ShiftRepository.ShiftDataItem> </Shifts> </ShiftRepository.ShiftData> </ArrayOfShiftRepository.ShiftData>