News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Creating new extension
Tags: developer sandbox, rest api
Sep 7, 2018 at 11:06pm   •   1 replies  •  0 likes
system-ext.-

I am using the C# API from GitHUB for development. Trying to createa an extension in the sandbox as follows:

RestClient rc = new RestClient(ClientID, ClientSecret, false);

RingCentral.AccountPath AccountPath = RestClient.Restapi().Account();

ExtensionCreationResponse ExtensionCreationResponse = await AccountPath.Extension().Post(ExtensionCreationRequest);

I get: Error message: "Resource not found". What am I missing?

Here is the ExtensionCreationRequest being passed in:

- ExtensionCreationRequest {RingCentral.ExtensionCreationRequest} RingCentral.ExtensionCreationRequest

- contact {RingCentral.ContactInfoUpdateRequest} RingCentral.ContactInfoUpdateRequest

businessAddress null RingCentral.ContactBusinessAddressInfo

businessPhone null string

company null string

department null string

email "anoosh@baysleepclinic.com" string

emailAsLoginName null bool?

firstName "Anoosh" string

jobTitle null string

lastName "Mostowfipour" string

pronouncedName null RingCentral.PronouncedNameInfo

businessAddress null RingCentral.ContactBusinessAddressInfo

businessPhone null string

company null string

department null string

email "anoosh@baysleepclinic.com" string

emailAsLoginName null bool?

firstName "Andrew" string

jobTitle null string

lastName "Test" string

pronouncedName null RingCentral.PronouncedNameInfo

extensionNumber "102" string

hidden null bool?

password "XYZabc4" string

references null RingCentral.ReferenceInfo[]

regionalSettings null RingCentral.RegionalSettings

roles null RingCentral.Roles[]

setupWizardState null string

status "Enabled" string

statusInfo null RingCentral.ExtensionStatusInfo

type "User" string


1 Answer
answered on Sep 8, 2018 at 4:06pm  
I cannot figure out the issue. Could you please the sample request here: https://developer.ringcentral.com/api-docs/latest/index.html#!#RefCreateExtension and compare it with yours? Did you specify the email address?

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us