curl --request PATCH \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/batches/{batch_id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "PENDING"
}
'{
"created_at": "<string>",
"created_by": "<string>",
"id": "<string>",
"name": "<string>",
"organization_id": "<string>",
"scheduled_at": "<string>",
"source_type": "<string>",
"stats": {
"cancelled_count": 123,
"failed_count": 123,
"finished_count": 123,
"in_progress_count": 123,
"paused_count": 123,
"pending_count": 123,
"total_count": 123
},
"status": "<string>",
"total_prospects": 123,
"updated_at": "<string>",
"workflow_id": "<string>",
"workflow_version_id": "<string>",
"workflow_version_number": 123
}Update batch status and cascade to all runs
curl --request PATCH \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/batches/{batch_id} \
--header 'Content-Type: application/json' \
--data '
{
"status": "PENDING"
}
'{
"created_at": "<string>",
"created_by": "<string>",
"id": "<string>",
"name": "<string>",
"organization_id": "<string>",
"scheduled_at": "<string>",
"source_type": "<string>",
"stats": {
"cancelled_count": 123,
"failed_count": 123,
"finished_count": 123,
"in_progress_count": 123,
"paused_count": 123,
"pending_count": 123,
"total_count": 123
},
"status": "<string>",
"total_prospects": 123,
"updated_at": "<string>",
"workflow_id": "<string>",
"workflow_version_id": "<string>",
"workflow_version_number": 123
}Status update
PENDING, PAUSED, CANCELLED