curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/bulk_category_feedback \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"category": {
"heron_id": "ctg_ioQk7KRmz5ejKoY6YPCkyJ",
"label": "Insurance"
},
"source": null,
"transaction_heron_ids": [],
"transaction_reference_ids": []
}
'{
"num_annotations": 1
}Provide bulk feedback on Transaction Categories for a specified end user
curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/bulk_category_feedback \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"category": {
"heron_id": "ctg_ioQk7KRmz5ejKoY6YPCkyJ",
"label": "Insurance"
},
"source": null,
"transaction_heron_ids": [],
"transaction_reference_ids": []
}
'{
"num_annotations": 1
}Whether to process the feedback with high priority
A list of objects containing a Transaction's heron id and the suggested Category. If you provide a heron_id for Category, you don't need to provide other fields. If heron_id is provided, we disregard label.
your identifier for where the feedback comes from e.g. bob_the_underwriter
120List of transaction heron IDs
List of transaction reference IDs
OK
The number of category annotations added
1
Was this page helpful?