These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Is the GET /api/Organization endpoint working as intended?

Hello,
I have posted a support ticket here (which contains full output responses):
https://support.imis.com/hc/en-us/requests/205126

It appears that GET /api/Organization with no other params is only showing deleted contacts (or some subset of them).
"Offset": 0,
"Limit": 100,
"Count": 17,
"TotalCount": 20067,
"NextPageLink": null,
"HasNext": true,
"NextOffset": 17

In addition, offset param doesn't appear to be working
GET /api/Organization?offset=17
"Offset": 0,
"Limit": 100,
"Count": 17,
"TotalCount": 20067,
"NextPageLink": null,
"HasNext": true,
"NextOffset": 17

No matter what offset I use I get the above. Even when ?offset=17&limit=100
I believe I ran in to a similar issue which was because Organization was a subset of Party the filters weren't working correctly but I'm unsure if that's still the case or not.

The limit param appears to be updating: ?offset=17&limit=200
"Offset": 0,
"Limit": 200,
"Count": 17,
"TotalCount": 20067,
"NextPageLink": null,
"HasNext": true,
"NextOffset": 17

Thanks.