Question

RingOut problem using extensionId

  • 28 March 2018
  • 2 replies
  • 999 views

I can ring out successfully requesting:

https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/ring-out



But when I want to add the extension id I get a CMN-102 error (Resource for parameter [extensionId] is not found) see request example below:

https://platform.ringcentral.com/restapi/v1.0/account/~/extension/279580017/ring-out  



I'm pretty certain I have the correct id as I'm grabbing the extension Id from the request below successfully:

https://platform.ringcentral.com/restapi/v1.0/account/~/extension 



If anyone has run into this or can point out any potential pitfalls I would very much appreciate some pointers.


2 replies

Hi Joseph,

as far as I can see you use the access token issued for System Admin User but specify the ID of another extension in your URI. It is not allowed: user can only make ringout calls on behalf ow his/her own extension. When you specify tilde it will automatically applies current user's extension ID.

Hope I made it clear.
Here's a response I wrote for this question on Stack Overflow:

https://stackoverflow.com/questions/49542569/how-to-use-the-extensionid-on-ringcentral-api-with-ring...

Reply