Update Bullseye ring number of user in queue

Hi,

I'm pretty bad at programming, but I'm trying to update the bullseye ring of a user via PATCH (Routing > queues)" Update the ring number OR joined status for a User in a Queue"

However, when I fill in the queueId and the memberId, and change "ringNumber": 4, it doesn't work. What am I doing wrong?

Is the memberId the same as the userId?

Can you clarify what you mean by, "it doesn't work"? What is the result of your update attempt? What response code do you receive?

Hi, sorry for the slow reply.

At first I got 400 Bad Request: "message": "Value [] is not valid for field type [Status]. Allowable values are: OFF_QUEUE, IDLE, INTERACTING, NOT_RESPONDING, COMMUNICATING".

Which I find a weird error, because it says this is optional and I don't see why I need to change this.

However, if I set the status to IDLE, it gives me 202 Accepted, but nothing changes.

I filled in the following:

and
"ringNumber": 4,
"joined": true,
"memberBy": "",
"routingStatus": {
"userId": "",
"status": "IDLE",
"startTime": ""

For your use case, just remove the entire user property.

1 Like

Edit: it works! Thanks a lot.

By the way, is there a way to do this for multiple queues at the same time?

You're welcome.

No you have to call the API on each queue that you want to update.

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