question

Upvotes
Accepted
3 1 0 3

Retrieving RIC codes for companies using TRKD API

Hello!

I am looking for a way to retrieve RICs (with the TRKD REST API) for a given company by searching for its name.

The search organizations endpoint (https://www.trkd.thomsonreuters.com/SupportSite/TestApi/Op?svc=Search_1&op=GetOrganisation_1) allows searching by name, but only return a mysterious PI property for the entities returned.

Any help is greatly appreciated.

Thanks!

ricsrkd-apirkd
icon clock
10 |1500

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

Upvote
Accepted
47.2k 110 44 60

@stphnthiel

You need to add PrimaryRIC in the query.

The request is:

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header>
<s:Body><GetOrganisation_Request_1 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.reuters.com/ns/2006/05/01/webservices/rkd/Search/Organisation_1"><Query><Search Include="true" xmlns="http://www.reuters.com/ns/2006/05/01/webservices/rkd/Search/RequestDefaultFields"><StringValue Value="Apple" Negated="false" xmlns="http://www.reuters.com/ns/2006/05/01/webservices/rkd/Search/QuerySpecDatatypes"/>
</Search>

<PrimaryRIC Include="true" xmlns="http://www.reuters.com/ns/2006/05/01/webservices/rkd/Search/Organisation_QuerySpec_1"/>
</Query>

</GetOrganisation_Request_1>

</s:Body>

</s:Envelope>

Then, the response will contain the Primary RIC.


trkd.png (10.3 KiB)
response.png (18.4 KiB)
icon clock
10 |1500

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

Upvote
141 1 4 1

@stphnthiel you should investigate Search v2 service - it has same ultimate backend content (i.. results are same) but is more performant and has newer interface and implementation. If you dont see it in support portal then likely a simple permissions issue and you should contact your refintiv account team.

icon clock
10 |1500

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

Upvotes
3 1 0 3
icon clock
10 |1500

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