Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to create a custom api and test it in postman?

(0) ShareShare
ReportReport
Posted on by

2020_2D00_05_2D00_28-_2800_1_2900_.png

Hey, guys, I'm new for Dynamics 365 can anyone walk me through create a custom API and test it as I was trying to create a custom API but when I tried to test it on postman getting an error. so please anyone can help me with this

  • Community Member Profile Picture
    on at
    RE: How to create a custom api and test it in postman?

    yes, my app service is built on the .NET FrameWork  and thanks for reply

  • cloflyMao Profile Picture
    25,208 on at
    RE: How to create a custom api and test it in postman?

    Hi Saikrishna,

    Is your app service built with .NET Framework?

    I have checkd your URL, you app service is running, which means  that your app has been published to Azure.

    However, there is some error in your path: api/data/v9.0/patient, please add proper code to your endpoint to process request data.

    You could take tutorial below as reference for how to build a web api with ASP.NET.

    https://developer.okta.com/blog/2019/03/13/build-rest-api-with-aspnet-web-api

    Regards,

    Clofly

  • Community Member Profile Picture
    on at
    RE: How to create a custom api and test it in postman?

    Hey Clofly thanks for the reply... I just edited the image now you see clearly.

  • cloflyMao Profile Picture
    25,208 on at
    RE: How to create a custom api and test it in postman?

    Hi Saikrishna98,

    Could you post a larger screenshot? I couldn't recognize error in the posted screenshot.(text is too small)

    How did you create your custom API?

    If you would like to create a custom API endpoint, you could create a HTTP Request Trigger in Power Automate,

    it will process client request information and connect to your Dynamics environment, then send a custom response back to client.

    https://flow.microsoft.com/en-us/blog/call-flow-restapi/

    Regards,

    Clofly

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 220 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans