https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17314
Bug ID: 17314
Summary: REST API: Add API route to create, list and delete a
purchase suggestion
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Web services
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
It would be nice to have an API for creating a purchase suggestion.
It would be used for instance in VuFind.
Proposed implementation:
To create:
POST /suggestions/{borrowernumber}
Incoming data:
{
title (required)
author
copyrightdate
isbn
publishercode
collectiontitle
place
itemtype
patronreason
note
negcap
}
Outcoming data:
200 OK / 403 Forbidden / 409 Conflict (when already exists the proposal)
{
error
status
}
To list:
GET /suggestions/{borrowernumber}
Outcoming data:
list of suggestions
To delete:
DELETE /suggestions/{borrowernumber}/{suggestion_id}
Outcoming data:
204 No Content (successful deletion) / 403 Forbidden / 404 Not Found
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/