POST api/zeiten/list

Handles the HTTP POST request to retrieve a list of working hours (Arbeitszeiten) for a specific employee within a given date range.

Request Information

URI Parameters

None.

Body Parameters

The request object containing the PersonalID and the date range (DateFrom and DateTo) for which to retrieve the working hours.

GetArbeitszeitenRequest
NameDescriptionTypeAdditional information
PersonalID

integer

None.

DateFrom

date

None.

DateTo

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonalID": 1,
  "DateFrom": "2026-04-12T12:50:12.2632448+02:00",
  "DateTo": "2026-04-12T12:50:12.2632448+02:00"
}

application/xml, text/xml

Sample:
<GetArbeitszeitenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Redel.Digital.Forms.Models.Requests">
  <DateFrom>2026-04-12T12:50:12.2632448+02:00</DateFrom>
  <DateTo>2026-04-12T12:50:12.2632448+02:00</DateTo>
  <PersonalID>1</PersonalID>
</GetArbeitszeitenRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetArbeitszeitenRequest'.

Response Information

Resource Description

An that represents the result of the operation. Returns a 200 OK response with a list of if successful, a 404 Not Found if no records are found, or a 400 Bad Request if an error occurs.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.