ObsTech
January 16

Fantastic, thank you very much!


Visit Topic to respond.


In Reply To

brian.trezise Genesys Employee
January 6
The version numbers are supplied on the response when you fetch the schedules. Note you can't use the "schedule search" route, you have to be using the main query route. You get the top-level schedule metadata via this route: GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{we…

Previous Replies

brian.trezise Genesys Employee
January 6

The version numbers are supplied on the response when you fetch the schedules. Note you can't use the "schedule search" route, you have to be using the main query route.

You get the top-level schedule metadata via this route:
GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}
and you can load the agent schedules, per management unit, via this route

POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query

All necessary version info is present in the responses from these routes.

ObsTech
December 26, 2024

Is there an endpoint that I can use to find the current version number of the root schedule and agent schedule numbers? I'm planning on using the API to update the agent schedules but in the event of a manual change I want to make sure the API doesn't break because it no longer knows the version. I realize when it fails the error given will give the expected number for one or the other. But most other APIs that i have seen have a get that i can call to retrieve the version number before I go through the process.


Visit Topic to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.