Add a task
Adds a task to the specified job. Order defaults to max+1 when omitted. A task added under unattached is stored without a job. When order is omitted it defaults to 0; when provided, the requested order is stored until the task is attached to a job.
Authorizations
Path Parameters
The unique identifier of the job that owns the task. Use the reserved value unattached to address tasks that are not attached to any job, which happens when a component defines a task whose parent_job_id expression evaluates to nothing.
Body
- Option 1
- Option 2
- Option 3
FILE_HEADER_VALIDATOR Headers the validated file is expected to contain. A literal value or a buildtime expression resolved from component references when the task is saved. Buildtime expressions use JobBuildtimeContext.
Headers the validated file is expected to contain. A literal value or a buildtime expression resolved from component references when the task is saved.
EXACT_SET, ORDERED, SUBSET Action taken when the headers do not match. A literal value or a buildtime expression resolved from component references when the task is saved. Buildtime expressions use JobBuildtimeContext.
FAIL, WARN Position of this task in its job's ordered task list. A literal integer or a buildtime expression resolved from component references when the task is saved; when omitted the task is appended after the existing tasks. Buildtime expressions use JobBuildtimeContext.
Id of the job this task belongs to. A literal job id or a buildtime expression resolved from component references when the task is saved; when omitted the task belongs to the job in the request path. Buildtime expressions use JobBuildtimeContext.
Response
Successful response
- Option 1
- Option 2
- Option 3
Stored task definition. Field order is unevaluated and appears in buildtime-evaluatable form.
Unique id of the task.
Position of this task in the job, as the buildtime expression or literal that was saved. Re-evaluated on campaign publish to determine the task's resolved execution order. Buildtime expressions use JobBuildtimeContext.
Id of the job this task belongs to, as the buildtime expression or literal that was saved. Buildtime expressions use JobBuildtimeContext.
FILE_HEADER_VALIDATOR Headers the validated file is expected to contain. A literal value or a buildtime expression resolved from component references when the task is saved. Buildtime expressions use JobBuildtimeContext.
Headers the validated file is expected to contain. A literal value or a buildtime expression resolved from component references when the task is saved.
EXACT_SET, ORDERED, SUBSET Action taken when the headers do not match. A literal value or a buildtime expression resolved from component references when the task is saved. Buildtime expressions use JobBuildtimeContext.
FAIL, WARN 