QamaqQamaq
POST

Entitäts-Datensatz erstellen

/entities/{entity_key}/records

Erstellt einen neuen Datensatz für eine Entität.

Parameter

Pfadparameter

NameTypBeschreibung
entity_keyerforderlich
string

The entity schema ID

Anfragekörper

application/jsonerforderlich
{
data*:object

Record data matching the entity schema fields

}

Code-Beispiele

curl -X POST "https://api.qamaq.io/api/v1/entities/{entity_key}/records" \
  -H "Authorization: Bearer qmq_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Antworten

201Record created successfully

Response Body

{
id:string
data:object
created_at:string (date-time)
}