Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

How to process the API in c# code

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,962 Moderator 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,063 Moderator 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

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,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans