getValue

fun getValue(attributeUid: String, organisationUnitUid: String): Single<String>

Get a reserved value and remove it from database. If the number of available values is below a threshold (default .FILL_UP_TO * .FACTOR_TO_REFILL) it tries to download before returning a value.

Return

Single with value of tracked entity attribute

Parameters

attributeUid

Attribute uid

organisationUnitUid

Organisation unit uid