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 :
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

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    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

  • Community Member Profile Picture
    on at

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

  • cloflyMao Profile Picture
    25,210 on at

    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

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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans