search if specific Talent pool exists for a person.



I want check if a specific talent pool exists in Souring workflow for a person or not. This is a combined search.
example: I have a test profile in iCIMS with id: 563226 and under sourcing workflows, the talent pool(I guess this is also called a base profile) associated with this profile is 26571. Now my question is, Can we check if this person(563226) has a talent pool 26571 through API call? and the last updated date of this talent pool(26571).

Please help me with the API call details by taking the above example.

Thanks in advance

Submitted by iCIMSUNIFIL on August 11, 2020 Permalink

A two step approach is needed. First, query for the person + talent pool (example below):

Method: POST
URL: https://api.icims.com/customers/7609/search/sourceworkflows
JSON:{
"filters": [{
"name": "sourceworkflow.baseprofile.number",
"value": ["22"],
"operator": "="
}, {
"name": "sourceworkflow.associatedprofile.person",
"value": ["110"],
"operator": "="
}],
"operator": "&"
}

Response: {
"searchResults": [
{
"self": "https://api.icims.com/customers/7609/sourceworkflows/30",
"id": 30
}
]
}

Using the ID in the response, query for the updated date:

Method: GET
URL: https://api.icims.com/customers/7609/sourceworkflows/30?fields=updateddate