Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Can I get the URL of a task after creating it via the OData API?

(0) ShareShare
ReportReport
Posted on by

If I create a new task via the API and get an id back in the format: '5c05aba9-37eb-ed11-a7c6-002248082f93' etc. can I use that to build a URL to the task in any way? (Without knowing the app ID).

Alternatively, is it possible to get the URL to the task returned in the response?

The URL i'm looking for would be along the lines of:
https://{account}.dynamics.com/main.aspx?appid={app id}&pagetype=entityrecord&etn=task&id={task id}

  • Suggested answer
    Manoj Mane Profile Picture
    1,012 on at
    RE: Can I get the URL of a task after creating it via the OData API?

    Hi btc_dynamics,

    what @Guido Preite said is correct if you don't pass the app id it will open an task record in recent opened App.

    On top of that you can save the appid in a environment variable and retrieve that environment variable and pass it in a variable. 


    Thanks,

    Manoj Mane.
    Please mark this as VERIFIED if it helps. image

  • Verified answer
    Guido Preite Profile Picture
    54,075 Moderator on at
    RE: Can I get the URL of a task after creating it via the OData API?

    if I remember correctly if you don't specify the appid inside that url (so not including the parameter) the url opens in the last app opened by the user.

    hope it helps

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…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,821 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans