Question

Update IvrMenu Key presses

  • 1 August 2022
  • 3 replies
  • 374 views

Making an app for our locations to be able to change Key presses for who is on call. we have it setup for the 2 departments. so key press "1" and "2" . I've got pretty much everything working except when you send a put to https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension?

and update the key press for one of them it seems to delete the second key press. it does this using the api reference page as well. is there a way to keep the key press not selected from being removed or changed in anyway?


3 replies

Userlevel 1

Can you post some params what you exactly set to update the extension to change the key press? I don't see those params in that /extension endpoint.

sorry ive been using the
https://platform.devtest.ringcentral.com
/restapi/v1.0/account/accountId/ivr-menus/ivrMenuId as a PUT and ive been using

{

'actions': [

{

'extension': {

'id': '{{Table1.selectedRow.id}}',

},

'input': '1',

'action': 'Connect',

}

as json. it doesnt look like you guys allow the PATCH request that i could find. i can make it work to get all the key presses uri from the get and work it into my app just was hoping for an easier way. new to all this and dont know all the shortcuts yet


Userlevel 1

Yes, the right way to do is to read an IVR menu, change the setting values, then update the IVR menu using those endpoints.

Let me know if you are still facing problem. I will check if we support the PATCH for this API.

Reply