POST api/GetCommonShiftPatternForWeek
Get an employee's shift pattern for a week
Request Information
Payload
| Name | Payload Parameters | Additional information |
|---|---|---|
| Parameters |
int Personnel_Number DateTime StartDate |
None. |
Response Information
Response body formats
application/json, text/json
[
{
"Date": "2025-10-25T08:53:35.2532845+01:00",
"ShiftPattern": "sample string 2",
"RestDay": true
},
{
"Date": "2025-10-25T08:53:35.2532845+01:00",
"ShiftPattern": "sample string 2",
"RestDay": true
},
{
"Date": "2025-10-25T08:53:35.2532845+01:00",
"ShiftPattern": "sample string 2",
"RestDay": true
}
]
text/html
[{"Date":"2025-10-25T08:53:35.2532845+01:00","ShiftPattern":"sample string 2","RestDay":true},{"Date":"2025-10-25T08:53:35.2532845+01:00","ShiftPattern":"sample string 2","RestDay":true},{"Date":"2025-10-25T08:53:35.2532845+01:00","ShiftPattern":"sample string 2","RestDay":true}]
application/xml, text/xml
<ArrayOfWeeklyRota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Common">
<WeeklyRota>
<Date>2025-10-25T08:53:35.2532845+01:00</Date>
<RestDay>true</RestDay>
<ShiftPattern>sample string 2</ShiftPattern>
</WeeklyRota>
<WeeklyRota>
<Date>2025-10-25T08:53:35.2532845+01:00</Date>
<RestDay>true</RestDay>
<ShiftPattern>sample string 2</ShiftPattern>
</WeeklyRota>
<WeeklyRota>
<Date>2025-10-25T08:53:35.2532845+01:00</Date>
<RestDay>true</RestDay>
<ShiftPattern>sample string 2</ShiftPattern>
</WeeklyRota>
</ArrayOfWeeklyRota>