DID Object
This section outlines the DID object.
DID Object Attributes
The fields listed in the table below will be returned in a JSON object when a successful request has been made.
Attribute | Data Type | Description |
---|---|---|
attributes | array of objects | Additional attributes that can be set to modify a DID. Refer to the table below for a list of preset attributes. |
countryCode read only | string | The country region of the DID. The format for this field is ISO 3166-1 alpha-2. |
description | string | The description of the DID. If this field is not set, it will be hidden in the response. |
didGroupId | integer | The ID of the DID group to which the DID belongs. |
id read only | integer | The unique ID of a specific DID. |
phoneNumber | string | The phone number in E.164 format. |
state read only | integer | The state of the DID. |
Attribute Object
This object is used in attributes
.
Attribute | Data Type | Description |
---|---|---|
description | string | The description of the attribute. |
enumValues read only | string | If the |
group read only | integer | Defines the levels at which the call flow attribute value can be overridden. Integer values denote that the call flow attribute can be overridden at the following object levels:
|
name read only | string | The attribute name. |
type read only | integer | The attribute type. Values accepted in this field are:
|
value | string | The attribute value. |
Sample DID Object
{
"attributes": [],
"countryCode": "US",
"description": "A test DID",
"didGroupId": 219,
"id": 220,
"phoneNumber": "15162065319",
"state": -1
}