Get info about excel range and picture references in Word documents.
Request
Request body (json):
- locale: locale for output (i.e. number format)
- docs
Word-document(s) to get info about and excel document with data See: here
Example request
POST /v1/clients/test/doc-info HTTP/1.1
Host: http://localhost:8080
Content-Type: application/json
Accept: application/json
Token: <token>
{
"locale": "en-US",
"docs": [
{
"contentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"src": "https://api-docs.share-enterprise.nl/testdata/docs/RefTest.docx",
"lastModified": "2020-01-28T09:00:00"
},
{
"contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"src": "https://api-docs.share-enterprise.nl/testdata/docs/RefTest1.xlsx",
"lastModified": "2020-01-06T09:00:00"
}
]
}
Response
- docs:
- src
url of word document - refs
Info about references in Word document- type
Image/Table - dest
url of reference - range
range in excel - ** available **
true => reference found
- type
- src
Example:
{
"docs": [
{
"src": "https://api-docs.share-enterprise.nl/testdata/docs/RefTest.docx",
"refs": [
{
"type": "Image",
"dest": "https://www.docufiller.nl/_cache/_public/AOMB-folder_YXJfMTM1OHg3NjRfZF8xX2pwZ18vX2Fzc2V0L19wdWJsaWMvQkxPRw_0b5e690b.jpg",
"available": true
},
{
"type": "Table",
"range": "range1",
"dest": "https://api-docs.share-enterprise.nl/testdata/docs/RefTest1.xlsx",
"available": true
},
{
"type": "Table",
"range": "range2",
"dest": "https://api-docs.share-enterprise.nl/testdata/docs/RefTest1.xlsx",
"available": true
},
{
"type": "Table",
"range": "range3",
"available": false
}
]
}
]
}