getDacsPermissionSetEntitlements

Options

Good Morning. I would like to use the DACS Rest API to return the entitlements that are permissoned in a PermissionSet. I tried the getDacsPermissionSetEntitlements call but all it returns is whether the permissionSet exists or not. Is there a way to retrieve the specific exchanges, products, and specialists that are permed? thanks


<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"&gt;

<Body>

<getDacsPermissionSetEntitlements xmlns="http://dacsWebService.rfa.reuters.com/"&gt;

<!-- Optional -->

<loginAttribute xmlns="">

<!-- Optional -->

<aAdministratorName>

<mAdministratorName>[name]</mAdministratorName>

</aAdministratorName>

<!-- Optional -->

<aAdministratorPassword>

<mAdministratorPassword>[password]</mAdministratorPassword>

</aAdministratorPassword>

</loginAttribute>

<!-- Optional -->

<siteName xmlns="">

<mSiteName>USA</mSiteName>

</siteName>

<!-- Optional -->

<dacsPermissionSet xmlns="">

<mDacsPermissionSet>USEquityTrader1_TEST</mDacsPermissionSet>

</dacsPermissionSet>

<!-- Optional -->

<entitlementsFilter xmlns="">

<mGetAllowed>True</mGetAllowed>

<mGetDenied>True</mGetDenied>

</entitlementsFilter>

</getDacsPermissionSetEntitlements>

</Body>

</Envelope>

Tagged:

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @Rob WHSS ,

    Yes. Try:

    ...

    _duf = client.factory.create('entitlementsFilter')
    _duf.mGetAllowed = True
    _duf.mGetDenied = True


    ####

    _permSet = client.service.getDacsPermissionSetEntitlements(_dl, _ds, _dps, _duf, None)


    print(_permSet)

Answers

  • Thanks Zoya. Long time no see. I hope all is well. Do you have a minute to chat? 914-359-0098?