Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

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

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
Categories:
  • 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans