GetData request for SECD field returns NA

Trying to get SECD field in GetData results in NA. Can you help me understand why?


Request:

Url:https://product.datastream.com/dswsclient/V1/DSService.svc/rest/GetData
{"DataRequest": {"DataTypes": [{"Properties": null,
"Value": "SECD"}],
"Date": {"End": "",
"Frequency": "",
"Kind": 0,
"Start": ""},
"Instrument": {"Properties": null,
"Value": "S:ROG"},
"Tag": null},
"Properties": null,
"TokenValue": "..."}


Response:

{
"DataResponse": {"AdditionalResponses": null,
"DataTypeNames": null,
"DataTypeValues": [{"DataType": "SECD",
"SymbolValues": [{
"Currency": "SF",
"Symbol": "S:ROG",
"Type": 6,
"Value": "NA"
}]}],
"Dates": [
"2021-11-01T00:00:00"
],
"SymbolNames": null,
"Tag": null},
"Properties": null
}

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @luigi.battistoni

    I can get the data properly.

    The request is:

    Url:https://product.datastream.com/dswsclient/V1/DSService.svc/rest/GetData
    {
    "DataRequest": {
    "DataTypes": [
    {
    "Properties": null,
    "Value": "SECD"
    }
    ],
    "Date": {
    "End": "",
    "Frequency": "",
    "Kind": 0,
    "Start": ""
    },
    "Instrument": {
    "Properties": null,
    "Value": "S:ROG"
    },
    "Tag": null
    },
    "Properties": null,
    "TokenValue": ""
    }

    The response is:

    {
    "DataResponse": {
    "AdditionalResponses": null,
    "DataTypeNames": null,
    "DataTypeValues": [
    {
    "DataType": "SECD",
    "SymbolValues": [
    {
    "Currency": "SF",
    "Symbol": "S:ROG",
    "Type": 6,
    "Value": "7110388"
    }
    ]
    }
    ],
    "Dates": [
    "2021-11-02T00:00:00"
    ],
    "SymbolNames": null,
    "Tag": null
    },
    "Properties": null
    }

    As mentioned by my colleague, you can contact the Datastream support team via MyRefinitiv to verify that there is a problem. It could be a permission issue.

Answers

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hello @luigi.battistoni ,

    This forum can be of most help to you with general questions and discussions on Refinitiv API usage.

    The best resource to help identify DataStream content and to explain the DataStream content that is available is the Refinitiv Helpdesk, which can be reached by either calling the Helpdesk number in your country or submitting a new ticket to the Datastream support team via Refinitiv Helpdesk Online -> Content -> DataStream.