EndUserFiles

Update the end user file's class

Use this endpoint to change the end user file's class. The file will be reprocessed as the new type.

patch/api/end_user_files/{heron_id}

Request

  • Base URL
    https://app.herondata.io
  • URL
    https://app.herondata.io/api/end_user_files/{heron_id}
  • Auth
    API key in header x-api-key

Path parameters

heron_idstring required

Request body

file_classstring
page_classesobject nullable
parent_heron_idstring nullable
reference_idstring

Response

Ok

createdstring date-time
file_classstring
file_source_metadataobject nullable
filenamestring
heron_idstring
num_pagesinteger
page_classesobject nullable
parent_heron_idstring nullable
processing_errorstring nullable
reference_idstring
renamed_filenamestring

Example response

{
  "bank_statement": {
    "heron_id": "pdf_hX7v63EYDYa7gLijntntaE",
    "status": "processed"
  },
  "iso_application": {
    "heron_id": "iso_6hBjQT9k6KP2rLCXwjUJff",
    "processing_status": "processed"
  },
  "parsed_results": [
    {
      "field_validations": [
        {
          "result": "pass"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.