download Reserved Values
fun downloadReservedValues(attributeUid: String, numberOfValuesToFillUp: Int?): Observable<D2Progress>
Download of TrackedEntityInstance reserved values. The number of reserved values is filled up to the numberOfValuesToFillUp. If not defined, it defaults to .FILL_UP_TO.
The download is only triggered for this attribute passed as parameter.
If the attribute pattern is dependent on OrganisationUnit code (that is, it contains "ORG_UNIT_CODE"), it reserves values for each orgUnit assigned to the programs with this attribute. It applies the limit per orgUnit. Otherwise the limit is applied per attribute.
Return
An Observable that notifies about the progress.
Parameters
attribute Uid
Attribute uid
number Of Values To Fill Up
An optional maximum number of values to reserve