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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
22 4 4 10

Validation Options not working for RIC Search request - DSS API.

Hi Team,

I cannot add "AllowHistoricalInstrument" validation option to my Postman DSS API request message. I get error: "Malformed request payload: Syntax error at Line 19, Char 0: expected valid json value ".


Can you please help out? I have attached screenshot of my request,API error Dec.png

Thank you,

Lukasz

dss-rest-api
api-error-dec.png (24.1 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.

Upvotes
Accepted
14.9k 32 5 10

Hi @Lukasz Ossowski ,

Thank you for your patience and sorry for the confusion caused by the previous comment. Unfortunately, the option is not available in the Instrument Search as checked in DSS Help > REST API Reference Tree

1672728763634.jpeg


1672728763634.jpeg (37.5 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.

Upvotes
14.9k 32 5 10

Hi @Lukasz Ossowski ,

The request payload is malformed. Could you please try to remove the text on line 19th and update the 18th line to be the below

"ValidationOptions": { "AllowHistoricalInstruments": true }
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
22 4 4 10

Thank you Raksina.

I changed the request as per your suggestion, however the error still occurs.API error Dec 2.png


api-error-dec-2.png (32.6 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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