Bulk-import a task with its steps

Create a task and its full step list in one call. The operation is wrapped in a database transaction. Any validation failure rolls back the task and all previously-saved steps.

Body shape: { "task": {...}, "steps": [...] }. The task's steps ordering array is derived server-side from the position of each step in steps[]. Any caller-supplied task.steps is ignored.

Steps are saved under the SCENARIO_PASTE scenario. Observation steps may include a feedback value with linked: true and an embedded taskJson object; the server auto-creates the linked subtask and wires it up.

Required fields:

  • task.name
  • task.product_id
  • steps (array, may be empty)

No idempotency mechanism. Retrying a failed network request may create a duplicate task. Retry only after explicit failure (status >= 400).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Envelope for POST /expertisetasks/import. Contains a task object (subset of
ExpertiseTaskEditable) plus a steps array (each entry is a subset of
ExpertiseStepEditable). The server fills in task.steps in payload order; any
caller-supplied task.steps is ignored.

task
object
required

Editable fields accepted on POST /expertisetasks and PATCH /expertisetasks/{id}.

On PATCH, only dependencies, name, published, roles, and translations are honored. product_id and type cannot change after creation.

Use the translations field to push pre-translated task names. Translation rows are written with locked: 1 by default to prevent auto-translate from overwriting them.

steps
array of objects
required

Steps to create, in execution order. Server omits any per-step task or
product_id fields the caller may have included — those are forced to the
parent task's GUID and product. Each step is saved under SCENARIO_PASTE.

steps*
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json