Skip to main content

I have a saved search that I am able to call via the odata URL from postman. But the response is limited to 100 records. How to increase that? There is no documentation regarding pagination, size or record limit anywhere.

I have at least one example where I am calling the APIs to fetch user permissions, and it requires dealing with paging. Essentially, you pass size (e.g. 30) and page (e.g. 1, 2, etc) parameters for each call. The resulting response will include a “total” value that lets you know the total count. You keep making the call, incrementing the page#, until you have seen the total count of records.

For example, I am calling from Power Automate and the URL looks like this (with some parameters like the workspace uuid and the page#): https://xxx.leanix.net/services/mtm/v1/workspaces/@{variables('Workspace')}/permissions?status=ACTIVE&includeTechnicalUsers=false&size=30&sort=user.firstName-asc%2Cuser.lastName-asc&page=@{variables('Page')}


Reply