최근 검색


최근 검색 없음

Group members total difference between admin view and API data



2022년 10월 20일에 게시됨

We have noticed a difference between the number of agents assigned to a group when viewed in Admin/People/Team/Groups and in the data when the group members are downloaded using the API.

The difference in our current example is 174 (admin view) to 179 (API data). This is significant as we use this data to apportion costs based on the number of agents in a group.

Has this been observed before and is there a solution please ?


0

2

댓글 2개

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi David! I saw that you have an open ticket for this, so I checked the API that you were using. I saw that it was via an undocumented side-load, /api/v2/users.json?group_id={}. For a list of supported options, check this article. Since it isn't documented, I can't say what the behavior is supposed to be. Instead could you use a supported request via the group memberships endpoint and see if the discrepancy persists there? 
 
Additionally, I compared the example that you shared in that ticket and I saw 178 in the admin view and 178 via the API, even with the unsupported endpoint. If you are making changes and then immediately querying via the API, there is a possibility that you're receiving stale data, as it may have been a cached response. 

0


Thanks Greg. You are correct in that I found the URL used to obtain the data from another online article and not in the one you suggested. So far the 'supported' suggestions don't appear to deliver exactly what I was hoping to do however I'll have another go as I'm still seeing the discrepancy previously reported.

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물