Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Data Fusion /
avatar image
REFINITIV
Question by peter.vonbredow · Oct 31, 2016 at 09:05 PM · apiDatafusion

How can I limit my search to a particular entity type?

Using the DF API, I have found what seems to be a bug in the API.

If I use /entity/search/, and use ‘Agricultural Bank of China H share’, I get a long list of results, almost all of which have

“type”: “document”

In the result.

If I change the request to use:

‘entityTypeId’: ‘1443817804036_instrument’

I would expect to exclude all results that are documents. However, it doesn’t seem to make any difference to the results.

The request URL is:

https://{instance}/datafusion/api/entity/search?searchString=Agricultural%20Bank%20of%20China%20H%20share&entityTypeId=1443817804036_instrument&includePredicates=false&includeRelDir=false&filterType=and&includeHiddenFields=false

The request URL generated by the Data Fusion API webpage seems correct, but doesn’t seem to have any impact.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by nguyen.nguyen · Oct 31, 2016 at 09:39 PM

Hi @peter.vonbredow,

`entityTypeId` expects a long value that is the id of the entity type.

`1443817804036_instrument` is the shortname for `Instrument` entity type that has id of 28 on this particular instance [from https://{instance}/datafusion/api#!/entity/getEntityTypes]. Please try the id value for entityTypeId parameter for Instrument entity type, the request URL would be:

https://{instance}/datafusion/api/entity/search?searchString=Agricultural%20Bank%20of%20China%20H%20share&entityTypeId=28&includePredicates=false&includeRelDir=false&filterType=and&includeHiddenFields=false

It seems there is no Instrument that matches the search string 'Agricultural Bank of China H share'

Hope this helps.

Thanks,
Nguyen Nguyen

Comment
Tomasz Adamusiak

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Data Fustion API /entity/analize/connect response

/entity/search scores

Filter entities by relationship type

Score parameter and prioritization in Data Fusion API

What is the most effective method for retrieving data attributes of the relationships

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges