question

system-ext-10111697 avatar image
system-ext-10111697 asked Tyler Liu answered

Creating new extension

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


rest apideveloper sandbox
1 |1500

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

1 Answer

Tyler Liu avatar image
Tyler Liu answered
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?
1 |1500

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