Legacy Dev Forum Posts

 View Only

Sign Up

Agents list based on schedule

  • 1.  Agents list based on schedule

    Posted 06-05-2025 18:20

    bharath_gowda | 2021-08-18 14:47:59 UTC | #1

    Hi,

    How can i get the list of available agents based on schedule?

    Thanks


    brian.trezise | 2021-08-18 16:51:46 UTC | #2

    Are you asking about workforce management schedules? Can you expand a bit on what you're trying to accomplish?


    bharath_gowda | 2021-08-19 11:01:56 UTC | #3

    Yes. Workforce management schedules. I need agents available in a particular schedule. Is there any api available?


    brian.trezise | 2021-08-19 13:10:24 UTC | #4

    If you're wanting to get a list of the agents on a particular schedule, the doc for the route you need is here: GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}

    You'll need to supply a query parameter of ?expand=managementUnits.agents (which I note is not appearing in the allowed values section as it should, which I'll check into)

    Does this answer your question?


    system | 2021-09-19 13:11:14 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11771