Skip to content

Set criteria API for save criteria feature #2369

@SLDonnelly

Description

@SLDonnelly

Describe the task
A set criteria API needs to be created for the save criteria feature. The API will insert and update criteria (i.e. filter values) are stored in a JSON column in order to allow for flexibility to add and remove filters without making database changes as is the case today

Acceptance Criteria

  • Updates criteria row for passed parameters.
  • If 0 rows updated, insert instead of update. For best performance, always try update first.
  • Add api test

Additional context
documentation here: https://apps.nrs.gov.bc.ca/int/confluence/display/FSADT2/Saving+Search+Criteria+in+CONSEP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions