Retrieve list of CorporateUser and update its customText fields 02543148

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

otesdev
User
Posts: 10
Joined: Fri May 19, 2017 11:39 am

Retrieve list of CorporateUser and update its customText fields 02543148

Postby otesdev » Wed Jun 28, 2017 6:04 pm

I am trying to do this using the java SDK but could not find a way to do it. Are these even possible ?

otesdev
User
Posts: 10
Joined: Fri May 19, 2017 11:39 am

Re: Retrieve list of CorporateUser and update its customText fields

Postby otesdev » Thu Jun 29, 2017 8:41 am

Thank you for the reply, but I don't think I understand your suggested solution. When I said Java SDK, I meant the Bullhorn-SDK-REST (https://github.com/bullhorn/sdk-rest). I don't have a db. I simply connected to their API through the Bullhorn-SDK-REST classes and make calls through its method (which is my question). So there is no Call button.... ?

pmularski
Bullhorn Support Staff
Posts: 880
Joined: Wed Dec 31, 1969 8:00 pm

Re: Retrieve list of CorporateUser and update its customText fields

Postby pmularski » Thu Jun 29, 2017 3:49 pm

Greetings Otesdev,

I apologize for that first response. That forum user was a spam account, which I have banned.
Patrick Mularski
Senior Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
Bullhorn Support Contact Numbers
US: 617-478-9126
UK: 44 800 032 2848
Australia: 61 28 073 5089
International: 617-478-9131

otesdev
User
Posts: 10
Joined: Fri May 19, 2017 11:39 am

Re: Retrieve list of CorporateUser and update its customText fields

Postby otesdev » Wed Jul 05, 2017 12:26 pm

I am able to retrieve an individual CorporateUser using this line:

CorporateUser corporateUser = standardBullhornData.findEntity(CorporateUser.class, id);

but I need to retrieve the list of all CorporateUser

Also how to update a customText field of a CorporateUser ?

CorporateUser corporateUser = new CorporateUser(corporateUserId);
corporateUser.setCustomText1("Test");
standardBullhornData.updateEntity(corporateUser); // <== this is not allowed

ajlevinson
User
Posts: 1
Joined: Thu Mar 16, 2017 3:46 pm

Re: Retrieve list of CorporateUser and update its customText fields 02543148

Postby ajlevinson » Tue Aug 01, 2017 3:25 pm

The REST API states that CorporateUser is a read-only Entity, so updating isn't possible with the SDK or directly against the REST API.


Return to “REST API”

Who is online

Users browsing this forum: No registered users and 1 guest

cron