question

Jon Landrum avatar image
Jon Landrum asked Phong Vu answered

Update IvrMenu Key presses

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?

rest apiivr
1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

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.

0 Likes 0 ·
Jon Landrum avatar image
Jon Landrum answered

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


1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

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.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys