Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Primary Keys Not Showing For Custom Page API In Power Automate

(1) ShareShare
ReportReport
Posted on by
Hi All, 
 
I have created an Page API to expose  Bank Acc. Reconciliation table which is not included in the API category (v 2.0) in Create Record (V3) action on Power Automate. 

I have 5 fields in my Page API but only 3 are showing. Upon investigation, I realized that the primary keys of the  Bank Acc. Reconciliation table are not showing. 

Below is the Page API I created:
 
 
In power automate, Create Record (V3) action shows 3 parameters instead of the 5 fields in the Page API above:
 
 
 
Upon Investigating, I realized the other 2 fields are part of the primary keys of the table but I need those keys for insertion.



Any help getting those two keys to display in power automate? Thank you. 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 5,947 Moderator on at
    Primary Keys Not Showing For Custom Page API In Power Automate
  • Suggested answer
    Ramiz Profile Picture
    Ramiz 455 on at
    Primary Keys Not Showing For Custom Page API In Power Automate
    As suggested by Tech-Lucky add the OdataKeyFields property.

  • Suggested answer
    Tech-Lucky Profile Picture
    Tech-Lucky 796 on at
    Primary Keys Not Showing For Custom Page API In Power Automate
    You can try 2 things:
     
    1.) add a property of OdataKeyFields 
    2.) Include all fields in the same Group.
     
     

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans