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 Bank of China H share&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.