question

Upvotes
Accepted
129 16 25 31

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 512.0 KiB each and 1.0 MiB total.

Seed question by TRDC.

1 Answer

· Write an Answer
Upvotes
Accepted
1.2k 23 31 44

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 512.0 KiB each and 1.0 MiB total.

Hi Steven,

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

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.