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
Name Description Type Additional information
Id

The internal id of the Shift

integer

-

Name

The name of the Shift

string

-

TimeFrom

The starttime of the shift

date

-

TimeUntil

The endtime of the shift

date

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "TimeFrom": "2026-05-26T21:10:46.9042292+02:00",
    "TimeUntil": "2026-05-26T21:10:46.9042292+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-26T21:10:46.9042292+02:00</TimeFrom>
    <TimeUntil>2026-05-26T21:10:46.9042292+02:00</TimeUntil>
  </Shift>
  <Shift>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <TimeFrom>2026-05-26T21:10:46.9042292+02:00</TimeFrom>
    <TimeUntil>2026-05-26T21:10:46.9042292+02:00</TimeUntil>
  </Shift>
</ArrayOfShift>