Comments (4)
The element R16D01 and R16C02 (R16D02 is an error in the spec) are intended to be mutually exclusive. Either the response contains a reference to the reservation or it contains the reservation entity. If there are charges associated with the reservation and the reservation entity itself is not returned in the response, references to any associated charges should be included in the response, to alert the user to the charges, which they might otherwise miss if they don't choose to retrieve the full reservation entity.
I think there was a business case for not returning the full reservation entity, but I confess that I no longer remember what it was. It may be that we can drop from the REST Web Server the option of returning a reservation reference, in which case the optional charge references in the response can also be dropped.
from bic-lcf.
This was discussed at the Technical Panel meeting on 28 June. After some discussion it was agreed that, for the web service implementation at least, it is only ever necessary to return a reservation reference URI in the reservation response. The documentation and XML schema should therefore be changed to remove the option of including the whole reservation record in the response.
from bic-lcf.
Having reviewed the comments above, I think @mdovey has a valid point that there is no purpose in the entity "lcf-reservation-response". Returning the reservation entity answers all the questions, and the LMS/ILS should have all the required information since it has just completed creating the reservation.
The one caveat on this statement is what should be returned if the business rules deny the creation of the reservation? The current LCF spec states that the lcf-exception entity should be returned along with the appropriate HTTP response code.
Given these two scenarios of use, I think the existing lcf-reservation-response should be removed.
from bic-lcf.
I agree. I have edited circulation function 16 in the LCF 1.0.1 REST Web Services Specification to reflect this decision. The specification now says that the only response to a reservation request should be either an HTTP 201 response (if successful) or an LCF Exception Response (if not successful).
from bic-lcf.
Related Issues (20)
- Are the various HTTP commands part of the standard? HOT 2
- Does LCF support ordering books online? HOT 1
- Providing a count of downloaded digital products HOT 1
- PNI Code list query HOT 3
- Loan status when creating a new loan HOT 2
- Reservation status when creating a new reservation HOT 4
- Display from date-time and Display until data-time validity in Message HOT 1
- LCF-codelists.xsd annotation inconsistencies. HOT 1
- LCF-codelist.xsd PNI has incorrect enumeration value HOT 2
- Should list PNI be replaced by ONIX list 44. HOT 4
- Returning loans for a patron HOT 2
- Recording event attendance
- Entity MANIFESTATION field E01C02 references MNI, a deprecated code list. HOT 1
- Create a method to query which version of LCF an endpoint implements HOT 5
- Create a proposal for LCF Profile certification
- E01C27 in LCF-InformationEntityXMLBindings subfields have a numbering issue HOT 1
- LCF-InformationEntityXMLBinding examples contain deprecated "version" HOT 1
- Clarification on Access control for LCF Entities HOT 2
- Previous releases v1.1.0 and v1.2.0 of LCF are no longer accessible via the GitHub repository Wiki HOT 2
- Amend V1.3.0 change log inline with agreed benefits wording. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bic-lcf.