View Account


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

Retrieves the details of an Account that has previously been created if a valid identifier was provided


Name
Description
idstringrequired
Unique account id.


Example: 74752794322

Name
Description
fieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.

Example GET /VERSION/adex/RESOURCE_NAME?fields=id,name

See "Tips" for the list of filterable parameters.


Example: fields=field1,field2,field3

viewstring
Adex API returns full representation of the resource using the “view=full” query parameter. If not specified, the default view will be used.

Note that the “fields” parameter has precedence over the “view” parameter.


Example: view=full/default


200 - OK
Arrow
Name
Description
items[ account ]
An array of all created items.
Account
Name
Description
company_idstring
A unique company identifier generated by the Ocamba platform.


Example: 1234123

configured_statusstring
The configured_status reflects the current status of the account configured by the client.


Example: active

Possible values: active | verification | rejected | paused | inactive | archived

Default: active

contacts[ contact ]
List of contact objects.
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]

create_timedateTime
Timezone: GMT.


Example: 2021-10-29 12:47:00

creator_idstring
A unique creator identifier generated by the Ocamba platform.


Example: 1235523

feedsobject

Name
Description
postbacksstring



Example: https://google.com

idstring
Unique account identifier generated by the Ocamba platform.


Example: 52794322

imagestring (uri)
Represent the image of account.


Example: https://path/logo.jpeg

is_defaultinteger
Specifying default status of account.


Example: 1

Possible values: 0 | 1

Default: 1

namestring
Name of the account.


Example: Demo_account

statusstring
The status reflects the current status of the account which may be overridden by some background processes.


Example: active

Possible values: active | verification | rejected | paused | inactive | archived | hourly-limit | daily-limit | monthly-limit

Default: active

update_timedateTime
Timezone: GMT.


Example: 2021-10-30 14:27:26

totalinteger
A total number of items.


Example: 1
tip
1 If you don't know the account id, list the accounts to find it.
200 Arrow
{
  "total": 1,
  "items": [
    {
      "id": "52794322",
      "company_id": "1234123",
      "creator_id": "1235523",
      "status": "active",
      "configured_status": "active",
      "name": "Demo_account",
      "image": "https://path/logo.jpeg",
      "contacts": [
        {
          "id": "95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b",
          "value": "[email protected]",
          "type": "email"
        }
      ],
      "feeds": {
        "postbacks": "https://google.com"
      },
      "is_default": 1,
      "create_time": "2021-10-29 12:47:00",
      "update_time": "2021-10-30 14:27:26"
    }
  ]
}