I use direct HTTP requests / C++
It seems much more difficult to download the results in a file than with the TRTH SOAP version.
Once a request is completed, is there a simple HTTP request which allows to download a file on my own machine ?
I tried this with Postman :
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractedFiles(‘VjF8MHgwNWNjOWMxYWUwZmIyZjk2fA’)/$value
and got 400 Bad request Obviously I am aware I do not provide a filename but as my previous request gave me the result below, I thought a _OnD_0x05cc9c10851b2f86.csv.gz file were going to appear somewhere on my disk... {
"
@odata.context": "
https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ExtractedFiles",
"value": [
{
"ExtractedFileId": "VjF8MHgwNWNjOWMxYWY1N2IyZjk2fA",
"ReportExtractionId": "2000000001260285",
"ScheduleId": "0x05cc9c10851b2f86",
"FileType": "Note",
"ExtractedFileName": "_OnD_0x05cc9c10851b2f86.csv.gz.notes.txt",
"LastWriteTimeUtc": "2017-07-18T12:31:45.620Z",
"ContentsExists": true,
"Size": 1186,
"ReceivedDateUtc": "2017-07-18T12:31:45.620Z"
},
{
"ExtractedFileId": "VjF8MHgwNWNjOWMxYWUwZmIyZjk2fA",
"ReportExtractionId": "2000000001260285",
"ScheduleId": "0x05cc9c10851b2f86",
"FileType": "Full",
"ExtractedFileName": "
_OnD_0x05cc9c10851b2f86.csv.gz",
"LastWriteTimeUtc": "2017-07-18T12:31:44.000Z",
"ContentsExists": true,
"Size": 2029220
}
]
}