Adding and Updating Data

Entities may be managed using the following calls:

Data Formatting

Formatting to keep in mind when adding or updating data:

JSON Format

Entities are populated using JSON objects. You can add the value as an object, or as attribute and value pairs.

The example below shows a simple sample JSON value with attribute and value pairs that is valid to use with entity.replace, or entity.update:

{"Name":"Bob","Description":"Smith"}

Removing Data

Data can be overwritten with an empty value to remove it from an entity. Note: null is not supported. An empty object must be passed.

Example:

{"foo":[]}