For opsi 4.2 I want to replace the methods backend_searchIdents, getClients_listOfHashes, getClientIds_list by specialized methods.
Based on initial feedback collected from our team at uib I suggest the following methods as replacements:
- getClients (no parameters): returns a list of client hashes. These hashes do not include the attributes "type" and "ident" so they can act as an replacement for getClients_listOfHashes.
- getClientIDs (no parameters): returns a list of client IDs and can replace getClientIds_list
- getClientsOnDepot (parameter: depotIds (list of depot IDs)): returns a list of client IDs that can be found on the given depots. Can act as an replacement for getClientIds_list.
- getClientsWithProducts (parameter: productIds (list of product IDs), optional parameter installationStatus (string)): Returns a list of IDs of all clients with the product independent from installationStatus. If the optional parameter installationStatus is given then only clients with a matching status are returned. Can act as a replacement for getClientIds_list
Do you use any of the methods to be deprecated?
Are your use cases covered by the suggested replacements?
What are your thoughts on this?