My Oracle Support Banner

Unable to Search for User By Display Name via Oracle Cloud and Experience (OCE) Rest API (Doc ID 2659998.1)

Last updated on MARCH 16, 2023

Applies to:

Content and Experience Cloud - Version 18.2.5 and later
Content and Experience Cloud Service - Version 18.2.5 and later
Content and Experience Cloud Classic - Version 18.2.5 and later
Information in this document applies to any platform.

Goal

Attempted to search usernames, email address were returned, desired the display name.

GET Request on the following endpoint: '${contentServer}/osn/social/api/v1/people?filter={"excludeHidden":true,"isEnabled":false,"isDisabled":false,"startsWith":"abc"}'

Search for usernames that start with 'abc'  -  returns email addresses for all the names.

Test Case:

Tested the following: /osn/social/api/v1/people?filter={"excludeHidden":true,"isEnabled":false,"isDisabled":false,"startsWith":"abc"} This returns the user because the email/name starts with abc. But if the filter is "startsWith":"xyz", there are no results. The display name and fullname is "xyz abc"

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.