Internal error when creating a note

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Kazemi
User
Posts: 38
Joined: Tue Oct 11, 2016 1:26 pm

Internal error when creating a note

Postby Kazemi » Thu Jun 29, 2017 4:57 pm

We're trying to add a note but are running into 500 errors:

Request url:
"https://rest9.bullhornstaffing.com/rest-services/<corp-id-token>/entity/Note"

Headers:
BhRestToken: "<token>"
Content-Type: "application/json"

Data:
{
"comments":"This is a test note",
"personReference": {"id" : "1"}
}

Response:
{
"errorMessage": "An internal error has occurred",
"errorMessageKey": "errors.internalError"
}

sangaran
User
Posts: 3
Joined: Tue May 17, 2016 5:48 pm

Re: Internal error when creating a note

Postby sangaran » Thu Jul 13, 2017 4:04 pm

It looks like the personReference-->id value should be integer. Previously it was accepting as string, now it accepts only integer.
try this format it should work.
{
"comments":"This is a test note",
"personReference": {"id" : 1}
}


Return to “REST API”

Who is online

Users browsing this forum: No registered users and 1 guest