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": {},
"reference_id": "<string>"
}'
{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"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": [],
"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": {},
"reference_id": "<string>"
}'
{
"bank_statement": null,
"created": "2023-11-07T05:31:56Z",
"email": null,
"file_class": "<string>",
"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": [],
"reference_id": "<string>",
"renamed_filename": "<string>"
}
Ok
The response is of type object
.
Was this page helpful?