For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted

DSS Instrument List (Auto Upload)

Question:

a) How to upload/override the Instrument List against DSS GUI from Incoming Folder?

b) Share some sample C# code to auto upload instrument file from FTP landing zone (Incoming folder)?

dss-rest-apidatascope-selectdssdss-gui
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.3k 25 8 13

Hi @pakrudeenali.mohamedmeeran

You can upload a XML file to the "Incoming folder" on ftp://hosted.datascope.reuters.com to append or override instrument in an InstrumentList defined in DSS GUI. For more detail, please see the DSS FTP User Guide. The sample XML to append instruments is below.

<InputList>
<InputListAction>Append</InputListAction>
<Name>myInstrumentListName</Name>
<Instrument>
<IdentifierType>RIC</IdentifierType>
<Identifier>IBM.N</Identifier>
<Exchange>NYS</Exchange>
</Instrument>
<Instrument>
<IdentifierType>RIC</IdentifierType>
<Identifier>VECO.OQ</Identifier>
</Instrument>
</InputList>

However, I recommend using DSS .NET SDK instead of FTP for C# application. Please see this tutorial for more information. The C# Example Application in this page also provide sample of codes to update/delete instruments from the InstrumentList.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes

Thanks for your response.

But am getting below error, when I tried with sample code.

Unhandled Exception: ThomsonReuters.Dss.Api.TransportException: An error occurred while sending the request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'hosted.datascopeapi.reuters.com'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, Tr
ansportContext& context)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

@pakrudeenali.mohamedmeeran

Can you access the https://hosted.datascopeapi.reuters.com via web browser? Are you behind a proxy?

You can configure the proxy setting in the app.config file. Please see this for more information.

@pakrudeenali.mohamedmeeran

Have you tried the suggestion from @veerapath.runruengrayubkul yet? The result will give more clue to isolate this issue.

Click below to post an Idea Post Idea