DateAvailable not changing upon successful update

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
lokuber
User
Posts: 35
Joined: Wed Jul 20, 2016 5:20 am

DateAvailable not changing upon successful update

Post by lokuber » Mon Nov 14, 2016 12:17 pm

Hello everyone.

I am currently developping a simple webpage on our domain to let our consultants tell us if they are available or not and when if they are free.
It could really impact our effectiveness.

I send the dates to BullHorn on the dateAvailable field. The only problem is that the field is correctly updated on the API (the timestamp is the same as the one I sent) but on the user interface, the date is always set on the 17th of January 1970 which is kind of odd because the dateAvailable has the value of another timestamp on the API.

Nothing is strange in the response from the API yet I have this odd behavior (I checked all the fields on the candidate and can't find any timestamp slighty corresponding to such dates from 1970)
Image
Here's the response when I update the field (no error all the time) :

Code: Select all

{
 "changedEntityType" : "Candidate",
 "changedEntityId" : xxxxx,
 "changeType" : "UPDATE",
 "data" : {
   "dateAvailable" : 1478217600
 }
}
Any help is appreciated

lokuber
User
Posts: 35
Joined: Wed Jul 20, 2016 5:20 am

Re: DateAvailable not changing upon successful update

Post by lokuber » Mon Nov 14, 2016 12:29 pm

I just figured out that timestamp need to be multiplied by 1000 to work.

That solved the problem

Post Reply