Error persisting entity - what does this mean?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
jhallsharp
User
Posts: 15
Joined: Thu Feb 21, 2019 5:32 pm

Error persisting entity - what does this mean?

Post by jhallsharp » Fri Jun 21, 2019 2:25 pm

Hi, I have been getting errors related to not being able to persist an entity during a POST update of the education entity. What does this mean? Below is a code sample. Is it because I am including the id in the post array?

Code: Select all

$education = 	['candidate' => ['id' => $candidateId],
					'startDate' => $startDate,
					'endDate' => $endDate,
					'school' => $school,
					'degree' => $degree,
					'major' => $major];

					if(FALSE === $this->comm(sprintf('/entity/CandidateEducation/' .$candidateId), 'POST', $education)) :
						//return FALSE;
					endif;

Post Reply