How to handle not entitlement request?

Akechi Sato
Akechi Sato Explorer

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

Tagged:

Best Answer

  • Steven McCoy
    Answer ✓

    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>

Answers