Reading person object with DBID in GWS

Hi,

Can anyone please let me know the request type for reading person object using person dbid in GWS. I tried “api/v2/platform/configuration/persons?person_dbid=23177” and "api/v2/platform/configuration/persons?dbid=23177 and api/v2/platform/configuration/persons?id=23177 - but it gives supervisor agents

any idea please let me know, also if we can get group id with Agent group name - that also helps.

Thanks,
Kumar

have you tried /api/v2/platform/configuration/persons/23177
?

I apologize for the delayed response.

Actually, the issue was reading person objects from a group. I’m able to read it now with below API request

/api/v2/me/groups?type=BusinessUnit&fields=* - this request returned the list of group object which the user is part of.

Then I took group DBID and sent below request

“/api/v2/groups/” + groupID + “/users?subresources=&fields=&limit=100&offset=0&order=Ascending&roles=ROLE_AGENT&sortBy=lastName,firstName”

In the response, I received all person objects with “Agent” role.

Thanks,
Kumar