Skip to content

create_record

Create a record for a published model.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"data": {
"additionalProperties": true,
"title": "Data",
"type": "object"
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Idempotency Key"
},
"model_id": {
"title": "Model Id",
"type": "string"
}
},
"required": [
"application_id",
"model_id",
"data"
],
"title": "create_recordArguments",
"type": "object"
}
{
"properties": {
"_resolved": {
"anyOf": [
{
"additionalProperties": {
"additionalProperties": true,
"type": "object"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Resolved"
},
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdby"
},
"data": {
"additionalProperties": true,
"title": "Data",
"type": "object"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"modelId": {
"format": "uuid",
"title": "Modelid",
"type": "string"
},
"redirect": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Redirect"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"applicationId",
"modelId",
"data",
"createdBy"
],
"title": "RecordResponse",
"type": "object"
}