Question

Create multi table entry with relations via a webhook on Ninox

  • 26 August 2022
  • 0 replies
  • 31 views

I have to state, that I am quite new to this. We want to add datasets in Ninox from forms on our website using webhooks. It is actualy successfull for one entry into a table. However, we need to feed three tables which are connected to each other. The JSON sent is something like this (simplified):

[{
"name": "john",
"first": "smith",
"trip": [{
"start": "London",
"end": "San Francisco",
"leg": [{
"start": "London",
"end": "Boston"
}, {
"start": "Boston",
"end": "San Francisco"
}]
}, {
"start": "San Francisco",
"end": "London",
"leg": [{
"start": "San Francsico",
"end": "Paris"
}, {
"start": "Paris",
"end": "London"
}]
}]
}]

The fields name and first are easy to create using the configurator, however, I did not find any way to create the related entries in the subtables and have them linked to the respective table.

Anyone has done this?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.