Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TRKD /
avatar image
Question by ovx-wxu · Jul 15, 2020 at 03:37 PM · rkd-apirkdquote

TRKD (16.9.1.2 JSON Sample Request - Get Quotes) - Access Denied Error

I got "ACCESS_DENIED" as the response StatusMsg in the JSON response when trying the sample JSON call in the documentation, access token was set in header

Request:

{

"RetrieveItem_Request_3": {

"TrimResponse": false,

"ItemRequest": [

{

"Fields": "",

"RequestKey":

{

"Name": "MSFT.O",

"NameType": "RIC"

},

"Scope": "All"

}

]

}

}


Response:

{

"RetrieveItem_Response_3": {

"ItemResponse": [

{

"Item": [

{

"RequestKey": {

"Name": "MSFT.O",

"Service": "IDN",

"NameType": "RIC"

},

"QoS": {

"TimelinessInfo": {

"Timeliness": "UNSPECIFIED",

"TimeInfo": 0

},

"RateInfo": {

"Rate": "UNSPECIFIED",

"TimeInfo": 3000

}

},

"Status": {

"StatusMsg": "ACCESS_DENIED",

"StatusCode": 18

},

"Fields": null

}

]

}

]

}

}

Any idea what might have caused this error?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Jul 15, 2020 at 05:17 PM

Hi @ovx-wxu, Your id probably does not have permission to invoke that endpoint. This call works fine for me:

{
  "RetrieveItem_Request_3": {
    "TrimResponse": False,
    "ItemRequest": [
      {
        "Fields": "",
        "RequestKey":
        {
          "Name": "MSFT.O",
          "NameType": "RIC"
        },
        "Scope": "All"
      }
    ]
  }
}

response:

{
  'RetrieveItem_Response_3': {
    'ItemResponse': [{
        'Item': [{
            'RequestKey': {
              'Name': 'MSFT.O',
              'Service': 'IDN',
              'NameType': 'RIC'
            },
            'QoS': {
              'TimelinessInfo': {
                'Timeliness': 'DELAYED',
                'TimeInfo': 900
              },
              'RateInfo': {
                'Rate': 'TIME_CONFLATED',
                'TimeInfo': 3000
              }
            },
            'Status': {
              'StatusMsg': 'OK',
              'StatusCode': 0
            },
            'Fields': {
              'Field': [{
                  'DataType': 'Utf8String',
                  'Name': 'DSPLY_NAME',
                  'Utf8String': 'MICROSOFT C'
                }, {
                  'DataType': 'Double',
                  'Name': 'TRDPRC_1',
                  'Double': 207.165
                }, {
                  'DataType': 'Double',
                  'Name': 'TRDPRC_2',
                  'Double': 207.172
                }, {....

Please contact your Refinitiv account manager regarding the entitlements.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Question regarding TimeSeries and Quotes

Delay of more than 1.5 minutes to request the quotes at TRKD API. curl --location --request POST 'http://api.trkd.thomsonreuters.com/api/Quotes/Quotes.svc/REST/Quotes_1/RetrieveItem_3' \

TRKD: How do I retrieve ISIN for a bond?

THOMSON REUTERS KNOWLEDGE DIRECT API

Receiving Updade "101 Switching protocols" in WebSocket API

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges