Hello,
I'm having troubles trying to create a new contact with a given account. I'm using the web api. I'm sending a HTTP Post request to the web api endpoint with this application/json data in the body :
{"new_originspot":"true","fullname":"New Contact","emailaddress1":"newcontact@skynet.be","new_language":5,"parentcustomerid_account@odata.bind":"6bb07b9b-5f29-e911-a966-000d3ab799ec"}
This request throws me this exception : "Resource not found for the segment '6bb07b9b-5f29-e911-a966-000d3ab799ec'."
It seems like the Account guid isn't existing but it actually does, because when i lookup after it in the CRM i found it by its guid and it's the same one, plus : the guid was retrieved from the crm web api, So i don't really understand this error...
The thing is when i remove the "parentcustomerid_account@odata.bind":"6bb07b9b-5f29-e911-a966-000d3ab799ec" part from the json, the contact is successfully created but he belongs to no Account... How can i create a contact that belongs to a given account ?
Does anyone have any idea how can solve that ?
Thank you !