Search for preferred credentials

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/namedCredentials/actions/searchPreferredCredential

Searches for matching preferred credentials based on the filters provided in the request payload.

Request

Query Parameters
  • whether total number of results shall be returned.
    Example:
    true
  • Minimum Value: 1
    Maximum Value: 2000
    Number of Preferred credentials to be fetched
    Default Value: 20
    Example:
    20
  • system generated page token used in the self, next and previous links.
  • the order of the result set with direction. Allowed sort fields are targetName, setName, targetTypeName, isDefault, isGlobal, isCredSetConfigured. Allowed directions are ASC and DESC. To sort more than one field, provide comma separated values like field1:direction1,field2:direction2
    Example:
    type:ASC,name:DESC
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Schema object to hold preferred credential search payload
Show Source
Nested Schema : setName
Type: array
credential set name
Show Source
Nested Schema : setNameContains
Type: array
Preferred credential set name pattern to be filtered. Case sensitive.
Show Source
Nested Schema : targetName
Type: array
target name of preferred credential
Show Source
Nested Schema : targetNameContains
Type: array
target name of the preferred credential to be filtered
Show Source
Nested Schema : targetTypeName
Type: array
targetType of preferred credential
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

List of preferred credentials returned successfully
Body ()
Root Schema : PreferredCredentialCollection
Type: object
This is the representation of list of preferred credentials.
Show Source
Nested Schema : items
Type: array
the Preferred credentials list
Show Source
Nested Schema : PreferredCredential
Type: object
Schema object to hold Preferred Credential data returned from the search action
Show Source
  • Unique identifier for a named credential
    Example: B0FBBE587FD201E2E0537013790A7D03
  • true when preferred credential is configured for given case and link to NC is available. when effective value is there and not configured set as false but NC link is available. If no Preferred set at all then false and no link to NC.
    Example: false
  • links
  • Unique identifier for target type
    Example: DD395385F69A25570431A719EEA45030
Match All
Show Source
Nested Schema : PreferredCredentialCommon
Type: object
Common schema object to hold Preferred Credential data
Show Source
Back to Top