cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Adding a Table as a parameter

Hi,

 

I am currently creating a project that works against a Custom API that I made. For my post method, I am required to pass a Table as one of the parameters(which is just an object in the programming language of my Web API). Here is an example of the parameters Power Apps are requesting:

 

 

WebAPI.APIUserPost({id:Text, name:Text, email:Text, SerialNumbers:Table})

 

I am able to insert the first three parameters but am unable to satisfy the last parameter, which requires a table. Is there any way that I can create a new table of Serial Numbers(Which is just an object) to resolve this problem?

 

Thanks

 

2 REPLIES 2
Highlighted
Anonymous
Not applicable

For all that might see this, I ended up solving my problem by instantiating the Table to just be Blank().

Highlighted

Hi

 

So you are posting to your API a blank table and its coming back filed? Or did you do something like pass blank() into a table function? A quick code sample would clarify...

 

regards

 

Paul

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (12,629)