Create a new caller ID route
This action will create a new caller ID route in the given unit.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/caller_id_routes/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 |
name A name/description for this route |
String | null |
number The phone number that you wish this route to apply to |
String | null |
destination_id The ID of the destintion |
Integer | null |
destination_type The type of the destination |
String | null |
Errors
Error | Attributes |
---|---|
UnitNotFound The given unit was not found |
|
ValidationError A validation error occurred |
|
Response Data
This action will return a caller id route structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.