curl --request PATCH \
--url https://app.herondata.io/api/end_user_files/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_class": "<string>",
"page_classes": {},
"parent_heron_id": "<string>",
"reference_id": "<string>"
}
'{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"file_source_metadata": {},
"filename": "<string>",
"heron_id": "<string>",
"iso_application": {
"heron_id": "iso_6hBjQT9k6KP2rLCXwjUJff",
"processing_status": "processed"
},
"num_pages": 123,
"page_classes": {},
"parent_heron_id": "<string>",
"parsed_results": [],
"processing_error": "<string>",
"reference_id": "<string>",
"renamed_filename": "<string>"
}Use this endpoint to change the end user file’s class. The file will be reprocessed as the new type.
curl --request PATCH \
--url https://app.herondata.io/api/end_user_files/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_class": "<string>",
"page_classes": {},
"parent_heron_id": "<string>",
"reference_id": "<string>"
}
'{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"file_source_metadata": {},
"filename": "<string>",
"heron_id": "<string>",
"iso_application": {
"heron_id": "iso_6hBjQT9k6KP2rLCXwjUJff",
"processing_status": "processed"
},
"num_pages": 123,
"page_classes": {},
"parent_heron_id": "<string>",
"parsed_results": [],
"processing_error": "<string>",
"reference_id": "<string>",
"renamed_filename": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.herondata.io/llms.txt
Use this file to discover all available pages before exploring further.
Ok
Show child attributes
null
Show child attributes
null
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?