Skip to main content Link Search Menu Expand Document (external link)

insertmicroapprow

description

Add a new row to a Microapp

parameters

ignoreActionRules - this tells the insert code not to fire any of the rules set up in the microapp for when the row is inserted

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

{
	"microAppID":<insert microapp id here>",
	"rowData":{
		"ExampleFieldName":"ExampleValue"
	},
	"ignoreActionRules":true
}

response

Returns the status of the request

example

POST /api/insertmicroapprow
X-Auth-Token: <the authtoken you got back after authentication>
X-User-Id: <the userid you got back after authentication>

{
	"rowID":"9860757f2bf858439ed9cc3e",
	"rowData":{
		"Name":"Fred"
	}
}

You should get back:

{
    "status": "success",
}