question

joseph-brown avatar image
joseph-brown 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.
topic-default
1 |1000 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.
Share
1 |1000 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 ·
Share
1 |1000 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.