For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

XLSX

Upload Excel file to create concept-structure relations in bulk

post

Creates links between business concepts and data structures in bulk from an Excel (XLSX) file. The file is processed asynchronously; a task_reference is returned for tracking. If the same file hash is being processed, the existing event is returned. Errors are reported per row in the job's event record.

Links cannot be modified or deleted through this endpoint.

Permissions: Two levels of checks apply:

  • Enqueue: The caller must hold 'Manage business concept links' or 'Link structures' (checked globally).

  • Per‑row validation: When the background job runs, each row is validated individually:

    • The source concept's domain requires 'Manage business concept links' (through the concept abilities).

    • The target structure's domain requires both 'View structures' and 'Link structures' on the structure's domain. Rows that fail these checks are reported in the job's errors response.

Request body (multipart/form-data):

  • relations (required, file) – XLSX workbook with the links.

  • source (required, string) – Must be "business_concept".

  • target (required, string) – Must be "data_structure".

Workbook columns:

  • id, current_version, concept_name, concept_type, domain_external_id, domain_name, structure_external_id, structure_name, structure_system, path, link_type.

  • concept_type – The template's name (not the label).

  • link_type – The relationship code as defined (not a translated label).

  • Required on upload: concept_name, concept_type, domain_external_id, structure_external_id.

  • Optional: link_type – if omitted, the link is created without a specific type.

Field formats (Excel uploads):

  • Number – Excel cell format Number or General.

  • Date – Excel cell format Date, or Text matching: yyyy-mm-dd, yyyy/mm/dd, dd-mm-yyyy, dd/mm/yyyy.

  • DateTime – Excel cell format Date, or Text matching: yyyy-mm-dd hh:mm:ss, yyyy/mm/dd hh:mm:ss, dd-mm-yyyy hh:mm:ss, dd/mm/yyyy hh:mm:ss.

  • Link – [Link text] (https://example.com/).

  • User or Group – user:Full Name or group:Group Name / group:Group Alias.

  • User – The user's full name without the user: prefix.

  • Group – Group name or alias without the group: prefix.

  • Table / Dynamic Table – Column headers separated by semicolons (;), with a line break inside the cell separating headers from data rows.

  • Multiple Values – Values separated by pipe (|).

  • Rich Text – Downloaded and uploaded without formatting; remove the column unless uploading plain text content.

  • Dropdown / Radio / Checkbox – Values must match the template definition exactly (case‑sensitive).

Body
relationsstring · binaryRequired

Excel file (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet or application/octet-stream)

sourcestringRequired

Source resource type (e.g., business_concept)

targetstringRequired

Target resource type (e.g., data_structure)

Responses
202

Accepted

application/json
file_hashstringRequired

MD5 hash of the uploaded file

statusstringRequired

Upload status (e.g., PENDING, EVENT_FAILED)

task_referencestringRequired

Reference to the background job (e.g., oban:123)

post/api/relations/links/upload
POST /api/relations/links/upload HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 82

{
  "relations": "file content",
  "source": "business_concept",
  "target": "data_structure"
}
{
  "file_hash": "d41d8cd98f00b204e9800998ecf8427e",
  "status": "PENDING",
  "task_reference": "oban:123"
}

Last updated