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

updatemicroapprow

description

Modify an existing row in a Microapp. The JSON body consists of rowID and rowData. The field names need to match (case sensitive) to the Buzzy field labels.

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

{
	"rowID":"<insert microapp row id here>",
	"rowData":{
		"ExampleFieldName":"ExampleValue"
	}
}

response

Returns the status of the request

example

POST /api/updatemicroapprow 
X-Auth-Token:<insert token here>
X-User-Id:<insert user id here>

{
	"rowID": "<insert row ID here>",
	"rowData": {
		"Location": {
			"address": {
				"country": "AUS",
				"formattedAddress": "472 NICHOLSON STREET, FITZROY NORTH VIC 3068",
				"geometry": {
					"type": "point",
					"coordinates": [
						144.97676137966107,
						-37.78852293598419
					]
				},
				"addressLastLine": "FITZROY NORTH VIC 3068",
				"addressNumber": "472",
				"areaName1": "VIC",
				"areaName2": "",
				"areaName3": "FITZROY NORTH",
				"areaName4": "",
				"mainAddressLine": "472 NICHOLSON STREET",
				"placeName": "",
				"postCode": "3068",
				"postCodeExt": "",
				"streetName": "NICHOLSON STREET",
				"unitType": "",
				"unitValue": ""
			}
		}
	}
}

You should get back:

{
    "status": "success",
}