question

Upvotes
Accepted
129 6 14 23

How to handle not entitlement request?

What happens if a user request a subscription to a RIC that belongs to a provider he has not entitlement to? Or better said, how what type of response should the application expect when the user don't have entitlement to request market data info of the requested RIC.

The API is RFA Java API and the OMM interface

treprfarfa-api
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.

1 Answer

Upvotes
Accepted
1.2k 23 28 42

In OMM land you will receive the following response from TREP:

<statusMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="17" containerType="RSSL_DT_NO_DATA" flags="0x28 (RSSL_STMF_HAS_MSG_KEY|RSSL_STMF_HAS_STATE)" dataState="RSSL_DATA_SUSPECT" streamState="RSSL_STREAM_CLOSED" code="RSSL_SC_NOT_ENTITLED" text="A21: DACS User Profile denied access to vendor"  dataSize="0">
    <key  flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)"  serviceId="267" name="IRC_UBMS" nameType="1"/>
    <dataBody>
    </dataBody>
</statusMsg>
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.

Hi Steven,

Thank you for this information. We will check this status message response from TREP.

Click below to post an Idea Post Idea