Release notes

2025r5

Error message for runs of exploitation right templates in rights API

Previously, the business API service crashed when using the rights API and a GET /exploitationRights/{exploitationRightID}/runs call was sent with an exploitationRightID that corresponded to an exploitation right template. This was because templates do not have actual runs like regular rights.

From this version, when a call is sent with an exploitation right template ID in the URL, a 422 error is returned:

{
    "statusCode": "422",
    "message": "Operation cannot be completed due to violations",
    "timestamp": "2025-05-14T14:23:00Z",
    "concept": "Runs",
    "id": "3139963",
    "errors": [
        {
            "errorCode": "RIGHTS-00039",
            "description": "$_Exploitation right templates do not contain run data",
            "data": []
        }
    ]
}

The YAML was not updated for this change.