GET PlanCare2Api/Shifts

Retrieve all shifts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of shifts.

Collection of Shift
NameDescriptionTypeAdditional information
Id

The internal id of the Shift

integer

None

Name

The name of the Shift

string

None

TimeFrom

The starttime of the shift

date

None

TimeUntil

The endtime of the shift

date

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "TimeFrom": "2026-05-26T22:08:37.1001662+02:00",
    "TimeUntil": "2026-05-26T22:08:37.1001662+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShift xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
  <Shift>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <TimeFrom>2026-05-26T22:08:37.1001662+02:00</TimeFrom>
    <TimeUntil>2026-05-26T22:08:37.1001662+02:00</TimeUntil>
  </Shift>
  <Shift>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <TimeFrom>2026-05-26T22:08:37.1001662+02:00</TimeFrom>
    <TimeUntil>2026-05-26T22:08:37.1001662+02:00</TimeUntil>
  </Shift>
</ArrayOfShift>