count

fun count(attributeUid: String, organisationUnitUid: String?): Single<Int>

Get the count of the reserved values by attribute. If a organisation unit uid is inserted as parameter the method will return the count of the reserved values by attribute and organisation unit.

Return

Single with the reserved value count by attribute or by attribute and organisation unit.

Parameters

attributeUid

Attribute uid

organisationUnitUid

An optional organisation unit uid