Data Structure Notes
Creates a structure note for a data structure identified by its external ID rather than its numeric ID.
Requires administrative privileges (administrator or service account) because this endpoint always uses the forced workflow path.
Request body:
structure_note(required) – Object containing:data_structure_external_id(required, string) – External ID of the target structure.df_content(required) – Note content based on the structure's template.
The external ID is resolved to a data structure, which is then used to validate access and determine the template and workflow state. The note is created directly in the requested status (forced creation).
Skip mandatory field validation when creating/updating a draft
Structure note created
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/data_structure_notes HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"structure_note": {
"data_structure_external_id": "ds_customer_email",
"df_content": {
"field_name": "value"
}
}
}{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": {
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
}Searches structure notes across all data structures using the supplied filters.
Requires administrative privileges (administrator or service account). This is a global search across the entire note catalog, not scoped to a single structure. That is why the permission check is global rather than per‑structure..
Request body:
query(optional, string) – Free‑text search.status(optional, string) – One ofdraft,pending_approval,published,rejected,versioned,deprecated.updated_at(optional, string) – Lower bound on the last update timestamp.until(optional, string) – Upper bound on the last update timestamp.system_id(optional, integer) – Filter by system.data_structure_id(optional, integer) – Filter by structure.size(optional, integer) – Number of results, capped at100.
Search payload for structure notes. Supported filters include query, status (draft, pending_approval, published, rejected, versioned, deprecated), updated_at, until, system_id, data_structure_id, and size. size defaults to the search layer's configured page size and is capped at 100 in this schema; note searches are permission-aware and only return notes visible to the current user.
Filter by data structure ID
Search query text
Number of results per page
Filter by status
Filter by system ID
Filter by update timestamp (upper bound)
Filter by update timestamp
Structure note search response
Unauthorized
Forbidden
Internal Server Error
POST /api/data_structure_notes/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"query": "customer",
"size": 20,
"status": "published"
}{
"data": [
{
"data_structure_external_id": "ds_customer_email",
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
]
}Returns all structure notes for the specified data structure that are visible to the current user, along with the available workflow actions.
Requires the 'View structures' permission on the data structure. The set of returned notes is further filtered by the user's note‑workflow permissions; for example:application
Drafts are only visible with 'Edit note'
Pending approvals are only visible with 'Send note to approval'
Rejected notes are only visible with 'Reject note'
Versioned/deprecated notes are only visible with 'View notes history'.
Published notes are visible without further permissions.
Only notes whose status the user is permitted to see are returned. For draft and pending‑approval notes, the response includes a _diff field listing the fields changed with respect to the published version.
Soft‑deleted structures are excluded by default. Available actions are also returned at the top level of the response so the client can discover the next possible workflow steps.
Data structure ID
Structure notes
Unauthorized
Forbidden
Internal Server Error
GET /api/data_structures/{data_structure_id}/notes HTTP/1.1
Accept: */*
{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": [
{
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
]
}Creates a new structure note for the specified data structure.
Requires the 'View structures' permission on the structure plus the 'Create note' permission. When the request includes force: true, it requires administrative privileges (administrator or service account).
Request body:
structure_note(required) – Object containing:df_content(required) – Note content, based on the structure's template.status(optional) – Target status. Ignored unlessforceis used; by default the note is created as a draft.
force(optional, boolean) – Whentrue, the note is created directly in the target status without following the standard workflow. Default:false.
The status field is workflow‑driven. Without force, the note always starts as a draft.
The response includes the available workflow actions for the newly created note. A Location header points to the created resource.
Data structure ID
Skip mandatory field validation when creating/updating a draft
Structure note
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/data_structures/{data_structure_id}/notes HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"structure_note": {
"df_content": {
"field_name": "value"
}
}
}{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": {
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
}Retrieves a single structure note by its ID.
Requires the 'View structures' permission on the data structure. The set of returned notes is further filtered by the user's note‑workflow permissions; for example:application
Drafts are only visible with 'Edit note'
Pending approvals are only visible with 'Send note to approval'
Rejected notes are only visible with 'Reject note'
Versioned/deprecated notes are only visible with 'View notes history'.
Published notes are visible without further permissions.
Data structure ID
Structure note ID
Structure note
Unauthorized
Internal Server Error
GET /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Accept: */*
{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": {
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
}Updates a structure note's content or transitions it to a new workflow status.
Permissions: The exact permission depends on the transition requested:
Editing draft content requires 'Edit note'.
Publishing a note directly requires 'Publish note'.
Publishing a draft requires 'Publish note from draft'.
Submitting for approval requires 'Send note to approval'.
Rejecting requires 'Reject note'.
Unrejecting requires 'Unreject note'.
Deprecating requires 'Deprecate note'. All transitions additionally require the 'View structures' permission on the parent structure.
Request body:
structure_note(required) – Object containing:df_content(optional) – New content (only when editing a draft).status(optional) – Target status; when provided, a workflow transition is attempted.
If status is omitted or null, the note is treated as an edit and the df_content is updated in place. Otherwise, the requested status transition is validated against the workflow.
The response includes the updated note and the available workflow actions after the transition. A Location header points to the note.
Data structure ID
Structure note ID
Skip mandatory field validation when creating/updating a draft
Structure note updated
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
PUT /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"structure_note": {
"df_content": {
"field_name": "updated_value"
},
"status": "published"
}
}{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": {
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
}Permanently deletes a structure note.
Requires the 'View structures' permission on the parent structure and the 'Delete note' permission.
Only notes in a deletable status (typically draft or rejected) can be removed.
Data structure ID
Structure note ID
Structure note deleted
No content
Unauthorized
Forbidden
Internal Server Error
DELETE /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Accept: */*
No content
Updates a structure note's content or transitions it to a new workflow status.
Permissions: The exact permission depends on the transition requested:
Editing draft content requires 'Edit note'.
Publishing a note directly requires 'Publish note'.
Publishing a draft requires 'Publish note from draft'.
Submitting for approval requires 'Send note to approval'.
Rejecting requires 'Reject note'.
Unrejecting requires 'Unreject note'.
Deprecating requires 'Deprecate note'. All transitions additionally require the 'View structures' permission on the parent structure.
Request body:
structure_note(required) – Object containing:df_content(optional) – New content (only when editing a draft).status(optional) – Target status; when provided, a workflow transition is attempted.
If status is omitted or null, the note is treated as an edit and the df_content is updated in place. Otherwise, the requested status transition is validated against the workflow.
The response includes the updated note and the available workflow actions after the transition. A Location header points to the note.
Data structure ID
Structure note ID
Skip mandatory field validation when creating/updating a draft
Structure note updated
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
PATCH /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"structure_note": {
"df_content": {
"field_name": "updated_value"
},
"status": "published"
}
}{
"_actions": {
"draft": {
"href": "/api/data_structures/123/notes",
"input": {
"df_content": {}
},
"method": "POST"
}
},
"data": {
"data_structure_id": 123,
"df_content": {
"field_name": "value"
},
"id": 1,
"status": "published",
"updated_at": "2026-06-18T10:00:00Z",
"version": 2
}
}Last updated