These types of questions around the API are better asked in the Developer Forum (e.g., https://developer.genesys.cloud/forum/c/platform-api/5).
The 'top-level' version, the one for the entire schedule, will not change for an agent's schedule being changed. You can drill down to agent level information and those versions would change.
The top-level version will be incremented for two scenarios:
1. unpublished -> published
2. schedule description is added/updated
------------------------------
Jay Langsford
VP, R&D
------------------------------
Original Message:
Sent: 01-29-2023 11:38
From: Nick Simmons
Subject: Checking The Expected behavior of the Schedules datemodified field
Hi All,
When using the API /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules we get the schedule entities back,
When changes are made to a schedule the date modified gets changed but not the version number. Just wanted to check if this is expected.
Example if a user changes the name of a schedule then the version and date modified get updated, same for if a schedule gets published. (Makes sense tracking changes etc)
However if a user changes an agents activity then we seem to get the date modified updated but not the version. I just want to be sure this is the expected behavior as very useful to know when the schedules have been updated but don't want to use just for it to get changed if it should be linked to just the returned schedule information getting updated.
Hopefully a simple one to answer!
#WorkforceEngagementManagement
------------------------------
Nick Simmons
Virgin Atlantic Airways Ltd
------------------------------