Update voice plan
PUT https://{{axpAPIDomain}}/api/admin/voice/v1/accounts/:accountId/communication-managers/:communicationManagerId/voice-plans/:voicePlanId
This API requires the Account Administrator role.
Update voice plan for specified account id, communication manager server id and voice plan 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: OK
{"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"]}