PaulBerlin | 2022-12-20 09:58:53 UTC | #1
Hello :wave:, I'd like to extract the Holidays of a Schedule Group. See attached screenshot; I'd like to query a Schedule Group's Holidays incl. their details (actual day or even hour). Is there an Export functionality or (even better) an API endpoint for that? I couldn't find anything around Schedule Groups.
thanks a lot! Paul.
John_Carnell | 2022-12-20 14:51:59 UTC | #2
Hi Paul,
Take a look here API. In this API there is a holidaysSchedule attribute that contains a list of the GUIDs to the holiday schedule. You can find the individual schedule information here. Hope that helps.
Thanks, John Carnell Manager, Developer Engagement
PaulBerlin | 2022-12-20 14:02:45 UTC | #3
Thank you John, that indeed looks good. Now just need to find an admin to grant me access in my org :)
John_Carnell | 2022-12-20 14:52:03 UTC | #4
mostafaawad | 2022-12-20 16:17:51 UTC | #5
You will need to extract the holiday schedules assigned to a schedule group via this endpoint GET /api/v2/architect/schedulegroups then you will need to get the time and days details from each holiday schedule by its id from this endpoint GET /api/v2/architect/schedules/{scheduleId}
This post was migrated from the old Developer Forum.
ref: 17707