API responses that return list of objects, are paginated. To scroll through these responses the following parameters can be added to the query string.
Property | Value |
---|---|
page | 1 (Default) |
per_page | 25 (Default) |
sort | dt_create (ASC Order) -dt_create (DESC Order) |
Along with the returned records in the data object, the pagination information is returned in the pagination object which contains the following properties -
Property | Details |
---|---|
page | Current Page Number |
per_page | Records per Page |
total_pages | Total Number of Pages |
total_elements | Total Records |