question

Upvote
Accepted
18 0 0 4

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.

Hello @luigi.battistoni ,

As your question is about Datastream, I am moving it to Datastream forums for better visibility and findability.

Hello @luigi.battistoni ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Upvotes
Accepted
78.8k 250 52 74

@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
32.2k 40 11 20

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.

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.