canderson | 2020-06-17 13:43:59 UTC | #1
I'm making a call to get user profile information (v2/users/{userId}/profile) to get a user's manager. When I run the query in the API Explorer, or watch my query run in Fiddler, I see the "relationship" information. Unforunately, that data doesn't map to any fields in the UserProfile class in the .NET SDK.
Am I missing something, or do I need to make this request as a raw HTTP query in order to see this data?
Even beyond the "relationships" section of the response, I don't see anything in the "general" section, with name, title and department. Is there a reason this data is returned in the query but not mapped in the return object?
tim.smith | 2020-06-18 13:59:48 UTC | #2
This is a bug in the API as it is failing to document that the relationships and general properties exist. A quick look shows me that the organizationId and divisionId properties are also missing from the documentation. Please open a case with Genesys Cloud Care to report these missing properties. Once the issue is fixed in the API, the API documentation and SDKs will reflect the change.
system | 2020-07-19 13:59:49 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 8045