I'm trying to formulate the body of a put method to update contact attributes using REST, so far I have an xml string formatted like this:
string putBody = @"<cnt>" + "<billing_code>cost_cntr:1000072</billing_code>" + "</cnt>";
The call doesn't fail, the cost center field on the record just gets set to blank. This is the format that works with soap but I can't figure out how it needs to be modified to work with REST?
The line below works but that's updating a simple string attribute on the object itself not an SREL to another object.
//string putBody = @"<cnt>" + "<last_name>HelloWorld</last_name>" + "</cnt>";
Can someone point me in the right direction on handling SRELs with REST?