News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
RingCentral Nuget Package and Paging
Tags: extension
Jun 4, 2018 at 10:51am   •   2 replies  •  0 likes

We have created a program that will download all extensions (about 2000) into a spreadsheet so we can modify and do some other things with them. During development everything went fine, but now that we are in production we cannot get more than ~100 extensions to come down.

We are using the RingCentral Nuget package, and I do not know how to set perPage setting.

2 Answers
answered on Jun 4, 2018 at 6:51pm  
This is the official NuGet package that we support:

It is possible to specify the perPage parameter.

Sample usage:

rc.RestApi().Account().Extension().List(new { perPage = 1000 });

The maximum perPage allowed is 1000. If you have more records, you still need to handle pagination. Please refer to VB's answer for pagination handling.

answered on Jun 4, 2018 at 12:00pm  
Hi ,

Assuming you are using /account/~/extension API to fetch extension info ,  here is the response you will get 

  "uri" : ";,
  "records" : [ 
//ext details
  "paging" : {
    "page" : 1,
    "totalPages" : 1,
    "perPage" : 100,
    "totalElements" : 8,
    "pageStart" : 0,
    "pageEnd" : 7
"navigation" : {
    "nextPage" : {
      "uri" : ";
    "firstPage" : {
      "uri" : ";
    "lastPage" : {
      "uri" : ";

You can use "next" navigation page url to seek to next page with the list of extensions  .


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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