Page 1 of 1

How to update the categories of the candidate records using rest API

Posted: Mon Apr 20, 2020 9:33 am
by ashishM
Hi,

I am using REST API + C#.Net.
I want to update the list of the categories of the candidate record using Rest API.

Please guide me on this.

Re: How to update the categories of the candidate records using rest API

Posted: Mon Apr 20, 2020 10:44 am
by lciastko
Hi there,

To pull a list of allĀ categoriesĀ in a system you can use the below call(this is how you can obtain the category IDs):

.../query/Category?where=enabled=true&fields=id,name,enabled&start=0&count=500...

Here is some of our documentation on Categories and candidates:
http://bullhorn.github.io/rest-api-docs ... l#category
http://bullhorn.github.io/rest-api-docs ... #candidate

Have a great day,
Lindsay

Re: How to update the categories of the candidate records using rest API

Posted: Wed Apr 22, 2020 2:30 am
by ashishM
Hi Lindsay,

Thank you for your reply.
The solution you suggest is helpful in retrieving the categories.

I want to update the categories of the candidate record.
Will you please suggest any solution on how to update the categories of the candidate record via REST API + C#.NET.

Re: How to update the categories of the candidate records using rest API

Posted: Wed Apr 22, 2020 11:10 am
by lciastko
Hi Again!

Unfortunately, I cannot comment on how to preform this in C#.NET.

To update a Candidate Category using REST, you would POST against the .../entity/Candidate/ Endpoint and pass in the category and ID into the Body.

Hope this helps!
Lindsay