Save evaluation element in workspace (stores target reference).
POST/api/v1/survey/:surveyCode/evaluation/save/:workspaceId
Saves a calculated evaluation result as an element in the specified workspace.
Target resolution: The provided target.id is resolved across the user's visible
workspaces (same flow as ranking/evaluation). If the target is not found (404) or not
accessible (407), the request is rejected before any element is saved.
Request: Same RankingRequestDTO as the ranking/evaluation endpoints.
Provide target.id (the target element id to reference) or target.filterTgl must be provided (not both).
Response: ElementListDTO with the id of the created element.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Evaluation element saved successfully.
Bad Request. The request parameters are invalid.
Unauthorized. Missing or invalid API key.
Forbidden. The API key does not grant access to workspaces.
Not Found. The requested resource was not found.
Internal Server Error. Unexpected error occurred while processing the request.