I'm working on integration software, which should create contacts in CRM. I can do it already, but I didn't get how to set relations for account?
I send POST to ContactSet endpoint with this data:
{
"Telephone1": "222-333",
"LastName": "Smith",
"FirstName": "John",
"EMailAddress1": "jonh@test.com",
"AccountId": {
"__metadata": {
"type": "Microsoft.Crm.Sdk.Data.Services.EntityReference"
},
"Id": "9dc28c45-e8cb-e411-80f5-c4346bad02e8"
}
}
Contact is created, but in Account window I don't see this contact in contact's list