Insert Entity
add new record to the entity, this endpoint will return the inserted record with the persistenceId.
POST /api/entities/:entityNameRequest Body
{
"key": "value",
}If the table linked to the entity is not exists, the endpoint will create the table and insert the record.
It will use the defined primary keys in Entity Form and will create new table with the specified primary keys.
Response
{
"data": [
{
"key": "value",
"persistenceId": "123",
}
],
"status": "OK",
"code": 200,
"timestamp": 1234567890,
"meta": {},
}Read the Persistence ID documentation for more information about the persistenceId.