Switch to POST /inventory-hierarchy/items-and-holdings endpoint for getting items

Description

Purpose/Overview:
In order to achieve better performance of RTAC request processing as required in MODRTAC-38, new database view, that was created in scope of MODINVSTOR-518, is going to be utilized. It will help to decrease the number of requests from mod-rtac to mod-inventory-storage which should lead to significant performance improvement. See RTAC performance improvement for more information.
Requirements/Scope:

  1. When searching for items associated with particular instance, get the next fields from POST /inventory-hierarchy/items-and-holdings, which takes instance UUID:
    ||Property||Type||Description||
    | id | string | The FOLIO id of the item|
    | location | string | Effective location discovery display name of the item (regular name if discoveryDisplayName is empty)|
    | callNumber| string | The effective call number of the item – prefix + call number + suffix|
    | status | string | The availability status of the item|
    | temporaryLoanType| string | Name of the temporary loan type for a given item |
    | permanentLoanType| string | Name of the default loan type for a given item |
    | volume | string | Volume details for the item (see rules for generating “volume” below)|

  2. “volume” should be generated by the next rules
    ||data set ||"volume"|
    |enumeration|(<enumeration>)|
    |enumeration chronology|(<enumeration> <chronology>)|
    |enumeration chronology volume|(<enumeration> <chronology>)|
    |volume|(<volume>)|
    |chronology volume|(<volume>)|
    |chronology|(<chronology>)|

  3. dueDate (the date when the holding will be available as per open loan) should still be retrieved from GET /circulation/loans

Acceptance criteria:

  • POST /inventory-hierarchy/items-and-holdings is used for items information retrieval

  • All fields are added as described above

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Gulfstream

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 26, 2020 at 7:45 AM
Updated October 14, 2020 at 1:58 PM
Resolved October 14, 2020 at 1:58 PM
TestRail: Cases
TestRail: Runs