Extend the GET /validReasons endpoint ability to search

Description

The endpoint improvement implement in this ticket will be used in OLMIS-685.

Acceptance Criteria:

  • GET /validReasons accepts a new parameter called reasonType

  • If the reasonType parameter is passed the response contains only assignments with reasons matching the given type

Status

Assignee

Klaudia Pałkowska

Reporter

Nikodem Graczewski

Labels

Story Points

2

Time tracking

20h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major