Appointments for a specific JobOrder

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
maggsweb
User
Posts: 4
Joined: Sun Jul 29, 2018 6:39 pm

Appointments for a specific JobOrder

Post by maggsweb » Wed Oct 31, 2018 1:55 pm

Hello,

I’m looking for a way to return details of Appointments for a specific JobOrder.
I’m not sure if there is a direct link between these two, or if there are other entities that we will need to use to get these – this is the query.
In an ideal scenario, I would like a Rest URL something like: /search/Appointments/?fields=*&query=JobOrderID:xxxxx and this would return an array of appointments, including date and candidate ID. I can’t find any examples similar to this.

DanJSupport
User
Posts: 46
Joined: Mon Aug 15, 2016 9:57 am

Re: Appointments for a specific JobOrder

Post by DanJSupport » Mon Nov 05, 2018 2:31 pm

Hi Maggsweb,

Appointments are one of the entities that you need to use a query for. This would be the stucture of the call:

Code: Select all

GET /query/Appointment?BhRestToken={token}&where=jobOrder.id=123&fields=id
Dan Johnson
Tier 2 / Enterprise Support
Bullhorn Support US: 617-478-9126
Bullhorn Support UK: 44 800 032 2848
Bullhorn Support Australia: 61 28 073 5089
Bullhorn Support International: 617-478-9131

maggsweb
User
Posts: 4
Joined: Sun Jul 29, 2018 6:39 pm

Re: Appointments for a specific JobOrder

Post by maggsweb » Wed Nov 07, 2018 5:14 am

Hi Dan
Thanks, that is helpfull. I have this working now.
Cheers
Chris

Post Reply