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

/api/ /caller_id_routes/create

Headers

X-Auth-App
X-Auth-Token
X-Auth-Secret
X-Auth-Extension
X-Auth-Password
X-Proxy-Auth-Token
X-Proxy-Auth-Secret

Parameters

unit_id Integer
name String
number String
destination_id Integer
destination_type String

The request output will be shown here...

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

  • id

    The provided ID

ValidationError

A validation error occurred

  • errors

    An array of errors

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.