PUT - Upload Annotation
put
/app/docs/{docId}/companyannotation/{companyId}/data
Example JSON payload for Annotation data:
1
{
2
"origin": "external",
3
"fields": [
4
{
5
"id": "sypht.document.date",
6
"type": "simple",
7
"data": {
8
"value": "2021-06-30"
9
}
10
},
11
{
12
"id": "sypht.invoice.amountDue",
13
"type": "simple",
14
"data": {
15
"value": "500"
16
}
17
},
18
{
19
"id": "sypht.recipient.name",
20
"type": "simple",
21
"data": {
22
"value": "XYZ Pty Ltd"
23
}
24
}
25
]
26
}
Copied!
Copy link