Create a new internal number
This action will create a new internal number in the given unit.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/internal_numbers/create
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied error will be returned.
Parameters
| Parameter | Type | Default |
|---|---|---|
|
unit_id The ID of the unit |
Integer | null |
|
number The number |
String | null |
|
name The name for the number |
String | null |
|
destination_type |
null | |
|
destination_id |
null | |
|
caller_id_prefix The prefix to add on calls from this number |
String | null |
|
caller_id_passthrough Whether or not caller IDs should pass through when unanswered |
Boolean | null |
Errors
| Error | Attributes |
|---|---|
|
UnitNotFound The given unit was not found |
|
|
ValidationError A validation error occurred |
|
Response Data
This action will return a internal number structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.