GET
/
timmi-settings
/
api
/
working-time-arrangements
/
{workingTimeArrangementId}
/
collective-schedules
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/timmi-settings/api/working-time-arrangements/{workingTimeArrangementId}/collective-schedules
{
  "items": [
    {
      "id": 1,
      "workingTimeArrangementId": 1,
      "startsOn": "2023-12-25",
      "endsOn": "2023-12-25",
      "pattern": {
        "shape": "singleWeek",
        "monday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "tuesday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "wednesday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "thursday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "friday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "saturday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        },
        "sunday": {
          "id": 1,
          "dayOffType": "off",
          "shifts": [
            {
              "position": "firstHalf",
              "startsAt": "<string>",
              "duration": {
                "value": 1,
                "iso": "<string>",
                "unit": "days"
              }
            }
          ],
          "workDuration": {
            "value": 1,
            "iso": "<string>",
            "unit": "days"
          }
        }
      },
      "splitsHalfDays": true
    }
  ]
}

Path Parameters

workingTimeArrangementId
integer
required

The unique identifier of the Working Time Arrangement.

Required range: x > 0

Query Parameters

limit
integer
default:
10

Number of items per page

Required range: 0 < x < 100
page
string

Next page token

fields.root
enum<string>

Include collection properties.

Available options:
count
sort
enum<string>
default:
-startsOn

Sort items by a property.

Available options:
-startsOn

Response

200
application/json
OK
items
object[]