RollupList by RollupCode returns all lists

Tagged:

Currently contains 3 posts

Avatar

November 23, 2019 18:17

brianjlowry

Hi,

We are getting all 5300+ lists when we run this query. I redacted the RollupCode, but we grabbed it originally by returning all lists and filtered for it by the description – it definitely exists. If it matters at all, the RollupCode has a period in the middle of it – we tried escaping that, but it didn’t change the results.

https://www2.pcrecruiter.net/rest/api/rolluplists/[RollupCode]?Fields=RollupCode&ResultsPerPage=1

Any help would be greatly appreciated!

Avatar

November 23, 2019 20:53

Jarrid-PCRecruiter

You’ll want to specify what records you want to return:
GET /candidates/rolluplists/{RollupCode}
GET /companies/rolluplists/{RollupCode}
GET /positions/rolluplists/{RollupCode}

This will give you the IDs to find in the corresponding endpoints.

Avatar

November 26, 2019 16:57

brianjlowry

Thanks Jarrid,

I just realized the question I had asked was different – I’m not sure what the point of grabbing a RollupList by its code is then, but it’s in the documentation under RollupLists.

Anyways, we just took your advice and skipped that lookup by choosing to grab the candidates from the list directly.

Reply to thread