Search found 64 matches

by srg.bdavis
Thu Mar 29, 2018 2:06 pm
Forum: REST API
Topic: 03124848: C# and getting the authorization code
Replies: 5
Views: 4256

Re: 03124848: C# and getting the authorization code

Shane, If you go to the auth url manually and don't get asked to accept the terms, they may have already been accepted. The normal behavior after the terms have been accepted is to land at the main Bullhorn page. When that home page is displayed, take a look at the url. Does it include the returned ...
by srg.bdavis
Tue Mar 27, 2018 11:07 am
Forum: REST API
Topic: How to retrieve categories more than 5 for a candidate record using rest api
Replies: 2
Views: 3490

Re: How to retrieve categories more than 5 for a candidate record using rest api

When requesting to-many entities, the default return count is 5. To specify more than 5, include the number you want in brackets:

https://rest.bullhornstaffing.com/rest- ... Candidate/{Id}?fields=categories[10]
by srg.bdavis
Fri Mar 23, 2018 4:27 pm
Forum: REST API
Topic: 03124848: C# and getting the authorization code
Replies: 5
Views: 4256

Re: 03124848: C# and getting the authorization code

As Dan said, you have to manually go to the login url the very first time and accept the terms. Once that is done, from then on you can programmatically make your calls to complete the authentication. If you are still looking for some C# examples, I have an example RestSession C# class modeled after...
by srg.bdavis
Tue Jan 30, 2018 2:04 am
Forum: REST API
Topic: PUT /file (request)
Replies: 2
Views: 3051

Re: PUT /file (request)

From the looks of your code and the response, the api is unable to pull anything out of the form request. I currently use the Base64 method of the PUT request without any issues so you might give this a try: 1. Use the form to post the file to your server. 2. Convert the file data to a base64 string...
by srg.bdavis
Tue Jan 30, 2018 1:52 am
Forum: REST API
Topic: Placement History
Replies: 2
Views: 3143

Re: Placement History

ParityBH, It may be a feature depending on the license level, but in the EnterpriseEdition the EditHistory is available on the placement entity. The REST call would look something like this: query/PlacementEditHistory?fields=id,auditTrail,dateAdded,fieldChanges[5](id,columnName,oldValue,newValue),mo...
by srg.bdavis
Tue Jan 30, 2018 1:37 am
Forum: REST API
Topic: REST API /file/Candidate/{entityID}
Replies: 1
Views: 2910

Re: REST API /file/Candidate/{entityID}

You are correct using PUT requests to /file/Candidate/{entityId}. In the json body, I personally send the fileContent field as a Base64 encoded string. A couple of other things to keep in mind: 1. Make sure the fileType field is set to "SAMPLE" 2. I've always set the ExternalID to "portfolio" based ...
by srg.bdavis
Fri Dec 22, 2017 7:03 pm
Forum: REST API
Topic: Filter option not working in Person entity.
Replies: 6
Views: 4004

Re: Filter option not working in Person entity.

Senthur, The call to /options is really just for populating drop down lists and can't be filtered. Like Paul said, 'Person' is not supported, even in the /options. You could call /options/Candidate or /options/Contact but that would return all values which you could then filter with your own code. Y...
by srg.bdavis
Fri Dec 22, 2017 6:26 pm
Forum: REST API
Topic: Some questions about API
Replies: 1
Views: 1746

Re: Some questions about API

1. If you are using events, you first have to create the subscription by specifying which entity you wish to track and what types of changes you are watching for (e.g. INSERT, UPDATE, or DELETE). The GET event/subscription then returns any of those events since the last time you checked (or since th...
by srg.bdavis
Fri Dec 22, 2017 6:00 pm
Forum: REST API
Topic: Bullhorn API - To list Jobs what candidate applied
Replies: 1
Views: 1703

Re: Bullhorn API - To list Jobs what candidate applied

You would want to search the JobSubmission entity. For example, if you used the following GET: /search/JobSubmission?query=candidate.id:12345&fields=id,jobOrder(id) It would return all of the JobSubmission entities for candidate 12345. You could then iterate through those entities checking the jobOr...
by srg.bdavis
Thu Jun 01, 2017 6:46 pm
Forum: REST API
Topic: Application Url
Replies: 3
Views: 3969

Re: Application Url

Kevin, If I understand your use case correctly, you are looking for a field on the job orders you are pulling over that will contain a link for a candidate to apply to that particular position, correct? As Dave mentioned, there is not a "built in" web application process in Bullhorn which is why you...
by srg.bdavis
Fri May 26, 2017 4:42 pm
Forum: REST API
Topic: Best way to get all candidates?
Replies: 2
Views: 2985

Re: Best way to get all candidates?

The search GET should return what you need. It would look something like this: /search/Candidate?query=isDeleted:0&fields=name,id&start=0&count=500 The response will include an object containing 4 fields -> total, start, count, and data. Data will be the array of candidates returned. The total field...
by srg.bdavis
Fri May 26, 2017 2:09 pm
Forum: REST API
Topic: Added notes to a candidate
Replies: 4
Views: 4070

Re: Added notes to a candidate

Paul,

Can you post your original request (is it a PUT or a POST)? Normally that 400 code is returned when you try to create an entity and specify a field name that does not exist. At first glance, the field names in your request body appear to be ok.

Thanks!
Brent
by srg.bdavis
Thu May 25, 2017 5:35 pm
Forum: REST API
Topic: Best way to get more than 10 candidate notes?
Replies: 3
Views: 3295

Re: Best way to get more than 10 candidate notes?

I'm not aware of a way to get all of them in one call (e.g. get the candidate and all the notes at the same time), but you could make a call to get the candidate info, then a second call using /query/NoteEntity?fields=note(sub fields)&where=targetEntityID={candidate id} that would return up to 500 n...
by srg.bdavis
Tue May 23, 2017 7:31 pm
Forum: REST API
Topic: Get list of contacts
Replies: 1
Views: 3152

Re: Get list of contacts

Dennis, It looks like there may be a licensing or some other issue with the login you are using in that screenshot. When you click the Menu, you should normally see icons for Contacts, Candidates, Jobs, Companies, Leads, etc. That is where you would normally go to just get a list of contacts. For yo...
by srg.bdavis
Fri Aug 26, 2016 11:11 am
Forum: REST API
Topic: How to get the client corporation details using the placement entity? 02314698
Replies: 1
Views: 2439

Re: How to get the client corporation details using the placement entity? 02314698

When constructing your query using the placement entity (e.g. entity/Placement/{placementId}, you can use nested fields and get what you need in one request. For the client corporation, you can get those fields nested under the jobOrder something like this: Remember, these are the placement entity f...