Search found 13 matches

by Vaso
Sun Mar 21, 2021 6:42 pm
Forum: Bullhorn APIs
Topic: How to use C# and .NET 5 to access Bullhorn Rest API?
Replies: 0
Views: 19097

How to use C# and .NET 5 to access Bullhorn Rest API?

Hi, I have finally published and open sourced my libraries (MIT). You can find it here https://github.com/codecapital/CodeCapital.Bullhorn Also, the library is available as a nuget package here https://www.nuget.org/packages/CodeCapital.Bullhorn The project contains Bullhorn library (3 years in deve...
by Vaso
Wed Jan 20, 2021 9:19 am
Forum: Bullhorn APIs
Topic: Retrieving Notes by CommentingPerson
Replies: 5
Views: 3127

Re: Retrieving Notes by CommentingPerson

Some other examples which were working for me: search/Note?fields=id,dateAdded,action,commentingPerson&query=dateAdded:[20210107000000 TO *] AND commentingPerson:123456 AND action:'Phone Call' &sort=dateAdded search/Note?fields=id,dateAdded,action,commentingPerson&query=action:("Headhunt Call", "Pho...
by Vaso
Tue Jan 19, 2021 6:36 pm
Forum: Bullhorn APIs
Topic: Retrieving Notes by CommentingPerson
Replies: 5
Views: 3127

Re: Retrieving Notes by CommentingPerson

I am not able to get there commenting person: search/Note?fields=id,dateAdded,action,commentingPerson&query=dateAdded:[20210101000000 TO *] AND action:'Phone Call'&sort=-dateAdded But if you search e.g Candidate notes then this might work? Example: search/Candidate?fields=id,name,owner(id,firstName,...
by Vaso
Tue Jan 19, 2021 2:45 pm
Forum: Bullhorn APIs
Topic: ClientContact update via POST
Replies: 4
Views: 2863

Re: ClientContact update via POST

You can query with POST certain entities, depends what you want to achieve..

http://bullhorn.github.io/rest-api-docs ... post-query
http://bullhorn.github.io/rest-api-docs ... ost-search

Redact and provide your API call so we can see what you are actually doing?
by Vaso
Tue Jan 19, 2021 5:58 am
Forum: Bullhorn APIs
Topic: Subscribe to job order closed event only
Replies: 2
Views: 1761

Re: Subscribe to job order closed event only

I am not sure you can do that?? https://bullhorn.github.io/rest-api-docs/index.html#put-event-subscription It doesn't say you can subscribe to individual property. Probably you need to listen to all updates and then filter yourself from updatedProperties https://bullhorn.github.io/rest-api-docs/inde...
by Vaso
Mon Jan 18, 2021 3:47 pm
Forum: Bullhorn APIs
Topic: How to re-read events that we couldn't process at the first attempt?
Replies: 1
Views: 1414

Re: How to re-read events that we couldn't process at the first attempt?

Whatever you do on your side and it fails, Bullhorn APIs/Subscription cannot know what went wrong on your side. You have to handle this yourself if I am right. Some options what to do on your side: Option 1 A pre-process on your side, you should save any data from subscription to your local "raw" ta...
by Vaso
Fri Jan 15, 2021 5:38 pm
Forum: Bullhorn APIs
Topic: Token that doesnt expire
Replies: 3
Views: 2427

Re: Token that doesnt expire

I am using ping before every REST API call to check the expiry time and then I use Refresh Token as suggested to get a new access token and re-login.

http://bullhorn.github.io/rest-api-docs/#get-ping
by Vaso
Fri Jan 15, 2021 5:32 pm
Forum: Bullhorn APIs
Topic: How to get authorization code
Replies: 3
Views: 3128

Re: How to get authorization code

This is a bit old .NET Bullhorn example

https://github.com/elevate/Bullhorn.Net ... Session.cs

This might help you with your code.

I am planning to publish my .NET Core Bullhorn API to GitHub so that would be another example which you can use/re-use.
by Vaso
Fri Jan 15, 2021 5:22 pm
Forum: Bullhorn APIs
Topic: Refesh Token, Re-Login Gives Internal Error
Replies: 5
Views: 3442

Re: Refesh Token, Re-Login Gives Internal Error

Here some old .NET example for Bullhorn, you can see they are trying to log in 3 times because sometimes it is not reliable.. Line 56 https://github.com/elevate/Bullhorn.Net/blob/master/Bullhorn.Net/Helper/RestApiSession.cs I am planning to release my .NET Core Bullhorn API on GitHub which is using ...
by Vaso
Fri Jan 15, 2021 5:04 pm
Forum: Bullhorn APIs
Topic: Token refresh issues
Replies: 20
Views: 10175

Re: Token refresh issues

I am planning to publish a C# .NET Core Console App to Github, including the source, which you could use for testing your Bullhorn API.

I have been developing it for years as one of my client needed to sync some data to Azure SQL Database.

You can then check in Fiddler what is wrong.
by Vaso
Fri Jan 15, 2021 4:50 pm
Forum: Bullhorn APIs
Topic: Synchronizing candidates and clientcontacts with our own database
Replies: 2
Views: 3266

Re: Synchronizing candidates and clientcontacts with our own database

Hi, Just some thoughts on this. I have got 2 clients. Option 1 One is doing so heavy analytics work with their data so there is no way for using REST API (they do just for updates) they are using DataMirror application from Bullhorn which LIVE sync data to a local SQL Server database hosted by my cl...
by Vaso
Tue Oct 18, 2016 5:49 am
Forum: Bullhorn APIs
Topic: Error - Corporation xxx has no CANDIDATE index
Replies: 14
Views: 20996

Re: Error - Corporation xxx has no CANDIDATE index

Any updates @Vaso ? The email I sent to support didn't come through but today when I tried the same, all is working. Also, I was using "useV2=true" already at the time when I was experiencing this problem. Most likely, the problem was resolved for anyone. And I am also on the cluster cls22. Cheers
by Vaso
Mon Oct 10, 2016 9:43 am
Forum: Bullhorn APIs
Topic: Error - Corporation xxx has no CANDIDATE index
Replies: 14
Views: 20996

Re: Error - Corporation xxx has no CANDIDATE index

I have got the same issue. I have just reported it to Bullhorn support :)