[Koha-bugs] [Bug 16213] Allow to select hold's itemtype when using API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 16 15:06:36 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16213

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50017|0                           |1
        is obsolete|                            |

--- Comment #5 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 68179
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68179&action=edit
Bug 16213: Allow to select hold's itemtype when using API

Test plan:
1/ Use your usual "REST testing" tool to place a title-level hold with
an itemtype. The request should look like this:

POST /api/v1/holds
{
    "borrowernumber": 1234,
    "biblionumber": 456,
    "branchcode": "CPL",
    "itemtype": "A"
}

2/ Check that the hold was placed and the itemtype is correctly selected
3/ prove t/db_dependent/api/v1/holds.t

Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list