Use Inventory Hierarchy API
Description
Environment
Potential Workaround
defines
has to be done after
relates to
Checklist
hideTestRail: Results
Activity

Kruthi Vuppala December 1, 2020 at 8:22 PM
Update:
We may have to re-think this approach, the last we tested on Honeysuckle bugfest even with a single UUID the inventory hierarchy API didnt give a response. Until we know t
1) That the Hierarchy API is stable, and performant(there was a performance assessment for the API in the past https://folio-org.atlassian.net/wiki/pages/viewpage.action?pageId=1383839)
2) or data-export performance as-is is a hindrance or not acceptable
3) The new changes needed to the hierarchy API are worth the extra effort
Until the above points are confirmed we are going to put this effort on hold

Andrii Novytskyi November 30, 2020 at 11:21 AM
Fields that are not supported by hierarchy API:
1. All metadata fields for holdings and items;
2. In holdings statements, staffNote fields are not present;
3. Item notes - staff only are not present;
4. For all locations, code present for locations, but not present for campus, library and institutions;
5. Looks like an effective location for items are not present

Kruthi Vuppala October 5, 2020 at 3:56 PM
Also another thing to note while using this API is that, in the future if we need any other fields to be added for export, we need to change the inventory-hierarchy API to support those fields.

Magda Zacharska September 28, 2020 at 10:35 PM
The missing location code is a deal breaker so we will need to update inventory-hierarchy API to provide this information.
Details
Assignee
UnassignedUnassignedReporter
Kruthi VuppalaKruthi VuppalaPriority
P3Story Points
3Development Team
FirebirdTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Reporter

Overview
After investigating the APIs in https://folio-org.atlassian.net/browse/MDEXP-277. It seems like the new inventory API created can handle getting all the required holdings and items fields.
Below are the API details:
https://s3.amazonaws.com/foliodocs/api/mod-inventory-storage/inventory-hierarchy.html
This API also provides the location details, hence we need not call those APIs and process on our side to map
NOTE: The only field missing in the inventory-hierarchy API is location codes. If that is a deal breaker, we need to rethink this
Acceptance Criteria
The old GET of holdings and items is replaced with the new inventory hierarchy API
The mappings of locations fields are changed to remove the additional external calls