question

Upvote
Accepted
18 0 0 2

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
}
datastream-apidatastream
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
47.2k 109 44 60

@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.

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
29k 32 11 15

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.

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.