enterpriseRoleDetailLevel
If enterpriseRoleDetailLevel
is set, the response can contain the following information:
EXCLUDE
: No enterprise role information is returned.LOW
:name
extId
MEDIUM
: All elements from theLOW
detail level plus:description
displayName
entries
lang
value
roles
(ifroleDetailLevel
is not set to EXCLUDE)name
extId
applicationName
applicationExtId
properties
(ifpropertyDetailLevel
is not set to EXCLUDE)name
value
HIGH
: All elements from theMEDIUM
detail level plus:ctlCreUid
ctlCreDat
ctlModUid
ctlModDat
ctlTcn
The following detail levels can be useful in combination with enterpriseRoleDetailLevel
:
propertyDetailLevel
roleDetailLevel
defaultDetailLevel
Example of a request and response with enterpriseRoleDetailLevel
set to MEDIUM
:
Request:
<v1:queryEnterpriseRoles>
<query>
<clientExtId>100</clientExtId>
<detailLevels>
<enterpriseRoleDetailLevel>MEDIUM</enterpriseRoleDetailLevel>
</detailLevels>
<enterpriseRole>
<extId>eroleForAuditDelete</extId>
</enterpriseRole>
</query>
</v1:queryEnterpriseRoles>
Response:
<ns2:queryEnterpriseRolesResponse
xmlns:ns2="http://adnovum.ch/nevisidm/ws/services/v1">
<return>
<name>eRoleForAuditDelete</name>
<extId>eroleForAuditDelete</extId>
<description>enterprise role for audit test</description>
<displayName>
<entries>
<lang>en</lang>
<value>audit Erole EN</value>
</entries>
<entries>
<lang>de</lang>
<value>audit Erole DE</value>
</entries>
<entries>
<lang>fr</lang>
<value>audit Erole FR</value>
</entries>
<entries>
<lang>it</lang>
<value>audit Erole IT</value>
</entries>
</displayName>
<roles>
<name>AuditEroleMember</name>
<extId>auditERoleMember</extId>
<applicationName>apAppl1</applicationName>
<applicationExtId>24000001</applicationExtId>
</roles>
</return>
</ns2:queryEnterpriseRolesResponse>