Path Parameters
The unique identifier of the task to complete.
Body
application/json
The result data from the task's execution.
Response
Task completed successfully.
The ID of the next task in the workflow, if any, or null.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.tasks.complete(
task_id="taskId",
)
print(response.next_task_id)
{
"nextTaskId": "<string>"
}
Marks a specified task as complete, providing the result of its execution. This may trigger the next task in the workflow.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.tasks.complete(
task_id="taskId",
)
print(response.next_task_id)
{
"nextTaskId": "<string>"
}
The unique identifier of the task to complete.
The result data from the task's execution.
Task completed successfully.
The ID of the next task in the workflow, if any, or null.