Hi,
AWS URL is not getting generated while trying to download Reference data for NFE. We get 200 OK response from the server but not the actual link to download data. Below is the curl command used to request data
curl -vk -X POST -H 'Content-Type: application/json' -H 'Prefer: respond-async' -H 'Authorization: Token <XXXX> https://10.192.6.221/RestApi/v1/Extractions/ExtractRaw -d @test.txt
and the command used to get the response is as below:-
curl -Ikv -H 'Authorization: Token <XXXX> -H X-Direct-Download:true -H 'Content-Type: Accept-Encoding: gzip, deflate' -X GET https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults%28%270x05e11d1e729b2f76%27%29%2F%24value
The response for the above command is: refdata-requesttracking.txt
Please note that we are able to pull data from DSS for the same Ric Chains.
Kindly let know how to get the download link.
Thanks
Ok noted. Would you please advise the way to download reference data, if its not available via AWS? We get the Extraction ID and X-Request-Execution-Correlation-Id as a part of response.
You can download data from DSS server instead by:
curl -kv -X GET -H "Prefer: respond-async" -H "Authorization:Token <token>" -H "Accept-Encoding: gzip, deflate" https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults%28%270x05e11d1e729b2f76%27%29%2F%24value -o output.gz
Hi jirapongse.phuriphanvichai,
Can you confirm if Terms & Conditions data download is available in AWS ( X-Direct-Download) or we will have to use the mentioned curl command?
Thanks
Currently, you can do X-Direct-Download with Tick History Time and Sales, Tick History Market Depth, Tick History Intraday Summaries, and Tick History Raw reports.
It doesn't support HistoricalReferenceExtractionRequest.