Back

Pagination

Millions of data may be included in one application. It's not a good idea to retrieve all the data at once because it would slow down the program, strain the network, etc. To overcome this, apps employ pagination, which allows users to view data page by page, much like a book.

The quantity of records that we can obtain defines a page. Each request we make results in the retrieval of a page of data. The amount of records on each page is what we refer to as the page size. Let's assume that we have 1200 records and a 100-record page size. To obtain all the data, 1200/100 = 12 queries are necessary.

  • Default Page Size: 100
  • Maximum Page Size: 1000

Page size and page number can be set as query parameters in the request as mentioned below.

We are required to provide the first 100 course records, according to the above-mentioned requirement.

If we set the count flag (optional) to true in the query string, we may obtain the total number of pages. Based on this, we can determine how many calls we'll need to make.

This returns the following:

MTM Connect OUT - Pagination

MTM Connect OUT uses pagination to ensure that responses are easy to handle. Page size is limited to 100 records per page. Records are sorted by last modified date so that the most recent records appear on the last page.

NOTE

The client can try this out using the MTM Connect API sample application. The sample client app in C# can be found here - GITHub - explorance/exploranceapis-mtmconnect-csharp.

Related Articles

InMTM Connect OUT API

InMTM Connect OUT API

InMTM Connect OUT API

Back to top

Copyright © 2025

Explorance Inc. All rights reserved.