web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to write Web Api request with inner join

(0) ShareShare
ReportReport
Posted on by

Hello

I have following fetchXML request:


var fetchXML2 = `
<fetch>
  <entity name="team" >
    <attribute name="name" />
      <filter>
         <condition attribute="name" operator="eq" value="Private access to notes" />
      </filter>
         <link-entity name="teammembership" from="teamid" to="teamid" link-type="inner" >
       <filter>
         <condition attribute="systemuserid" operator="eq" value="${currentUserId}" />
       </filter>
    </link-entity>
  </entity>
</fetch>
`;

Here I just have inner join and condition for each table. Now I need to write Web Api request which will return the same result. My new request must look like "?$select=name&$filter=name eq 'Private access to notes'"; or something like this.

Is there some converter for getting Web Api requests? (for example there is fetchXML creator in Xmr tool box for creating fetchXML requests).  How to write request with inner join?

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    It seems not to be the feature of Guides application.

    Would you please specify which application you're using in Dynamics?

    And I'll move it to the proper forum for more help.

  • EaredGen2 Profile Picture
    on at

    Hi. Probably you are right.

    My question about JS plugins for Dynamics crm 365, forms customization.

    Thank you for removing)

  • Suggested answer
    Sergi Valero Profile Picture
    145 on at

    Hello EaredGen!

    Here you have the Microsoft Dataverse Web API guide. You will find information about how it works and also how you can execute different type of actions. If you want to see how filter queries are made without looking all the documentation, I recommend you to see the code Samples, you can find them in JS, HTTPS and also C#, here you have the link to the JS ones.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans