API POST candidate will clear already set Address Properties
Posted: Wed Apr 29, 2020 2:54 pm
Hi,
I'm having some issues with updating candidates through the REST API.
When updating an existing candidate using the endpoint all properties not provided are being reset.
for example:
posting the following JSON to /entity/candidate/{id}
will set the country to the Netherlands.. when I POST the following to the same endpoint
the country is reset to United States.
How can I make sure that already set fields are not cleared?
This also includes address fields that are being set through the Bullhorn application. If other address properties of a Candidate are being set, making a POST to he candidate endpoint will clear all the other set values.
Regards,
Tyhrstan
I'm having some issues with updating candidates through the REST API.
When updating an existing candidate using the endpoint all properties not provided are being reset.
for example:
posting the following JSON to /entity/candidate/{id}
Code: Select all
{
"name": "test from me",
"firstName": "test",
"lastName": "from me",
"email": "email@me.com",
"mobile": "0987654321",
"address": {
"city": "place",
"zip": "1111AA",
"countryID": 2306,
"countryName": "Netherlands"
},
"source": "web"
}
Code: Select all
{
"name": "test from me",
"firstName": "test",
"lastName": "from me",
"email": "email@me.com",
"mobile": "0987654321",
"address": {
"city": "place",
"zip": "1111AA"
},
"source": "web"
}
How can I make sure that already set fields are not cleared?
This also includes address fields that are being set through the Bullhorn application. If other address properties of a Candidate are being set, making a POST to he candidate endpoint will clear all the other set values.
Regards,
Tyhrstan