question

joseph-brown9471 avatar image
joseph-brown9471 asked ·

RingOut problem using extensionId

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.
General Topic
1 |1500 characters needed characters left characters exceeded

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

anton-nikitin avatar image
anton-nikitin answered ·
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.
1 |1500 characters needed characters left characters exceeded

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

John Wang avatar image
John Wang answered ·
1 |1500 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 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