PULSAR

Get Shifts Capture Window

List shifts capture window.

Authorization

bearerAuth superuser
Authorization<token>

In: header

Scope: superuser

Query Parameters

machineId*array<>

The machine's ID.

nDays?number

Filter by n days.

Formatdouble
Default14

Response Body

application/json

Try it live
GET
/v1/public/shifts/capture-window

This endpoint requires authentication — use the Login page at the top of the API Reference, or paste a token in the Authorization section below.

curl -X GET "https://example.com/v1/public/shifts/capture-window?machineId=0.1"
[  {    "title": "string",    "end_time": "2019-08-24T14:15:22Z",    "start_time": "2019-08-24T14:15:22Z",    "shiftScheduleId": 0.1,    "machineId": 0.1,    "companyId": 0.1,    "id": 0.1  }]