Page 1 of 1

can not only update one property in an address

Posted: Tue Mar 26, 2019 4:17 pm
by zhaofeng
e.g. if I only want to update address1 in a candidate address. I make a post request to /entity/Candidate/id
{
"address":{"address1":"123 some road"}
}

then address1 will be the new value but all the other fields in address will become empty.
Does it mean I need to query the full address first and change address1 and post the full address back?

Re: can not only update one property in an address

Posted: Wed Mar 27, 2019 11:30 am
by agrossman
Hi zhaofeng,

You are correct in that you would need to query the full address and include the other address fields as updating only address1 will clear the other fields.

Please let us know if you have any further questions!