RingCentral .Net SDK
Loading...
Searching...
No Matches
RingCentral.Paths.Restapi.Account.PhoneNumber.Index Class Reference
Collaboration diagram for RingCentral.Paths.Restapi.Account.PhoneNumber.Index:

Public Member Functions

 Index (Restapi.Account.Index parent, string phoneNumberId=null)
string Path (bool withParameter=true)
async Task< RingCentral.AccountPhoneNumbers > List (RingCentral.ListAccountPhoneNumbersParameters queryParams=null, RestRequestConfig restRequestConfig=null)
 Returns the list of phone numbers assigned to RingCentral customer account. Both company-level and extension-level numbers are returned.
async Task< RingCentral.CompanyPhoneNumberInfo > Get (RestRequestConfig restRequestConfig=null)
 Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s). Bulk request syntax is supported.

Public Attributes

RestClient rc
Restapi.Account.Index parent
string phoneNumberId

Member Function Documentation

◆ Get()

async Task< RingCentral.CompanyPhoneNumberInfo > RingCentral.Paths.Restapi.Account.PhoneNumber.Index.Get ( RestRequestConfig restRequestConfig = null)
inline

Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s). Bulk request syntax is supported.

HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId} Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadCompanyPhoneNumbers

◆ List()

async Task< RingCentral.AccountPhoneNumbers > RingCentral.Paths.Restapi.Account.PhoneNumber.Index.List ( RingCentral.ListAccountPhoneNumbersParameters queryParams = null,
RestRequestConfig restRequestConfig = null )
inline

Returns the list of phone numbers assigned to RingCentral customer account. Both company-level and extension-level numbers are returned.

HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number Rate Limit Group: Heavy App Permission: ReadAccounts User Permission: ReadCompanyPhoneNumbers


The documentation for this class was generated from the following file:
  • RingCentral.Net/Paths/Restapi/Account/PhoneNumber/Index.cs