Hi all,
I'm receiving a Status Code 400: Bad Request error when trying to create a new Address record using the Web API. I'm able to authenticate as expected and when I change my JSON to create an account record it works perfectly.
I've tried the following for my JSON:
JObject newAddress = new JObject
{
{"Name", "Address Test"},
{"addresstypecode", 1},
{"Line1", "Line 1"},
{ "ParentId_contact@odata.bind","/contacts(b1d5e428-e130-e811-812f-e0071b6e06c1)"},
{"ObjectTypeCode", 2}
};
Any suggestions helpful!
Thanks,
Vikesh