API to extract specific fields of its associated entity

Forum for users and developers of Bullhorn's API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
bharathbhdisys
User
Posts: 8
Joined: Mon Jun 29, 2020 7:50 am

API to extract specific fields of its associated entity

Post by bharathbhdisys »

Dear Team,

I am trying to extract Candidate ID field from the entity Placement. Below is the API used,

https://rest99.bullhornstaffing.com/res ... ecfc6dfc85
{"query": "id:19884"}

Result:
{
"total": 1,
"start": 0,
"count": 1,
"data": [
{
"id": 19884,
"candidate": {
"id": 1106202,
"firstName": "test",
"lastName": null
},
"dateAdded": 1597409648510,
"_score": 1.0
}
]
}

Here my need is, I want to extract only Candidate ID and dateAdded fields for the given Placement entity ID. Don't want all other candidate related fields such as firstname or lastname.

Please help me to figure out a way to get the required fields alone.

Thanks & Regards,
Bharath Kumar B
tluczak
User
Posts: 11
Joined: Fri Apr 10, 2020 11:02 am

Re: API to extract specific fields of its associated entity

Post by tluczak »

bharathbhdisys wrote: Fri Aug 14, 2020 11:13 am Dear Team,

I am trying to extract Candidate ID field from the entity Placement. Below is the API used,

https://rest99.bullhornstaffing.com/res ... ecfc6dfc85
{"query": "id:19884"}

Result:
{
"total": 1,
"start": 0,
"count": 1,
"data": [
{
"id": 19884,
"candidate": {
"id": 1106202,
"firstName": "test",
"lastName": null
},
"dateAdded": 1597409648510,
"_score": 1.0
}
]
}

Here my need is, I want to extract only Candidate ID and dateAdded fields for the given Placement entity ID. Don't want all other candidate related fields such as firstname or lastname.

Please help me to figure out a way to get the required fields alone.

Thanks & Regards,
Bharath Kumar B
Per http://bullhorn.github.io/rest-api-docs ... #placement Candidate ID, and firstName, lastName are always pulled back when querying the Candidate info on a Placement.
Post Reply