mayliwk | 2016-07-11 16:21:36 UTC | #1
I am not receiving any results when I try to run GetQueuesQueueIdUsers.
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/3be9d1655be3fd412d3389310cdd50793540058d.png" width="690" height="369">
But when I copy the URL from the selfURI property to Postman, I receive the results I am looking for. <img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/c28722b5f05576a0dc9b043e0af81881bc5c20f7.png" width="690" height="413">
Any thoughts?
KevinGlinski | 2016-07-08 15:26:03 UTC | #2
Have you tried stepping into the GetQueuesQueueIdUsers method?
mayliwk | 2016-07-08 16:04:19 UTC | #3
I have stepped through my code with no issue (except the empty data set). I am unable to step through the code for GetQueuesQueueIdUsers though.
tim.smith | 2016-07-11 17:00:04 UTC | #4
The API defines the response for GET /api/v2/routing/queues/{{queueId}}/users as a single entity, which results in a single QueueMember object as the defined response type in the SDK. In reality, the API returns a paged collection of entities. The SDK is built based on the documented definition and is therefore unable to find any data necessary to populate the QueueMember object. I've logged issue API-1703 to fix the definition and rebuild the SDKs once it makes it to prod.
system | 2017-08-28 19:25:13 UTC | #5
This post was migrated from the old Developer Forum.
ref: 126