Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Recursively run API

    Posted 06-05-2025 18:22

    kbowen | 2022-05-05 23:25:48 UTC | #1

    Hello,

    I need to update 100+ members in a large queue to be in ring group 2 (from 1.) I found this in the explorer for this purpose: https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-routing-queues--queueId--members--memberId-

    However, it will only allow one memberid at a time in the path parameters. Is there a way to either run this with multiple memberids together or run through a list of memberids in the same queue? I am trying to avoid doing it one memberid at a time if possible.

    Thank you


    jacobshaw | 2022-05-06 23:02:23 UTC | #2

    Hi @kbowen PATCH /api/v2/routing/queues/{queueId}/members This resource allows you to update the members of a queue. It takes a a list of members in the request body. I haven't tested, but you should be able to iterate through the members, update them as necessary, and add them all to this single request.


    kbowen | 2022-05-06 23:49:33 UTC | #3

    Hi @jacobshaw,

    Thanks for this - I did try it just now and see it has ringNumber in it. I tried it with just memberID and ringNumber with no luck. I then added "joined": true and got 200 OK. However, the ring number still fails to update with this one.


    system | 2022-06-06 23:50:15 UTC | #4

    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: 14613