• 179 Topics
  • 438 Replies

179 Topics

Extract full work schedules via API

This is what one of our work schedules looks like. I want to extract that information via the API. The API is functional, but only extracts the “Hours per day” not the “Work hours” or “Break”. A sample response from the API looks as follows:                "work_schedule": {                    "label": "Work schedule",                    "value": {                        "type": "WorkSchedule",                        "attributes": {                            "id": 295076,                            "name": "Teilzeit, 32h (8:00, Mo - Do)",                            "valid_from": "2021-10-01",                            "monday": "08:00",                            "tuesday": "08:00",                            "wednesday": "08:00",                            "thursday": "08:00",                            "friday": "00:00",                            "saturday": "00:00",                            "sunday": "00:00"                        }                    },                    "typ