PUT - Upload Annotation
put
/app/docs/{docId}/companyannotation/{companyId}/data
Example JSON payload for Annotation data:
{
"origin": "external",
"fields": [
{
"id": "ndis.participantNo",
"type": "simple",
"data": {
"value": "10000000"
}
},
{
"id": "ndis.participantName",
"type": "simple",
"data": {
"value": "John Smith"
}
},
{
"id": "document.referenceNo",
"type": "simple",
"data": {
"value": "1111"
}
},
{
"id": "issuer.ABN",
"type": "simple",
"data": {
"value": "1111111"
}
},
{
"id": "issuer.name",
"type": "simple",
"data": {
"value": "John Smith Company)"
}
},
{
"id": "ndis.supportStartDate",
"type": "simple",
"data": {
"value": "2021-03-12"
}
},
{
"id": "ndis.supportEndDate",
"type": "simple",
"data": {
"value": "2021-03-25"
}
},
{
"id": "invoice.total",
"type": "simple",
"data": {
"value": "840.62"
}
}
],
"docId": "111111-1111-1111-1111-111111"
}
Copy link