Endpoint for data collectors' locations
agnetedjupvik opened this issue · comments
Is your feature request related to a problem? Please describe.
As per now, location data (coordinates) is related to a case report through the endpoint /api/Map/HealthRiskCoordinates/{from}/{to}
. I also want to map all data collectors, also those who haven't yet made a health risk report.
Describe the solution you'd like
When asking for Data Collectors, I'd like to receive their location in order to map all data collectors.
I'd like a format somewhere along these lines:
[ { "name": "Test name 1", "center": [42.1234, 4.5678], }, ... ]
Additional information such as district would also be nice – could probably allow for some nice grouping later on.