The X-Auth-Token and X-User-Id are derived from the values authToken and userId returned from the login endpoint and are used in the HTTP header.
Resource
POST /api/microappdata/row
X-Auth-Token: <token goes here>
X-User-Id: <userID goes here>
{
"rowID":"<insert row id here>"
}
response
A JSON document with the Microapp data.
example
Fetching a single row from a Microapp is achieved by passing in a rowID.
linkedtable (crossapp row) field example
If the input Datatable row has a linked table (crossAppRow) field, then the target field information will be returned. Linked table fields create relationships between different tables in your app.
Structure:
crossAppRowID: The _id of the linked row in another table
value: Display information from the linked row
additionalValues: Additional field values from the linked row (optional)
Example Response:
Common Use Cases:
Connecting organizations to marketplace listings
Assigning users to projects or tasks
Linking products to categories
Creating many-to-many relationships between data tables
POST /api/microappdata/row
X-Auth-Token: <the authtoken you got back after authentication>
X-User-Id: <the userid you got back after authentication>
{
"rowID":"cd34d53eddaad4aa55656bb5"
}