Hi, to extract the Intraday Pricing data I have passed the InstrumentExtractionRequestIntraday as...

... input to the Extract method of the DSS WSDL mentioned in the guide.
I have loaded the input request request.png and the error-response.png
Best Answer
-
Please see the following example of the InstrumentExtractionRequestIntraday.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://reuters.com/datascopeselect/ExtractionService/v1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<v1:CredentialsHeader>
// Credential removed.
</v1:CredentialsHeader>
</soapenv:Header>
<soapenv:Body>
<v1:Extract xmlns="http://reuters.com/datascopeselect/ExtractionService/v1/">
<!--Optional:-->
<v1:request xsi:type="InstrumentExtractionRequestIntradayPricing">
<v1:OutputFields>
<v1:string>RIC</v1:string>
<v1:string>Ask Price</v1:string>
<v1:string>Low Price</v1:string>
</v1:OutputFields>
<v1:Instruments>
<v1:ValidatedInstrument>
<v1:IdentifierValue>BRL=</v1:IdentifierValue>
<v1:IdentifierType>RIC</v1:IdentifierType>
<v1:Source>N/E</v1:Source>
<v1:AssetId>0x00100b0003658c7e</v1:AssetId>
<v1:QuoteId>0x0003dc003149c364</v1:QuoteId>
<v1:Segment>Y</v1:Segment>
<v1:ObjectType>MNQU</v1:ObjectType>
<v1:Ric>BRL=</v1:Ric>
<v1:FileCode/>
</v1:ValidatedInstrument>
</v1:Instruments>
</v1:request>
</v1:Extract>
</soapenv:Body>
</soapenv:Envelope>For the ValidatedInstrument in the Instruments list, you can retrieve this information via the ValidatedInstrument request. Below is the example.
<soapenv:Body>
<v1:ValidateInstruments>
<!--Optional:-->
<v1:request>
<v1:PerformExpansion>?</v1:PerformExpansion>
<!--Optional:-->
<v1:Identifiers>
<!--Zero or more repetitions:-->
<v1:InstrumentIdentifier>
<!--Optional:-->
<v1:IdentifierValue>BRL=</v1:IdentifierValue>
<!--Optional:-->
<v1:IdentifierType>RIC</v1:IdentifierType>
</v1:InstrumentIdentifier>
</v1:Identifiers>
</v1:request>
</v1:ValidateInstruments>
</soapenv:Body>0
Answers
-
Note: The DSS SOAP API has reached its End-Of-Life and is no longer being actively being developed and enhanced. The site now utilizes a REST API and any and all new work should be done referencing the REST API. You can read more about how to use the REST API, see samples, and download .Net artifacts here on the forums and at https://hosted.datascopeapi.reuters.com/RestApi.Help/Home/Index
If this is new code, it should really be built to use the REST API.
0 -
thanks Rick for the suggestion. Now in case of REST API, IntradayPricingExtractionRequest is the method to retrieve the Intraday Pricing data correct me if Iam wrong. Can you provide with brief example of request.Please help@veerapath.rungruengrayubkul
0 -
For REST API examples of intraday requests, for pure HTTP requests see REST API Tutorial 3, for C# see the .Net Tutorial 4, for Java download the Java samples and look at DSS2IntradayClient.
0 -
When i tried doing it. Getting the below error.error-in-rest-api.png
0 -
Your screenshot does not show the entire URL, we can't debug it.
Here is the correct URL that works to request the list of valid field types, extracted from the REST API Tutorial 3, which delivers and explains all the calls you need:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'IntradayPricing')
0 -
sorry Chris. I uploaded a wrong screenshot. Please check this outerror-in-extract.png
0 -
That URI seems correct. There must be something wrong elsewhere in your query, but you do not give sufficient details. Is it a POST or a GET ? Did you set the headers ? What is in the body ? Send the entire request if you want us to debug.
Did you try copying and running the queries form the REST API Tutorial 3 ? They have been tested and work fine.
I see you are using SoapUI, but I'll still mention that there is a Postman collection in the downloads, which contains all the queries. That should also help get you on track.
0 -
The HTTP method for this command has to be POST. You may use Postman to test the extraction.
0 -
I was wondering if the issue is related to SoapUI (I usually use Postman), but a simplified request based on DSS
REST API Tutorial 3 works fine in SoapUI as well, see the screenshot.It also works using ExtractWithNotes instead of Extract.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 691 Datastream
- 1.5K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 560 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 281 Open PermID
- 46 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 725 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛