Downloading PDF Extract output.
I'm having an issue while trying to use the PDF Extract API, even though it is working as expected I was not able to get the output as a ZIP file containing all the images and csv files. What I'm getting is a multipart response, but I'm un aware how to parse this response to get the indevidual content properly.
I would like to know if I'm doing something wrong or if I'm missing a step in the extraction process.
This is what I'm sending as the contentAnalyzerRequests
{
"cpf:engine": {
"repo:assetId": "urn:aaid:cpf:58af6e2c-1f0c-400d-9188-078000185695"
},
"cpf:inputs": {
"documentIn": {
"cpf:location": "InputFile0",
"dc:format": "application/pdf"
},
"params": {
"cpf:inline": {
"elementsToExtract": ["text", "tables"],
"renditionsToExtract": [ "tables", "figures"],
"tableOutputFormat": "csv"
}
}
},
"cpf:outputs": {
"elementsInfo": {
"cpf:location": "jsonoutput",
"dc:format": "application/json"
},
"elementsRenditions": {
"cpf:location": "fileoutpart",
"dc:format": "text/directory"
}
}
} Appriciate your help, Thanks in advance.
