json add array
Hi everyone, i have spend several hours solving this Problem. I have this code:
this is working just fine i get some products as i want. now i want to add this code to the myBody positions:invoice_positions.. i guess its like append to the array which i get from my loop.
any suggestions?
2 replies
-
You could try:
Just wondering why let myBearer := (select Einstellungen).'Bexio API-Token'; does work though....
I would think using like this (using the first() function) :
let myBearer := first((select Einstellungen).'Bexio API-Token');
Also for the bank account and the tax ID.
-
Thank you for your time Steven.
as Einstellungen (settings) is a page and not table I assumed that first() is not necessary as there are no other entries..
as for my other problem to add some values to my array I gave up after 8 hours trying .
my new approach now is to add the values to my subtable Projektpositionen so no need to append the array..
Appreciate your time Steven as I’m new to Ninox :)
Content aside
- Status Answered
- 1 yr agoWed, March 6, 2024 at 8:50 AM UTCLast active
- 2Replies
- 168Views
-
2
Following