microappdata/row

description

Returns a row of data from a Microapp.

parameters

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

See Also

Last updated