For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
286 3 2 5

DSS REST API - Lipper Fund - TNC.Total Net Assets - truncated value

Hi,

Is there a way when performing a Scheduled Extraction getting the extracted data back in JSON rather than as a text (csv stream), either through some sort of 'coercing' or if there's an endpoint specifically to get the same output from the extraction in a JSON format, if DSS supports either of these 2 options?

For "Total Net Assets" field (Terms and Conditions) it has the feature of truncating the value in a Report Template a user can increase the amount of integers accepted (up to 50) to resolve this issue (example RIC: LP63505555 ). On 'On Demand' ExtractWithNotes and ExtractRaw a user can't customise the format of the Content Field Names in the same way so client can't use the On Demand options.

Client mentions they are using C# but with direct HTTP rather than .NET SDK, that getting JSON back from us is their preference as that would mean less work to add something additional into their workflow.

Best regards,

Gareth


dss-rest-apifundsjsonlipper
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.

1 Answer

Upvotes
Accepted
15.9k 41 12 19

Hi @gteage,

I have not seen any means within API to change the data format from CSV to JSON. This should however be quite easy to do within the application, once the data is downloaded. There are open source utilities, as well built in functions in .NET that can be used. See this question - https://stackoverflow.com/questions/10824165/converting-a-csv-file-to-json-using-c-sharp.

If a number of clients are asking for this feature, this could be raised as an enhancement request to the product group.

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.

Hi @Gurpreet

Great thanks, as I expected really, but I thought worth asking just in case :)

Cheers,

Gareth