-
How to add HTTP Headers to RDP Financial Contracts API Request
I would like to add the x-tr-applicationid http header to my RDP Financial Contracts API request using the C# .NET library. I don't seem to see a way to add custom HTTP headers with the library. This is what my request looks like: Bond.Definition(ticker).Fields(fields).GetDataAsync(ISession). Is there a way to set custom…
-
How do I make restful snapshot request to rtc for more than 1 instrument when service is specified
I'm making HTTP snapshot requests to RTC 3.5.3. The rtc is providing multiple services so I need to specify it in the url. This works: wget "http://X.Y.Z:8080/snapshot/"A.NB"?Service=<NON_DEFAUT_SERVICE_NAME>" Any attempt to provide a comma separated list of RICs fails. I see that there is an "items" parameter but that…
-
HTTP ODPS requests
Hello We configured ODPS on our TREP infra and we want to set up our entitlement application. We are currently doing some tests to validate our developments and we need some help about the following : * The first http request we test is to login :*…
-
Refinitive API ConnectionError: HTTPConnectionPool(host='api.trkd.thomsonreuters.com', port=80): Ma
Hi Refinitiv team, We are presently working to pull Response JSON from some Fundamental APIS. Where we are facing issues, Please find below issue :ConnectionError: HTTPConnectionPool(host='api.trkd.thomsonreuters.com', port=80): Max retries exceeded with url:…
-
Is it possible to use OAuth2 specification with DSS?
Hi support team, We have access to DSS only and managed to get the data by calling REST API successfully. In our tests, we used the (HTTP) authentication method as described in the tutorial here. Now we are trying to authenticate by OAuth 2.0 specification. We have found the document on the developer portal; however, it…
-
401 Unauthorized error when using C# HttpClient
Hi. I get an 401 unauthorized error when trying to execute a POST request to the World Check API. I can successfully execute the POST request using Postman. Any help would be appreciated. My code is as follows: using Newtonsoft.Json; using System; using System.Diagnostics; using System.Dynamic; using System.IO; using…
-
HTTP status codes
Can you give me description of http status codes(or link where I can find it) for DSS API?
-
Getting HttpResponseException
Getting HttpResponseException while getting token with DSS2TokenProxyAuth: org.apache.http.client.HttpResponseException: Proxy Authentication Required at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70) at…
-
Is there an equivalent HTTP request to RtGet() in Eikon API?
Hi there! I'm developing an application in R, so most of my data (including other APIs form Reuters) is collected via HTTP request, but I couldn't find anywhere whether I can call an equivalent to RtGet() or not. The objective is to get the ticker changes and delistings that I get with, for exemple,…
-
Loading web page in Eikon
We regularly look at an Eikon page which is updated at 1:30 AM. It appears to be a web page (http://amers2.apps.cp.thomsonreuters.com/cms/?navid=94214) that is embedded in the application. I can create a c# app to log in/download the web page, but it runs outside of Eikon. Is there a way with the Eikon app/COM API to pull…
-
DSS Production Support
Why is Reuters committed to making life difficult for production customers? This new customer portal is junk, forcing us to re-register to get support for production issues? We hit a production issue where DSS Web API calls are breaking secure communications. A couple of days ago where extraction requests were failing. In…
-
Alternatives to Python?
Hello, Will there be dedicated wrappers for other environments than python? If so, is there any timeline? Is it possible to communicate with the proxy via HTTP/websocket? If so, could you point me to any documentation? Thank you
-
HTTP or PYTHON APIs
Hi everyone, is there any collection of APIs for python or HTTP APIs that I can use to get data of different companies about their balance sheet and financial data? Thanks in advance, hope I've been clear.
-
What are the different status codes to be expected from DSS extraction queries?
What status codes, apart from the 200 OK, can be expected when making DSS REST calls for extraction of data?
-
First request taking much longer than subsequent requests
Hello, Whenever I run a PHP script that connects to the World Check API, the first request made always takes a lot longer than the following requests. For a script that makes 9 requests, here are the times taken and the HTTP response codes * 60 seconds (200) * 0 seconds (200) * 0 seconds (200) * 1 seconds (200) * 0 seconds…
-
Getting error while appending identifer to instrument using Http Request
Hi, When I try to append identifiers through http request, Im getting below error: {'error': {'message': 'Invalid request parameter Identifiers'}} Im using below code: OrderedDict([('Identifiers',OrderedDict([('Identifier','US8180971074'),('IdentifierType','Isin')])),('KeepDuplicates',True)]); Can anyone help?
-
Get a price quote via HTTP via the Eikon API? I am using the Eikon APIs in my .Net desktop applicati
Get a price quote via HTTP via the Eikon API? I am using the Eikon APIs in my .Net desktop application but need to get delayed price quote via HTTP in ASP.NET webpage.
-
On demand extraction via HTTP requests with list and template ids?
Is there a way to perform an on demand extraction - via HTTP request - without explicitly write both instruments and fields (template) lists? Ideally, we would like to perform on demand extractions passing a list id and a report template id at the request.
-
OpenCalais from Stanbol?
Has anyone tried the NEW OpenCalais from Apache Stanbol? It does not work on my side. I suspect that the HTTPS is not supported by Stanbol. Any advice on the matter would be more than welcomed. Thanks.Adrian.
-
'curl' example please ?
Hello, I keep receiving {"fault":{"faultstring":"Failed to resolve API Key variable request.header.X-AG-Access-Token","detail":{"errorcode":"steps.oauth.v2.FailedToResolveAPIKey"}}} Can someone please provide an example of request with 'curl'? I could not find any, and I get the message above no matter what syntax I use :(…
-
Entitiy Search API HTTP status code
I am using the Entitiy Search API. What HTTP status code is returned if I issue a request but the daily limit of my access token has been reached?
-
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Hello, I am trying to access the URL https://hosted.datascopeapi.reuters.com/RestApi/v1/Authentication/RequestToken from Java application. The JDK version used was 1.8. It fails with the exception javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. I have tried pointing https.protocol to…
-
Proxy server configuration for TRKD API apps in Java platform
I need to configure my proxy server for a Java application for a TRKD application. Can you show me the best way how? Specifically, how I can set up for HTTP and HTTPS traffic?
-
HttpWebRequest timeout on alpha
Hi, I am using the C# method below to get JSON data from a Jboss Application server Method is used in Eikon WebApp under file WebCAllableFunctions.cs public string GetEsJson(string query, string body, IAppServerServices services) { string json = null; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(body);…
-
HTTPS and certificates in lower Cobalt environments
I've encountered an issue where certain Cobalt modules wish to call each other's APIs via HTTPS. The problem, though, is that in lower environments, the machine's certificates don't match the host they're running on. For example: next-client.demo.westlaw.com uses an invalid security certificate. The certificate is only…
-
Install-Package Cobalt.Infrastructure.HttpClient Unable to resolve dependency 'Coherence (? 16.5.9)'
I am using the NuGet package source http://cobaltnuget.int.thomsonreuters.com:85/api/v2/ and trying to install Cobalt.Infrastructure.HttpClient and keep getting **Unable to resolve dependency 'Coherence (? 16.5.9)'.** Is there another package source I also need to include? PM> Install-Package…
-
Mocking response body in IHttpClient/IHttpMethod for unit testing?
Hi folks, Does anyone know how to mock the response body using `IHttpMethod` and `IHttpClient`? Here's what I'm writing so far (simplified): string retrievedNoteJson; /* value not important */ mockHttpClient.Setup(httpClient => httpClient.ExecuteMethod(It.IsAny())) .Callback(httpMethod =>…
-
Common Handling of Unauthorized Access to Website Page?
Is there a common way of handling unauthorized access to website pages? We have a page that should only allow users with a certain access feature to view (we handle the access point as well but that is in JavaScript and can easily be duped). When we return an HTTP response of 401, a blank page is displayed instead of a…
-
Third party REST interface mocking, mocking HttpWebRequest and HttpWebResponse
Hello all, We have a third party component with a REST interface. We have abstracted the calls away in our own methods. I am trying to UNIT test my abstraction layer methods and I am trying to Mock (using Moq) the REST call, but I have not figure out how to do that. Anyone done anything like that before? this is .NET code.
-
Setting an HTTP timeout at runtime
For the Java project I'm working on, we're calling off to an external system via HTTP. We have a default timeout for this call, but in some cases that we can only identify at runtime, we need to adjust that timeout. Examples include cases where the caller of our application specifically wants to override the default…
-
How are you compressing your URIs or query string for HTTP GET methods?
We are looking for some feedback about how we can compress/decompress query string parameters in HTTP GET methods. For some applications, we have very large URIs, and we don't want to move to the POST Method. Are there any doing this in TR, to share how this was done ?
-
How do I explicitly set the timeout for an HTTP request via the Infrastructure HTTP Client?
How do I explicitly set the timeout for a HTTP request via our internal InfraHttpClient library (java)?
-
Request refused when calling external endpoint from cobalt module -- Proxy configuration InfraHttpCl
When calling an external api we need to send traffic through the proxy in order for it to work on the server (it will work fine locally). My question is, is it possible using the InfraHttpClient library (on a java module) to configure proxy settings for only a certain set of endpoints? We don't want our internal calls…
-
Scheme 'https' not registered when using InfraHttpClient
When trying to invoke an endpoint using https via the java cobalt http client jar, I encounter an IllegalStateException: Scheme 'https' not registered exception. When I make a non https call, everything works fine. Is there something I might have misconfigured that would cause this? Has anyone else come across this…
-
Using Cobalt HTTP Client in a non-Cobalt Project
I am interested in using the Cobalt HTTP client in a non-Cobalt project to get the caching benefits it provides. Are there instructions anywhere on what would be required to do this? Is there a way to configure it without requiring coherence?
-
Test URLs for Http errors
I want to write an integration tests under various error scenarios: Bad Request, Forbidden, and Unauthorized. Are there any urls inside Thomson that I can point these tests at?
-
x-cobalt HTTP Headers
There have already been a couple questions regarding x-cobalt HTTP headers. Is there a place that centrally lists and documents these headers?
-
What is the x-cobalt-product-container value?
What is the x-cobalt-product-container http header value and why is it important?