jack.cao | 2024-03-07 18:52:15 UTC | #1
Hi Genesys team,
I am experimenting with the GetScimUsers API (https://developer.genesys.cloud/useragentman/scim/scim-apis#get-api-v2-scim-users) using the go client SDK, and my intention is to list all the users for a customer and only returns the ID and UserName field for each user. (I want to set a large page-size in the request so I want the API to return only the necessary fields)
What I noticed is that if I set the parameter as
Attributes: []string{"id", "userName"}
ExcludedAttributes: []string{}
there are five fields returned in the response for each user, which includes id, userName, schemas, meta and urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.
I tried to set "schemas" or "meta" or "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User" in ExcludedAttributes.
- If I set "schemas" or "meta", I got error "failed to get all users: rpc error: code = Internal desc ="
- if I set "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User", the API request got stuck there.
May I know what I should do to workaround this issue?
Thanks! Jack
tim.smith | 2024-03-07 20:04:43 UTC | #2
jack.cao, post:1, topic:25076
- If I set "schemas" or "meta", I got error "failed to get all users: rpc error: code = Internal desc ="
- if I set "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User", the API request got stuck there.
Please open a case with Genesys Cloud Care to report this bug that the API is not behaving as documented.
system | 2024-04-06 20:04:55 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 25076