We're receiving an "error persisting an entity of type: Candidate" "UNKNOWN_INTERNAL_ERROR" response when we send the following request to the REST API (I've anonymised the sensitive info for posting here):
Code: Select all
PUT https://rest23.bullhornstaffing.com/rest-services/d5v9g/entity/Candidate
{
"namePrefix": "Mr.",
"firstName": "Test",
"lastName": "Name",
"owner": {
"id": "171506"
},
"source": "TU Website",
"email": "[i]test@example.com[/i]",
"dayRate": "0.00",
"customText17": [
"Academic",
"Board/Leadership"
],
"description": "",
"comments": "None",
"customText9": "No religion or belief",
"customText11": "No",
"massMailOptOut": "0",
"customText23": "60-64",
"customText26": [
"Children and young people",
"Education",
"International development",
"Arts",
"Culture & Heritage",
"Research and public policy"
],
"customText24": "White: English",
"customText21": "Man",
"customText22": "No",
"customText27": [
"Education"
],
"customText25": "Heterosexual",
"name": "Test Name",
"customInt1": "1",
"address": {
"address1": null,
"address2": null,
"city": null,
"state": null,
"zip": null,
"countryID": "2359",
"countryCode": null,
"countryName": null
}
}