curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/tasks/{taskid}/import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"rows": [
{
"asset_id": "HW-001",
"device_input": "Physical servers",
"criticality": "High"
}
]
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Import into a task
Import into a task: table rows (JSON/XLSX) or question answers (JSON). dry_run validates and returns normalized data, the table’s current rows and errors without saving; otherwise it validates, submits to scoring, and records a new evaluation. By default the rows replace the table; keep_rows updates matching rows and keeps the others. Error messages follow lan (en or it). Requires the edit role.
curl --request POST \
--url https://app.aegister.com/api/v1/v-ciso/organizations/{organizationid}/workflows/{workflowid}/tasks/{taskid}/import \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"dry_run": true,
"rows": [
{
"asset_id": "HW-001",
"device_input": "Physical servers",
"criticality": "High"
}
]
}
'{
"error": 0,
"messages": [],
"data": {}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": [
9153
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Authorizations
Query Parameters
Validate only and return rows+errors without writing.
Language for labels/validation (en|it).
Body
Response
Any value different from 0 indicates an error.
More details can be found in messages.
0 <= x <= 00
If error is 1, contains zero or more details on the error.
[]
dry_run → {columns, rows, current, errors, valid_count, error_count, kept_count}; submit → {imported_rows, kept_rows, evaluation_id}

