PlaceBenchmark
GET
3 endpoints
/api/v3/placeBenchmark/{benchmarkIndicator}/place/{placeId}/benchmarkValue
GetBenchmarkValuesV3
Retrieves benchmark values for a place
/api/v3/placeBenchmark/category
GetPlaceBenchmarkCategoriesV3
Get all place benchmark categories in the database
/api/v3/placeBenchmark/setting
GetPlaceBenchmarkSettingsV3
Get all the place benchmark names and categories for the owner
PUT
3 endpoints
/api/v3/placeBenchmark/setting
EditPlaceBenchmarkSettingsV3
The user can edit the category and name for each benchmark
If a benchmark has not been configured, it is configured
User cannot delete a benchmark from this endpoint
If the benchmark dto is null or not passed the API will ignore it
If the benchmark dto is not null, the category and name are required
/api/v3/placeBenchmark/{benchmarkIndicator}/place/{placeId}
EditPlaceBenchmarkValuesV3
Edit all values for a benchmark factor on a place
/api/v3/placeBenchmark/{benchmarkIndicator}/place/{placeId}/benchmarkValue/{placeBenchmarkId}
UpdatePlaceBenchmarkValueV3
Updates a place benchmark value
If the begin date is being modified, the following will happen:
* Records that now precede and previously preceded this benchmark will have their end dates modified to prevent gaps in benchmarks
* If a succeeding benchmark value exists for the new begin date, the end date will be modified to match the succeeding benchmarks end date
DELETE
2 endpoints
/api/v3/placeBenchmark/{benchmarkIndicator}/place/{placeId}/benchmarkValue/{placeBenchmarkId}
DeleteBenchmarkValueV3
Delete a single benchmark value.
If a preceding benchmark value exists, the preceding record’s end date will be changed to prevent any gaps in benchmark values
/api/v3/placeBenchmark/{benchmarkIndicator}/setting
DeletePlaceBenchmarkSettingV3
Delete the settings for the place benchmark defined by the benchmarkIndicator.
Deletes all corresponding place benchmark values that were defined for that indicator.
Updates user-defined autogroup membership for groups that contained filters for that indicator.