Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to process the API in c# code

(1) ShareShare
ReportReport
Posted on by 5

Hi,

I need help about using web api in c#.
pastedimage1653569618250v1.png

How I can handle the highlighted area in code dynamically?
Is there any library available?

Like we can use SOQLQueryBuilder in salesforce.

Thanks

  • Suggested answer
    Moximox Profile Picture
    Moximox 2 on at
    RE: How to process the API in c# code

    Hi

    yes. You pass the fetchxml. See url for examples. 

    https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/samples/cdswebapiservice-query-data

    mox

  • RE: How to process the API in c# code

    I want to build query in the code.

    Is there any way?

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to process the API in c# code

    Hi,

    You can look at below sample web api c# project by Microsoft to construct your query.

    github.com/.../QueryData

  • Guido Preite Profile Picture
    Guido Preite 54,087 Super User 2024 Season 1 on at
    RE: How to process the API in c# code

    what do you mean exactly?

    can you write some examples of what you want to achieve?

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans