searchContacts

get

/ccstore/v1/selfservice/contacts

Search contacts in the customer data master. Note : This endpoint is operational only when customer data sync is enabled.

Request

Supported Media Types
Query Parameters
  • If true, only B2B contacts are included in the results. If false, results include contacts of other profile types.
    Default Value: true
  • This field determines if only organizational roles or all roles are to be returned for the member. Default value is 'organizationalRolesForCurrentOrganization'. Possible values are 'organizationalRolesForCurrentOrganization', 'allRolesForCurrentOrganization'.
    Default Value: organizationalRolesForCurrentOrganization
  • The keyword used to search the contact
  • The maximum number of items to return.
  • Numeric offset of the first item returned.
  • Query string that filters the contacts and supports only eq operator.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : SearchContact_response
Type: object
Show Source
Example:
{
    "totalResults":1,
    "offset":0,
    "limit":1,
    "hasMore":false,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/selfservice/contacts?keyword=Laura&limit=1"
        },
        {
            "rel":"next",
            "href":"http://localhost:9080/ccadminui/v1/selfservice/contacts?keyword=Laura&limit=1&offset=1"
        }
    ],
    "items":[
        {
            "firstName":"Laura",
            "lastName":"Brown",
            "phone":"111-555-1111",
            "partyNumber":"CDRM_11111",
            "partyId":"100101114441",
            "email":"laurabrown@example.com",
            "primaryAccountName":"Oracle"
        }
    ]
}
Nested Schema : items
Type: array
List of contacts.
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

When request payload is not correct or properties are missing.
Body ()
Root Schema : errorModel400
Type: object
Show Source

Default Response

The default error response. The following are the internal error codes thrown by this API: |Error Code|Description| |------------------|------------------| |58001|Internal server error.| |58002|JSON related error.| |58003|Invalid configuration error.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top