bcgov / moh-phlat

Repository for the PHLAT registries data loading application
Apache License 2.0
2 stars 0 forks source link

Bcmohad 22724 filtering be #76

Closed bsdrever closed 5 months ago

bsdrever commented 5 months ago

Added the API call to retrieve all the distinct information in a column for Process Data, Source Data and Control Data. API call is: {{API_URL}}/processdata/getColumnList/1?columnKey=stakeholder {{API_URL}}/sourcedata/getColumnList/1?columnKey=stakeholder where the 1 is the control table id and the column key is the name of the column.

Modified the get all methods for Process Data, Source Data and Control Data to receive a comma delimited list using the column name. API call is: {{API_URL}}/controltable/view/all?page=1&pageLimit=2&sortBy=id&sortDirection=asc&ids=1,2,3 {{API_URL}}/controltable/view/all?page=1&pageLimit=2&sortBy=id&sortDirection=asc&ids=1,2,3