question

Upvotes
Accepted
7 1 0 2

Can't get data from graphql via rdp api

Hi,

I want to fetch data of dividend event from graphiQL .

Using this query

query ($QuoteID: Long) {
  DividendEvents(filter: {AND: [
    {Dividends: {MarketDetails: {UnderlyingQuoteId: {EQ: $QuoteID}}}}, 
    {Dividends: {Options: {CashMovement: {PaymentDate: {GT_DATETIMENOW: {Interval: DAY, Add: 0}}}}}}
  ]}) {
    ObjectId
    UnderlyingEquityInstrument {
      ObjectId
      Reference {
        InstrumentCommonNames {
          InstrumentCommonName
        }
      }
    }
    Dividends {
      Options {
        CashMovement {
          AmountStatusCode
          CreditDebitIndicator
          PayDateFlag
          PaymentDate
          SequenceNumber
        }
      }
    }
  }
}

And query Variable

{
  "QuoteID": "55836051562"
}

It can generate expected response as below.
resp.txt

But when using this endpoint https://api.refinitiv.com/data-store/v1/graphql from api playground
It doesn't return expected result. And give error message.

 "warnings": [
      {
        "field": "EDFInstrument",
        "message": "User did not have entitlements to the field.",
        "type": "NO_ENTITLEMENTS_FOR_FIELD",
        "warningCode": "DW003"
      },
      {
        "field": "DividendEvents",
        "message": "User did not have entitlements to the field.",
        "type": "NO_ENTITLEMENTS_FOR_FIELD",
        "warningCode": "DW003"
      }

Full response is attached rdp_no_resp.txt .


Could you please suggest what could be wrong?

#productapigraph-ql
resp.txt (3.3 KiB)
rdp-no-resp.txt (3.3 KiB)
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.

@yok

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
14.2k 30 5 10

Hi @yok ,

The error message indicates that your account doesn't have a permission to this field.

You can contact your Refinitiv account representative to add the permission. Hope this helps and please let me know in case you have any further questions.

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.

<private post>

Hi @yok ,

As an internal user, you can raise the ticket in the service-now, on the form Internal Ordering Request for Eikon, Elektron, FXT, RDP and Refinitiv Workspace

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.