Skip to main content
Version: 7.2405.x.x LTS

defaultDetailLevel

The default detail level is DetailLevel.LOW for every kind of detail, unless detail level is not specified in the request.

If defaultDetailLevel is filled in the request, that level will be applied for every detail which isn't specialised in the request.

For example in a request:

<v1:queryUsers>
<query>
<clientExtId>100</clientExtId>
<detailLevels>
<userDetailLevel>MEDIUM</userDetailLevel>
<userLoginInfoDetailLevel>HIGH</userLoginInfoDetailLevel>
</detailLevels>
<user/>
</query>
</v1:queryUsers>

userDetailLevel will be set to MEDIUM, userLoginInfoDetailLevel will be set to HIGH, and every other detail will be set to LOW by default.

In request:

<v1:queryUsers>
<query>
<clientExtId>100</clientExtId>
<detailLevels>
<userDetailLevel>HIGH</userDetailLevel>
<userLoginInfoDetailLevel>EXCLUDE</userLoginInfoDetailLevel>
<defaultDetailLevel>MEDIUM</defaultDetailLevel>
</detailLevels>
<user/>
</query>
</v1:queryUsers>

userDetailLevel will be set to HIGH, userLoginInfoDetailLevel will be set to EXCLUDE and because defaultDetailLevel is set to MEDIUM, every other undefined detail level will be set to MEDIUM.