GET /api/v2/stations Limits Entities to 100

Hi all,

We are using HTTP to get the list of stations in Genesys Cloud.

The request is this as follows (can test either from Postman or 'API Explorer of Developer Tools'):
/api/v2/stations?pageSize=500&pageNumber=1

The response returns
{
"entities": [
{
"id": "a663e3f8-a449-4676-b564-a433aa18c5c3",
......
],
"pageSize": 500,
"pageNumber": 1,
"total": 880,
"firstUri": "/api/v2/stations?pageSize=500&pageNumber=1",
"nextUri": "/api/v2/stations?pageSize=500&pageNumber=2",
"lastUri": "/api/v2/stations?pageSize=500&pageNumber=2",
"selfUri": "/api/v2/stations?pageSize=500&pageNumber=1",
"pageCount": 2
}

And only 100 entries in the Entities list.

Ricardo raised this issue on Aug. 2022 before, and looks like that it has not been solved yet.

Can some one help, and thank you in advance.

Hi,

I have checked with the edge team and this endpoint has a max page size of 100 entities per page.

Regards,
Declan

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.