Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Connector Development
Answered

Create a custom connector to create an item inside our REST API. How we can use this connector inside Power Apps

(0) ShareShare
ReportReport
Posted on by 3,502

We have a .NET web application and it has REST API. Where each of our customers has their own API key. Now we want to create a Power Apps custom connector, which allow our users to easily create items inside our system through the API.

So I will create the custom connector >> define the POST request, where users will have to submit this JSON data:-

 

{
 "id": 0,
 "name": "string",
 "email": "string",
 "phone": "string",
 "trusted": true,
 "paymentDetails": [
 {
 "id": 0,
 "currency": "string",
 "sortCode": "string",
 "accountNumber": "string",

 "address": {
 "id": 0,
 "addressLine1": "string",
 "addressLine2": "string",
 "mainAddress": true,
 "type": "BENEFICIARY"
 }
 }
 ],
 "externalId": "string",
 "taxResidency": "string"
}

 

but what i am not sure about is how users will be consuming this API inside their Power Apps? For example when we use the build-in SharePoint connector, we can do the following inside our Apps:-

1) Add a form 

2) Define the source for the form to be a SharePoint list

3) Then Power Apps will automatically add the fields inside the Forms

4) Then we can simply submit the data back to SharePoint by writing "SubmitForm(FormA)"...

 

So i have these three questions:-

 

1) When we create the custom connector and define the above JSON object >> will we get the same capabilities as in the SharePoint Connector? so we can add a form inside a Power Apps>> define its source to be our connector >> get all our fields automatically added inside the form >> submit the data to the API by calling SubmitForm(****)? or things will be more manual, where we will have to define the form fields by ourselves and manually referencing those fields to be submitted to the API?

 

2) Most of the documentations and videos i found about creating custom connectors, use GET methods. Where they pass parameters to the API through the custom connector and get the feedback.. but i could not find any documentation about how to create POST requests inside custom connectors, and then use this Post action to build a Form and submit the form data to the API through the custom connector?

 

3) Since our JSON have nested properties such as PaymentDetails & PaymentDetails.Address.. so are those types of JSON supported when creating custom connectors? If so then how those JSON properties will be represented inside the Power Apps form fields? in other words, if we want to define the PaymentDetails.Address.Address1 property inside the form then what will be the field name?

 

Thanks in advance for any help.

 

Regards

   

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics