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
Made the changes from the pull request: https://github.com/bcgov/moh-phlat/pull/76
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