question

Upvotes
Accepted
3 0 0 1

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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea