List Account contacts


                https://api.ocamba.com/v2/adex/accounts/{id}/contacts
            

Returns a list of Account contacts


Name
Description
account_idstringrequired
Unique account identifier defined as a path parameter.


Example: 12345

Name
Description
q_fieldsstring
Use the q_fields parameter to list all fields you want to include in the search using q parameter. Note that not all fields are searchable on a specific object. If parameter q_fields is not specified, search is performed on a default search field.

Examples:
GET /VERSION/adex/RESOURCE_NAME?q=sou&q_fields=lname → API retuns a certain resource whose lname contains string 'sou'.
GET /VERSION/adex/RESOURCE_NAME?q=sou&q_fields=fname,lname,email → API returns a certain resource that contain string 'sou' in any of the specified fields.

See tips for the list of searchable parameters.

qstring
Set the q parameter value to search for a keyword or search term.

Example:
GET /VERSION/adex/RESOURCE_NAME?q=sou → returns a certain resource that contain string 'sou'

See tips for the list of searchable parameters.


200 - OK
Arrow
Name
Description
items[ contact ]
An array of all created items.
Contact
Name
Description
idstring (uuid)
A unique identifier generated by the Ocamba platform.


Example: 95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b

typestring
Describes type of the contact.


Example: email

Possible values: phone | mobile | skype | sip | email | website

valuestring
Contact value.


Example: [email protected]

totalinteger
A total number of items.


Example: 3
tip
1 If you don't know the account id, list the accounts to find it.
200 Arrow
{
    "total": 3,
    "items": [
        {
            "id": "84de7027-4306-4d59-b485-a89c31cb10fa",
            "type": "email",
            "value": "[email protected]"
        },
        {
            "id": "47e27c2e-e662-4215-9969-3063292c6ed8",
            "type": "phone",
            "value": "43164324"
        },
        {
            "id": "cfff331c-4a10-4b4b-be77-8ce1dc7fc3d0",
            "type": "mobile",
            "value": "43164324"
        }
    ]
}
{
  "total": 3,
  "items": [
    {
      "id": "95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b",
      "value": "[email protected]",
      "type": "email"
    }
  ]
}