Batch Create Tasks
A maximum of 1000 tasks are accepted per request. This operation is nonatomic, and will return a successful status code for a partial success.
Authorizations
The Mergent API uses API keys to authenticate requests. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Body
The name of the task.
The name of the of the task queue.
The params for creating or updating a task request.
The ISO 8601 timestamp for when the task is scheduled to be executed.
A duration string containing numbers and a unit suffix of "s" for seconds, "m" for minutes, and "h" for hours. Examples: "5s"; "1.5h"; "2h45m" When both delay and scheduled_for are present, delay will be added to scheduled_for.
Response
The unique ID for the task.
The name of the task.
The name of the of the task queue.
The status of the task. Additional statuses may be added over time.
queued
, working
, success
, failure
A task request.
The ISO 8601 timestamp for when the task is scheduled to be executed.
The ISO 8601 timestamp representing when the task was created.
Was this page helpful?