curl --request POST \
--url https://app.herondata.io/api/broker_funder_policies/upload/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_base64": "<string>",
"filename": "<string>"
}
'{
"created": "2023-11-07T05:31:56Z",
"error_count": 123,
"error_details": {},
"error_message": "<string>",
"filename": "<string>",
"finished_at": "2023-11-07T05:31:56Z",
"heron_id": "<string>",
"last_updated": "2023-11-07T05:31:56Z",
"processed_count": 123,
"results_summary": {},
"started_at": "2023-11-07T05:31:56Z",
"status": "queued",
"success_count": 123,
"total_count": 123
}Upload a spreadsheet (XLS, XLSX, CSV) or PDF containing funder policies. The file will be parsed asynchronously and policies will be upserted for the current user. Only one upload job can be active at a time per user.
curl --request POST \
--url https://app.herondata.io/api/broker_funder_policies/upload/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"file_base64": "<string>",
"filename": "<string>"
}
'{
"created": "2023-11-07T05:31:56Z",
"error_count": 123,
"error_details": {},
"error_message": "<string>",
"filename": "<string>",
"finished_at": "2023-11-07T05:31:56Z",
"heron_id": "<string>",
"last_updated": "2023-11-07T05:31:56Z",
"processed_count": 123,
"results_summary": {},
"started_at": "2023-11-07T05:31:56Z",
"status": "queued",
"success_count": 123,
"total_count": 123
}Upload job created successfully
Show child attributes
Show child attributes
queued, processing, completed, failed Was this page helpful?