Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

WebAPI - How to insert "agent name" while creating a phonecall timeline record?

(0) ShareShare
ReportReport
Posted on by 5

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

/api/data/v9.0/accounts?$select=name,telephone1,address1_composite,description.
Please refer the attached screenshot.
Your response is much appreciated.
Thanks,
Avi
4571.unnamed.png
  • AviG Profile Picture
    AviG 5 on at
    RE: WebAPI - How to insert "agent name" while creating a phonecall timeline record?

    Thank you very much, Esteban!

    Yes sure, I'll accept your post after trying out the solution.

  • RE: WebAPI - How to insert "agent name" while creating a phonecall timeline record?

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans