POST api/GetCommonShiftPatternForWeek

Get an employee's shift pattern for a week

Request Information

Payload

NamePayload ParametersAdditional information
Parameters int Personnel_Number
DateTime StartDate

None.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Date": "2025-04-29T18:39:13.9432009+01:00",
    "ShiftPattern": "sample string 2",
    "RestDay": true
  },
  {
    "Date": "2025-04-29T18:39:13.9432009+01:00",
    "ShiftPattern": "sample string 2",
    "RestDay": true
  },
  {
    "Date": "2025-04-29T18:39:13.9432009+01:00",
    "ShiftPattern": "sample string 2",
    "RestDay": true
  }
]

text/html

Sample:
[{"Date":"2025-04-29T18:39:13.9432009+01:00","ShiftPattern":"sample string 2","RestDay":true},{"Date":"2025-04-29T18:39:13.9432009+01:00","ShiftPattern":"sample string 2","RestDay":true},{"Date":"2025-04-29T18:39:13.9432009+01:00","ShiftPattern":"sample string 2","RestDay":true}]

application/xml, text/xml

Sample:
<ArrayOfWeeklyRota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Common">
  <WeeklyRota>
    <Date>2025-04-29T18:39:13.9432009+01:00</Date>
    <RestDay>true</RestDay>
    <ShiftPattern>sample string 2</ShiftPattern>
  </WeeklyRota>
  <WeeklyRota>
    <Date>2025-04-29T18:39:13.9432009+01:00</Date>
    <RestDay>true</RestDay>
    <ShiftPattern>sample string 2</ShiftPattern>
  </WeeklyRota>
  <WeeklyRota>
    <Date>2025-04-29T18:39:13.9432009+01:00</Date>
    <RestDay>true</RestDay>
    <ShiftPattern>sample string 2</ShiftPattern>
  </WeeklyRota>
</ArrayOfWeeklyRota>