Bug 27100 - No way to get the holds count on an item from ILS-DI?
Summary: No way to get the holds count on an item from ILS-DI?
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Arthur Suzuki
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-26 12:20 UTC by Arthur Suzuki
Modified: 2025-01-16 13:05 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Suzuki 2020-11-26 12:20:30 UTC
ILS-DI GetRecord service shows up the number of issues for an item but it may be nice as well to provide the number of holds waiting.
Needed for portal softwares which allows to place a holds.
(Users may want to know if the hold might be available quick or not)
Comment 1 Brendan Lawlor 2024-06-24 20:39:52 UTC
This might not be exactly the same, but with GetRecords and a bib id you can make a call like:
https://{domain}/cgi-bin/koha/ilsdi.pl?service=GetRecords&id={bib#}

The response includes a <reserves> element with a <reserve> for each hold. Each <reserve> contains <found> with a code 'W' indicate hold waiting for pickup. 'T' indicates in transit.
Comment 2 Arthur Suzuki 2025-01-16 13:05:53 UTC
Hello Brendan,
Thank you for your reply, this fixes my issue :)
Best,
Arthur