How to find more than 200 records of account using C#? API

How to find more than 200 records of account using C#? API

Dear all,

What I found on the Zoho website about fetch is:
  • The page and per_page parameter is used to fetch records according to their position in the CRM. Let's assume that the user has to fetch 400 records. The maximum number of records that one can get for an API call is 200. So, for records above the 200th position, they cannot be fetched. By using the page (1 and 2) and per_page (200) parameter, the user can fetch all 400 records using 2 API calls.

Link: https://www.zoho.com/crm/developer/docs/api/v3/get-related-records.html


How can I manage the same actions in C# language? 

I did code like this and it's not working:

First call:
paramInstance.Add(GetRecordsParam.PAGE, 1);
            paramInstance.Add(GetRecordsParam.PER_PAGE, 200);
            paramInstance.Add(GetRecordsParam.APPROVED, "both");
            paramInstance.Add(GetRecordsParam.SORT_ORDER, "asc");
            paramInstance.Add(SearchRecordsParam.CRITERIA, "Account:equals:" + "Customer");
            paramInstance.Add(SearchRecordsParam.CRITERIA, "Account:equals:" + "Sub-customer");
Second call:
paramInstance.Add(GetRecordsParam.APPROVED, "both");
            paramInstance.Add(GetRecordsParam.PAGE, 2);
            paramInstance.Add(GetRecordsParam.PER_PAGE, 200);
            paramInstance.Add(GetRecordsParam.SORT_ORDER, "asc");
            paramInstance.Add(SearchRecordsParam.CRITERIA, "Account:equals:" + "Customer");
            paramInstance.Add(SearchRecordsParam.CRITERIA, "Account:equals:" + "Sub-customer");

How can I fetch 2 times the call in C#? I'm getting the same records for both calls.