curl -X PATCH "https://api.scanova.io/bulk-operation/download/format/bo-8f3a1c/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "result_file_format": "csv" }'
{
"operation_id": "bo-8f3a1c",
"result_file_format": "csv",
"result_file_size": "500",
"folder": null
}
Bulk Operations
Regenerate a bulk operation's result file
PATCH /bulk-operation/download/format//
PATCH
/
bulk-operation
/
download
/
format
/
{operation_id}
/
curl -X PATCH "https://api.scanova.io/bulk-operation/download/format/bo-8f3a1c/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "result_file_format": "csv" }'
{
"operation_id": "bo-8f3a1c",
"result_file_format": "csv",
"result_file_size": "500",
"folder": null
}
Changes a bulk operation’s result-file format (or destination folder) and re-triggers generation, on the Management API host (
This kicks off an asynchronous regeneration — the response confirms the request was accepted, not that the new file is ready yet. Poll List bulk operations and watch
api.scanova.io), authenticated with your raw Management API key.
PATCH https://api.scanova.io/bulk-operation/download/format/{operation_id}/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
required
The operation’s
operation_id.string
The file format to regenerate the result in, e.g.
csv, xlsx, zip.integer
A folder id to save the regenerated result into.
curl -X PATCH "https://api.scanova.io/bulk-operation/download/format/bo-8f3a1c/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "result_file_format": "csv" }'
{
"operation_id": "bo-8f3a1c",
"result_file_format": "csv",
"result_file_size": "500",
"folder": null
}
result_file for the updated download URL. 404 if operation_id isn’t an operation owned by this account.
Related
- Get a bulk operation’s result-file settings — check current settings before changing them.
- List bulk operations — watch for the regenerated file.
- Management API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Path Parameters
Response
Regeneration started.
Was this page helpful?