Function createTask

  • Creates a new task for the specified resource. The task is owned by the requesting user and is disabled by default until explicitly enabled. The resourceId is derived automatically from the task's state definitions and cannot be set directly in the request body.

    Parameters

    • query: Record<string, unknown>

      an object with query parameters

    • body: tasks.Task

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<tasks.CreateTaskHttpResponse>

    CreateTaskHttpError