Facing issue in Refinitiv Futures API

Options
rahul_tanwar
rahul_tanwar Newcomer
edited 6:35AM in DSS

Hi Team,

We use user 9039365 to generate the token through the API endpoint - https://selectapi.datascope.refinitiv.com/RestApi/v1/Authentication/RequestToken
API Response - Token generated successfully.
We use the token in the API Endpoint for Data Retrieval - https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/FuturesAndOptionsSearch
API Response - Data fetched successfully.

When I am trying the same process with user - 9032158
We use user 9032158 to generate the token through the API endpoint - https://selectapi.datascope.refinitiv.com/RestApi/v1/Authentication/RequestToken
API Response - Token generated successfully.
We use the token in the API Endpoint for Data Retrieval - https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/FuturesAndOptionsSearch
Request Type : POST
Request Body :

{    "SearchRequest": {        "FileCodes": null,        "CurrencyCodes": null,        "ExchangeCodes": null,        "PutCall": "Call",        "StrikePrice": {            "@odata .type": "#DataScope.Select.Api.Search.NumericValueComparison",            "ComparisonOperator": "Equals",            "Value": "640"        },        "ExpirationDate": {            "@odata .type": "#DataScope.Select.Api.Search.DateValueComparison",            "ComparisonOperator": "Equals",            "Value": "2025-08-15T00:00:00.000Z"        },        "PreferredIdentifierType": "Ric",        "UnderlyingRic": "PHNX.L"    }}


API Response - Data not fetched successfully.
Status Code - 400 Bad Request
Response Body - {    "error": {        "message": "Validation Error:\r\n\r\nThe Identifier Type CSP is not supported; supported values are: RIC, ISN, PID, PIDQ, RRT, UNR, OCC, SYM"    }}

Could you please look into the issue and fix this. Also, if it is rights issue. Then please provide the same rights to user - 9032158 that we have for successful user - 9039365.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    Sorry. I can't access other accounts.

    The DSS Web is available at https://select.datascope.refinitiv.com/.

    Otherwise, you can use the HTTP GET method with this endpoint (https://selectapi.datascope.refinitiv.com/RestApi/v1//Users/UserPreferences) and the token from 9039365 to get all preferences.

    image.png

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @rahul_tanwar

    Thank you for reaching out to us.

    I checked and found that it relates to the User Preferences Settings on the DSS Web UI.

    I assume that the 9032158 uses the CUSIP as a preferred identifier type in the preferences settings.

    image.png

    You can set the identifier type in the request message.

    {
    "SearchRequest": {
    "FileCodes": null,
    "CurrencyCodes": null,
    "ExchangeCodes": null,
    "PutCall": "Call",
    "StrikePrice": {
    "@odata.type": "#DataScope.Select.Api.Search.NumericValueComparison",
    "ComparisonOperator": "Equals",
    "Value": "640"
    },
    "ExpirationDate": {
    "@odata.type": "#DataScope.Select.Api.Search.DateValueComparison",
    "ComparisonOperator": "Equals",
    "Value": "2025-08-15T00:00:00.000Z"
    },
    "PreferredIdentifierType": "Ric",
    "IdentifierType":"Ric",
    "UnderlyingRic": "PHNX.L"
    }
    }
  • rahul_tanwar
    rahul_tanwar Newcomer

    Could you please help me to check what is the Preferred Identifier Type for User - 9039365 .

    If this is the only segregator for API contract type.