Create voice plan
POST https://{{axpAPIDomain}}/api/admin/voice/v1/accounts/:accountId/communication-managers/:communicationManagerId/voice-plans
This API requires the Account Administrator role.
Create voice plan for specified account id and communication manager server id
Request Body
{"name"=>"VoicePlan2", "type"=>"SYSTEM", "userProfileId"=>"ASEDFG", "description"=>"Voice plan for Communication Manager", "reasonCodeNotReadyRange"=>["1:20", "50:99"], "reasonCodeLogOutRange"=>["1:9"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"voicePlanId":"a5ed735d-0688-47c5-872d-366a84b23536","name":"User Voice Plan","type":"USER","userProfileId":"ASEDFG","description":"User Voice plan for Communication Manager","agentDialPlanRange":["20000:20100"],"extensionDialPlanRange":["30000:30100","8000000:9000000"]}