searchAccounts

get

/ccadmin/v1/selfservice/accounts/search

Search accounts 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 : SearchAccount_response
Type: object
Show Source
Example:
{
    "totalResults":542,
    "offset":0,
    "limit":1,
    "hasMore":true,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/selfservice/accounts?keyword=FG&limit=1"
        },
        {
            "rel":"next",
            "href":"http://localhost:9080/ccadminui/v1/selfservice/accounts?keyword=FG&limit=1&offset=1"
        }
    ],
    "items":[
        {
            "primaryContact":"Laura Brown",
            "name":"Oracle",
            "primaryAddress":{
                "formattedAddress":"36130 600 Oracle Avenue Street 2"
            },
            "partyNumber":"CDRM_11111",
            "partyId":"100101114441",
            "dunsNumber":"123456789"
        }
    ]
}
Nested Schema : items
Type: array
List of accounts.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : PrimaryAddress
Type: object
Primary Address of an account
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