Passing a list of objects to an API from Appgyver
Options
![nP Dev](https://us.v-cdn.net/6037124/user_avatars/3667961.jpg)
nP Dev
Member ✭
I'm trying to figure out how to pass a list of objects from Appgyver to Xano to add to a table.
The list contains 2 fields:
1. crewID (int)
2. Time (string)
The list could contain up to 8 rows. I'm trying to configure the Xano API to add all the data in the list to the table in a single API call. I'm not sure if this is possible but thought I would ask.
Any help would be greatly appreciated.
The list contains 2 fields:
1. crewID (int)
2. Time (string)
The list could contain up to 8 rows. I'm trying to configure the Xano API to add all the data in the list to the table in a single API call. I'm not sure if this is possible but thought I would ask.
Any help would be greatly appreciated.
Comments
-
Hi please make sure you have configured Lists to contain Objectw in Appgyver. Add a PageVariable and set it to List and the then change that list to contain Objects. Then when you send data to Xano, Iterate over that list and update accordingly.
-
Achin,
Thanks for the reply. I've got my pagevar setup in Appgyver as a list of objects. What I don't know how to do is on the Xano side. How do I get Xano to add all the data in the list to the table? -
when described iterating over the list, he was referring to a loop. You will likely want to use a For Each Loop and then you can add each item to the database
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback