Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • WebSocket API /
avatar image
Question by pradeep.badoni · Feb 15 at 01:35 AM · websocket api - input parameter

WebSocket API - "MarketPriceEdpGwServiceDiscoveryExample" - Detail on input arguments

Hi Team,

Could you please help me to find the detail on the input argument used in "MarketPriceEdpGwServiceDiscoveryExample" example:

  1. What is the use of “Scope” parameter and what are the all possible values?
  2. What is the use of “hotstandby”?
  3. What are the all possible values we can have for “region”?

Currently we only see the below options:

  • amer (Default)
  • emea
  • apac

Can we have more option in future?

  1. What all the possible values we can have for “Service”? In the examples we have “ELEKTRON_DD”, can we have other services?
  2. In the sample examples, we can see appID = 256 or 555. What is 256 or 555 represent? Can this be changed?


Thanks

Pradeep B

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by wasin.waeosri · Feb 23 at 09:16 AM

Hello @pradeep.badoni

The appID (ApplciationID), together with the Position helps the upstream infrastructure to identify the client connection. It is the ID of the consumer application that is connected to.

You can change it from the range '257' to '65535' based on your preference. Range '1' to '256' is reserved by Refinitiv. You can find more detail about the WebSocket specification in Refinitiv WebSocket API – API Specifications document.


websocket-login.png (36.9 KiB)
websocket-login.png (36.9 KiB)
Comment

People who like this

0 Show 1 · 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.

avatar image
pradeep.badoni · Feb 23 at 09:19 AM 0
Share

Hi @wasin.waeosri

Thanks, got the required detail.

Accepting the ticket.

avatar image
REFINITIV
Answer by moragodkrit.chumsri_1 · Feb 15 at 03:11 AM

@pradeep.badoni


There are some description of the OAuth2 parameters required by the API on the following tutorial

https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/tutorials#authorization-all-about-tokens


For #1 about the scope, the app can request the top-level scope trapi to get us a token containing all the scopes we are entitled to.

For #2 about the hotstandby, it's the example app feature, not the API. It uses to specifies the hot-standby mechanism to create two connections and subscribe identical items for service resiliency. If required, you can use your own implementation to implement the feature as well.

You can find the hotstandby implementation in example source codes.

For #3 about the region, it's the name of the AWS region, and basically, the example will retrieve it from the RDP discovery service.


https://api.refinitiv.com/streaming/pricing/v1/

You can find the available list on the API docs page.

https://apidocs.refinitiv.com/



As far as I understand, the Provider server's default service is ELEKTRON_DD, and 256 is the default app id. I don't think currently general user can change it.


endpoint-disconvery.png (126.1 KiB)
Comment

People who like this

0 Show 1 · 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.

avatar image
pradeep.badoni · Feb 19 at 12:03 PM 0
Share

Hi @moragodkrit.chumsri_1

Thanks for the above detail.

Could you please provide some more detail on below:

"we can see appID = 256 or 555. What is 256 or 555 represent? Can this be changed?"

Thanks

Pradeep B

avatar image
REFINITIV
Answer by wasin.waeosri · Feb 15 at 03:25 AM

Hello @pradeep.badoni

Additionally, you can find more detail regarding the RDP Auth and Service discovery services in Refinitiv Real-Time - Optimized Install and Config Guide document (download page).

The RDP APIs Getting Started Guide document is also helpful.

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 >
7 People are following this question.
  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges