Docs
Get Entity Schemas
GET /organizations/{organizationId}/templates/schema
GET
/organizations/{organizationId}/templates/schemaLists the entity types a template can contain, each with its display name, description, the entity types it depends on, and its properties. Use it to build valid input for Templates_AddTemplateEntity and Templates_UpdateTemplateEntity.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | uuid | Required |
Response
Type: TemplateEntitySchema[]
TemplateEntitySchema
| Field | Type | Description |
|---|---|---|
| entityType | string| null | |
| displayName | string| null | |
| description | string| null | |
| dependsOn | string[]| null | |
| properties | PropertySchema[]| null |
PropertySchema
| Field | Type | Description |
|---|---|---|
| name | string| null | |
| type | string| null | |
| isRequired | boolean | |
| description | string| null | |
| refEntityType | string| null |