Modify existing getByEmail API to return patron details

Description

As per the design doc , modify the existing getByEmail api to return the user details. This api should behave as follows.

  • GET /patron-registration-status - query by Email Address (New End point)

    • Checks FOLIO Users (only look for type “Patron“)

      • When multiple active records are found in FOLIO

        • Return 400 - (With Message indicating that multiple records were found)

      • When record is found in FOLIO

        • Return 200 - If active

        • Return 404 - If inactive (With Message indicating that its expired)

      • When record is NOT found in FOLIO

        • Return 404 - (With Message indicating that its NOT FOUND)

Interested parties :

Environment

None

Potential Workaround

None

Attachments

1

is defined by

Checklist

hide

Activity

Show:

Irina Pokhylets October 25, 2024 at 9:29 AM

Works as expected

Polina Ustimenko October 22, 2024 at 8:37 AM

Tested on Rancher1, works as expected:

could you please review? Thank you

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Volaris

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 15, 2024 at 6:58 PM
Updated October 30, 2024 at 2:57 PM
Resolved October 25, 2024 at 9:30 AM
TestRail: Cases
TestRail: Runs