Created attachment 150449 [details] [review] Bug 24400: Rest API for checkout WIP
Created attachment 150495 [details] [review] Bug 24400: Rest API for checkout WIP
Created attachment 150920 [details] [review] Bug 24400: Rest API for checkout WIP
Created attachment 150921 [details] [review] fixing variable
Created attachment 151043 [details] [review] Bug 24400: Unit tests for all responses of checkout API
Created attachment 151044 [details] [review] Bug 24400: Rest API for checkout Feature to provide API endpoints for checking out items. To test: 1) Apply this patch 2) Run: $ ktd --shell $ prove t/db_dependent/api/v1/items.t => SUCCESS: Tests pass! 3. Play with item checkout using a REST tool like Postman => SUCCESS: All works as expected 4. Sign off :-D Sponsored-by: Auckland University of Technology
*** This bug has been marked as a duplicate of bug 23336 ***
Apologies Danyon.. seems I missed a comment here when marking as a duplicate. It's not always easy to spot a duplicate.. especially given in this case there were a few with long histories. It's generally a good idea to ask questions on those with a history to help them move forward before having a fresh attemp, but I wouldn't let it hold you up too long either. In this case, I look at the code you submitted and did a comparison before picking which to set as a duplicate. The other bugs handles a few more cases, so I picked that one, but it also needs further development for it to fully cater for all the existing cases in the UI. I'd love some help there and your input would be greatly appreciated.