Add holdings and item copy number field to rtac response (single and batch responses)

Description

As a librarian, I want to be able to display the holdings and item copy number fields to my library patron so they know the exact copy to request / to check out / or ask the librarian. 

Requirements

  • Add to the response the field holdingsCopyNumber. Populated with the holdings copy number field. If no holdings copy number value is entered then do not return it in the response. 

  • Add to the response the field itemCopyNumber. Populated with the item copy number field. If no item copy number value is entered then do not return it in the response. 

Example of API response that returns holdings and item copy numbers because both have values

 

Example of API response that only returns holdingsCopyNumber because itemCopyNumber has no value

 

 

Example of API response that only returns itemCopyNumber because holdingsCopyNumber has no value

 

Example of API response when both holdingsCopyNumber and itemCopyNumber has no values

Environment

None

Potential Workaround

None

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Khalilah Gambrell February 19, 2024 at 1:03 PM

, the RTAC response should include the holdingsCopyNumber and the itemCopyNumber. My user story states that

  • if holdingsCopyNumber does not return a value then do not return holdingsCopyNumber in the response

  • if itemCopyNumber does not return a value then do not return itemCopyNumber in the response

holdingsCopyNumber is populated with the Holdings Copy Number value on the Holdings record

itemCopyNumber is populated with the Item Copy Number value on the Item record

Yusuf Murodov February 16, 2024 at 3:00 PM


Hi, I just want to ask you about ItemCopyNumber. is it copyNumber from Item and should be added to holding object along with holdingsCopyNumber? if not, please clarify where the copyNumber comes from?

Done

Details

Assignee

Reporter

Priority

Development Team

Dreamliner

Fix versions

Affected Institution

Caltech

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 27, 2023 at 3:23 PM
Updated March 25, 2024 at 8:21 AM
Resolved March 25, 2024 at 8:21 AM
TestRail: Cases
TestRail: Runs