JSON Record Content List (Fields Only)
Describes a list of data field values (as name/value pairs) for a data record, used to update an existing data record entity of a specific ID.
Note: Date/time values are stored in the OL Connect database as Unix timestamps, i.e. the total number of seconds from the starting time of UTC (Universal Time, Coordinated) to the current time (with zero time zone offset). For instance: 1675950179.
In this JSON structure, dates are represented the same way.
Structure
The structure consists of an object with the following name/value pairs:
-
id– the data record entity identifier (type ofnumber) -
fields– a list of data fields in the data record entity, consisting of anarrayofobjectseach with the following name/value pairs: -
name– the name of the data field (type ofstring) -
value– the value of the data field (type ofstring)
Example
The following is an example of this structure:
{
"id": 12345,
"fields": [
{
"name": "FirstName",
"value": "Benjamin"
},
{
"name": "LastName",
"value": "Verret"
}
]
}