Edits benchmark type settings (category and name) for one or more benchmark indicators
Use this endpoint to configure or rename benchmarks. Pass null for a benchmark slot to leave it unchanged.
If a benchmark DTO is provided, category and name are required. Duplicate benchmark names are not permitted.
Does not delete benchmarks — use DELETE /placeBenchmark/{benchmarkIndicator}/setting for that.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Request Body
BenchmarkSettingsEdit
| Property | Description | Type | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| benchmark1 | BenchmarkEdit | ||||||||||
|
BenchmarkEdit properties
|
|||||||||||
| benchmark2 | BenchmarkEdit | ||||||||||
|
BenchmarkEdit properties
|
|||||||||||
| benchmark3 | BenchmarkEdit | ||||||||||
|
BenchmarkEdit properties
|
|||||||||||
Example Request Body
{ "benchmark1": { "benchmarkCategoryId": 1, "benchmarkInfo": "string"
}, "benchmark2": { "benchmarkCategoryId": 1, "benchmarkInfo": "string"
}, "benchmark3": { "benchmarkCategoryId": 1, "benchmarkInfo": "string"
}
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
BenchmarkSettingsResponse
| Property | Description | Type | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benchmark1 | BenchmarkWithUsedCountResponse | ||||||||||||||||||||||||||||
|
BenchmarkWithUsedCountResponse properties
|
|||||||||||||||||||||||||||||
| benchmark2 | BenchmarkWithUsedCountResponse | ||||||||||||||||||||||||||||
|
BenchmarkWithUsedCountResponse properties
|
|||||||||||||||||||||||||||||
| benchmark3 | BenchmarkWithUsedCountResponse | ||||||||||||||||||||||||||||
|
BenchmarkWithUsedCountResponse properties
|
|||||||||||||||||||||||||||||
Example Response
{ "benchmark1": { "benchmarkCategory": { "benchmarkCategoryId": 1, "benchmarkCategoryInfo": "string"
}, "benchmarkIndicator": 1, "benchmarkInfo": "string", "usedCount": 1
}, "benchmark2": { "benchmarkCategory": { "benchmarkCategoryId": 1, "benchmarkCategoryInfo": "string"
}, "benchmarkIndicator": 1, "benchmarkInfo": "string", "usedCount": 1
}, "benchmark3": { "benchmarkCategory": { "benchmarkCategoryId": 1, "benchmarkCategoryInfo": "string"
}, "benchmarkIndicator": 1, "benchmarkInfo": "string", "usedCount": 1
}
}
400
Bad Request
The request was malformed or contains invalid parameters. Check the request body and query parameters.
404
Not Found
The requested resource was not found. Verify the ID or path is correct.