Ability to filter by multiple values in "/requisitions/requisitionsForConvert"

Hello everyone,

  the Malawi team would like to contribute a small adjustment to the "/requisitions/requisitionsForConvert" endpoint. It currently allows filtering of the requisitions, but by single value only. This means that I can get requisitions from essential meds program only, but I cannot retrieve requisitions for convert for both essential meds and family planning in one API call. We want to introduce the ability to pass multiple values to the endpoint. The sample call would look like:
/api/requisitions/requisitionsForConvert?filterBy=programName&**filterValue=Family+Planning&filterValue=Essential+Meds**
Does that look OK? Filtering by a single value or not including a filter at all would work just as it currently does. The only change would be that multiple filterValues would be accepted in the query.

Thanks in advance.

Best regards,

Sebastian.
···


Sebastian Brudziński

    Software Developer / Team Leader

sbrudzinski@soldevelo.com

SolDevelo
Sp. z o.o. [LLC] / www.soldevelo.com
Al. Zwycięstwa 96/98, 81-451, Gdynia, Poland
Phone: +48 58 782 45 40 / Fax: +48 58 782 45 41