When PATCH https://api.mypurecloud.de/api/v2/users/{userId}/queues with queue ids such as
[
{
"id": "queueid_1",
"joined": false,
"name": "nameofqueue1",
"selfUri": "/api/v2/routing/queues/queueid_1"
},
{
"id": "queueid_2",
"joined": false,
"name": "nameofqueue2",
"selfUri": "/api/v2/routing/queues/queueid_2"
}
]
we noticed that the 200 OK would contain the joined parameter still set to true as it was before the PATCH.
{
"entities": [
{
"id": "queueid_1",
"name": "nameofqueue1",
"joined": true,
"selfUri": "/api/v2/routing/queues/queueid_1"
},
{
"id": "queueid_2",
"name": "nameofqueue2",
"joined": true,
"selfUri": "/api/v2/routing/queues/queueid_2"
}
],
"pageSize": 2,
"pageNumber": 1,
"total": 2,
"lastUri": "/api/v2/users/{userid}/queues?pageSize=2&pageNumber=1",
"firstUri": "/api/v2/users/{userid}/queues?pageSize=2&pageNumber=1",
"selfUri": "/api/v2/users/{userid}/queues?pageSize=2&pageNumber=1",
"pageCount": 1
}
Similar result via Genesys Cloud UI using the dev console and using the API explorer.
We have a partner that developed some logic on top of the joined parameter from the response and due to their understanding of the 200 OK response, they are setting misleading queues active to agents in the UI.