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

Benjamin Rokseth <[email protected]> changed:

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

--- Comment #2 from Benjamin Rokseth <[email protected]> ---
Created attachment 50097
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50097&action=edit
Bug 15566: API - allow to reserve first available from a group of titles

Test plan:
0. Find 1 borrower and 2 biblios they can place a hold on. Let's call
   them $borrowernumber, $biblionumber1 and $biblionumber2
1. Make a POST request to http://your.library.org/api/v1/reserves with
   the following body:
     {
       "onlyfirst": true,
       "reserves": [
         {
           "borrowernumber": $borrowernumber,
           "biblionumber": $biblionumber1
         },
         {
           "borrowernumber": $borrowernumber,
           "biblionumber": $biblionumber2
         },
       ]
     }
2. Check that you get a 201 response with the reserves informations
3. Check in staff interface that the reserves were correctly made

Signed-off-by: Benjamin Rokseth <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to