How to get sub-table with REST API
What is no problem: Accessing a table or record and read text fields.
- retrieve a table: https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/
- retrieve it's first record: https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1
What I would like to do: Access a sub-table and its field values.
What I tried: Requests of the format
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/1 or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/A or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/subtables or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/subtable or
Is it possible to retrieve sub-tables with their field values? If yes, what is the syntax?
2 replies
-
Rephrase: Is it possible to retrieve sub-tables with their field values? If yes, what is the syntax?
Requests I tried without success:
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/1 or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/A or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/subtables or
- https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>/tables/B/records/1/subtable -
I could solve the problem: Sub-tables are also tables.
I found the scheme here: https://api.ninox.com/v1/teams/<teamId>/databases/<dbId>
Content aside
- 4 yrs agoLast active
- 2Replies
- 636Views