Dynamics CRM Web API - Assign Records / Update Owner field

Viewed 4240

I am trying to create a Task record in Dynamics 365 and I want the owner to be a team record for which I have already retrieved the GUID.

This is my JSON and it always fails.

{
  "ownerid_team@odata.bind":"/teams(f7e383eb-3966-e711-8122-e0071b66c021)",
  "scheduledend":"2017-07-20",
  "regardingobjectid_new_survey@odata.bind":"new_surveies(f7e383eb-3966-e711-8122-e0071b84b034)",
  "subject":"Amazon SES has suppressed sending to this address because it has a recent history of bouncing as an invalid address.",
}

I get a bad request.

Can we not use the Web API to update the owner field of records? I could not find any specific limitations describing the same.

1 Answers
Related