Accessing vacation or non-working day schedule

Hi, is there a way I can get the non-working days for each user? Typically users will set their vacation days through the web UI like this:

When I pull the timelogs for a project, I need to be able to automate an alert for under-booked time, and I can't really do this without knowing if a user just wasn't working.

Thanks!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
7 comentários

James Beck

https://developers.wrike.com/api/v4/user-schedule-exceptions/

Could try out the User Schedule Exceptions, I've marked in my calendar a vacation date like this:

 

and query to the API gives me this result:

{
    "kind": "workscheduleUserExclusions",
    "data": [
        {
            "id": "MASKEDOFF",
            "userId": "MASKEDOFF",
            "fromDate": "2025-06-06",
            "toDate": "2025-06-06",
            "isWorkDays": false,
            "exclusionType": "VacationPTO"
        }
    ]
}
 
Hope that helps!
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

choongseng that's a great tip, thank you. Unfortunately, it looks like you need a higher plan than Business in order to access it. I get the following:

{
"errorDescription": "Method '[GET] /user-schedule-exceptions' is not supported",
"error": "method_not_found"
}
Is that the case, or do you think I've got something else not working properly?
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi James Beck, I can raise a Support ticket for you if you'd like to speak with our API specialists; let me know! 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Lisa that'd be great!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

James Beck Done! Someone from the team will reach out to you 👍
Let me know if there's anything else I can help you with. 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

HA! Roman (on the support team) helped me figure out the issue. I was using the endpoint `/user_schedule_exceptions` instead of `/user_schedule_exclusions`. Tricky!

Thanks for jumping in Lisa!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Happy to help James Beck 🙂 And thanks for posting the solution here! 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Accessing vacation or non-working day schedule
[this list is visible for admins and agents only]

Alto

Upcoming Live Sessions

Didn’t find what you were looking for? Write new post