Create voice plan

This API requires the Account Administrator role.

Create voice plan for specified account id and communication manager server id

Path Params
string
required
length between 6 and 6

The unique 6 character internal id that represents the customer account.

string
required

The unique id of the Communication Manager

Body Params

Voice plan with properties which needs to be created

string
required
length between 3 and 255

Name of the voice plan

string
required

The type of the Voice Plan. If SYSTEM type is set then allowed to set values for vdnDialPlanRange, reasonCodeNotReadyRange, reasonCodeLogOutRange. If USER type is set then allowed to set values for agentDialPlanRange, extensionDialPlanRange.

string
length between 0 and 6

Profile for the voice plan

string
length ≤ 255

Description of the voice plan

array of strings

Agent dial plan ranges. Allowed to be set only if voice plan type is USER.

agentDialPlanRange
array of strings

Extension dial plan ranges. Allowed to be set only if voice plan type is USER.

extensionDialPlanRange
array of strings

Aux reason code ranges. Allowed to be set only if voice plan type is SYSTEM.

reasonCodeNotReadyRange
array of strings

Logout reason code ranges. Allowed to be set only if voice plan type is SYSTEM.

reasonCodeLogOutRange
string

Status code of the voice plan. A voice plan with status code PROFILE_NOT_ASSIGNED indicates that it is in error state and Profile associated with it is been deleted.

Responses

Language
Credentials
URL
Choose an example:
application/json
application/problem+json