Skip to main content

I am referencing this link and using the RingCentral .Net SDK. After getting my response from the request, I try to access the navigation.lastPage.uri value and I get the navigation.firstPage.uri value.

This is what my params look like:

ReadCompanyCallLogParameters companyCallLogParams = new ReadCompanyCallLogParameters
{
    dateFrom = ((DateTime) SqlDateTime.MinValue).ToString("yyyy-MM-ddTHH🇲🇲sssZ"),
    page = 1,
    perPage = 1000,
    view = "Detailed"
};
AccountCallLogResponse response = _client.Restapi().Account().CallLog().List(companyCallLogParams);

Is this a mistake or am I missing something? I know that my response should have many pages of records but it is returning the first page's value as the last page's value. Could the name of this be confused with navigation.previousPage.uri?

I appreciate the time and help!

I doubt that the dateFrom you specified in your call was a recent date so it would return all records in a single call.

Can you do a quick test with smaller page? Let's say set the perPage= 50

Let me know


Reply