cURL
curl --request POST \ --url https://api-{region}.sesametime.com/schedule/v1/holidays/{holidayCalendarId}/employees \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "employees": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "startDate": "2023-12-25" } '
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "firstName": "<string>", "lastName": "<string>", "email": "jsmith@example.com", "countHolidayTemplates": 123 } ], "meta": { "currentPage": 1, "lastPage": 1, "total": 1, "perPage": 1 } }
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
Holiday Calendar Id
Assign Holiday Calendar To Employee
Array of Objects
Show child attributes
Suggestions