Commit 9939c3b
authored
Removed outputvalues from the API (#317)
* Refactor SelectionHandler and update dependencies
Simplified `SelectionHandler.cs` by removing `aggregatedSingle` parameter and related logic. Updated `GetSelection` method to always sort values.
Removed `outputvalues` parameter from `GetTableData` in `TableApiController.cs` and updated `MapDataParameters` accordingly.
Removed `OutputValues` property from `SelectionResponseMapper.cs`.
Updated `PxWeb.Api2.Server` package to `2.0.0-beta.10`.
Refreshed `updated` and `Published` dates in `Menu.xml`.
* Fixed test
* Refactor SelectionHandler to simplify method signatures
Removed the `IPXModelBuilder builder` parameter from `MapCustomizedSelection` and `GetSelection` methods to reduce unnecessary dependencies. Modified `AddValue` method to remove the `variable` parameter, making it static and requiring only a list of values and a value to add. Updated calls to `AddValue` to reflect the new method signature. These changes streamline the code and improve maintainability.
* Made methods static
* one more metod made static
* retored Menu.xml1 parent 244984b commit 9939c3b
File tree
5 files changed
+65
-117
lines changed- PxWebApi_Mvc.Tests/ExpectedJson
- PxWeb
- Code/Api2/DataSelection
- Controllers/Api2
- Mappers
5 files changed
+65
-117
lines changed
0 commit comments