How to return more than 50 results from Dynamics 365 using the Web API
Clash Royale CLAN TAG #URR8PPP How to return more than 50 results from Dynamics 365 using the Web API Continuing on with my Dynamics 365 from Delphi project, I am now at a point where I need to be retrieving more data from CRM than the 50 entities I can get by default, and that by setting the maxpagesize preference, I should be able to get more. This is what my existing Delphi code looks like to retrieve the data from Dynamics: RESTClient.BaseURL := 'https://mytest.api.crm6.dynamics.com'; RESTRequest.Resource := 'XRMServices/2011/OrganizationData.svc/AccountSet?$select=Name&'; RESTRequest.Accept := 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'; RESTRequest.Execute; This returns 50 results, and follows up with the paging tag (which we will ignore for now): <link rel="next" href="https://mytest.api.crm6.dynamics.com/XRMServices/2011/OrganizationData.svc/AccountSet?$select=Name&$skiptok...