Hi all. In the .NET SDK does recent work for the weekId in GetWorkforcemanagementBusinessunitWeekSchedules()? I see in the code comments
/// Use "recent" for the weekId path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any schedule which spans the specified week
/// First day of schedule week in yyyy-MM-dd format, or 'recent' to get recent schedules
I've escaped it several different ways based on what I see in the comments above but the API call fails when I try to use recent. Just wanted to make sure that value for the weekId works.
This route literally uses recent as the value. No quotes should be passed, whether escaped or otherwise. The doc simply quotes the word "recent" to separate it from the rest of the sentence. Please let me know if this resolves your issue.
I put in a change last week to add the text (without quotes) to the relevant documentation to clarify the expected value, that should show up in the documentation within a couple of weeks. Thanks for reaching out, let us know if you have other questions