Done
Details
Assignee
Alexander KurashAlexander KurashReporter
Alexander KurashAlexander KurashLabels
Priority
P2Story Points
2Sprint
NoneDevelopment Team
VegaFix versions
Release
Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Alexander Kurash
Alexander KurashReporter
Alexander Kurash
Alexander KurashLabels
Priority
Story Points
2
Sprint
None
Development Team
Vega
Fix versions
Release
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 29, 2023 at 12:25 PM
Updated August 19, 2024 at 8:40 AM
Resolved October 9, 2023 at 12:52 PM
A new endpoints should be created:
GET /patron/account/{requesterId}/instance/{instanceId}/allowed-service-points
Which should return JSON with allowed service point names and IDs. Example:
{ "allowedServicePoints": [ { "id" : "3a40852d-49fd-4df2-a1f9-6e2641a6e91f", "name" : "Circ Desk 1" }, { "id" : "c4c90014-c8c9-4ade-8f24-b5e313319f4b", "name" : "Circ Desk 2" } ] }
In order to do that, it should call mod-circulation's endpoint
/circulation/requests/allowed-service-points?requesterId={requesterId}&operation=create&instanceId={instanceId}
and combine results for different request types into a single list (duplicates need to be removed)