Categories format

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
nielvrom
User
Posts: 1
Joined: Sun Mar 01, 2015 2:07 pm

Categories format

Post by nielvrom » Mon Mar 02, 2015 3:06 am

Hi,

I'm trying to save and update a candidate in Bullhorn through the REST API with PHP. I've loaded a candidate from BullHorn and my categories are shown this way:

Code: Select all

["categories"]=>
  object(stdClass)#632 (2) {
    ["total"]=>
    int(2)
    ["data"]=>
    array(0) {
    }
  }
  ["category"]=>
  object(stdClass)#654 (1) {
    ["id"]=>
    int(1123135)
  }
I have categories like "E-marketing Expert, Data Science, ...". But you have to give an object with

Code: Select all

id => ...
to the category. How can you know this?

Post Reply