createTask
Begins the execution of an asynchronous Task, which can begin a sequence of different actions. Returns an execution status with the task ID.
Input
Return Type
ExecutionStatus — contains id, status, and listings.
Example
mutation CreateTask {
createTask(input: {
groupId: "Z3JwMTIzNDU2"
taskType: REPORT
reportType: AUDIT
}) {
id
status
}
}
Related
- task query — poll for task completion
- TaskStatus enum