searchContacts

get

/ccadmin/v1/selfservice/contacts/search

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
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