Hi,
I am working on an integration project wherein I am trying to create a phonecall record on behalf of an agent in dynamics CRM through WebAPI. To insert the agent name in the record which entity/activity/table should be used? I am using the accounts entity to create a record as below
Thank you very much, Esteban!
Yes sure, I'll accept your post after trying out the solution.
Hello, in this case you have to considerate that "Agent Name" is a look up field. Here I attach the documentation about how to associate new table records to existing table records: docs.microsoft.com/.../createrecord
Here is a similar case presented that could help: community.dynamics.com/.../how-to-create-record-with-lookup-field-using-web-api
Also I am going to attach documentation about how to associate new entities to existing entities: docs.microsoft.com/.../create-entity-web-api
Thanks!
Community Support Team - Esteban
If this Post helps, then please consider Accept as solution to help the other members find it more quickly.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148