openactive / open-booking-api

Repository for the Open Booking API specification
Other
2 stars 3 forks source link

Cancellation is atomic #166

Closed nickevansuk closed 3 years ago

nickevansuk commented 3 years ago

"Customer requested cancellation" is an atomic request: it succeeds or fails entirely, in line with other endpoints. It is also idempotent. This should be clarified in the spec in 8.3.2, and checked with the test suite.

The test suite could:

nickevansuk commented 3 years ago

Additionally ensure that something like the following is clearly included in the spec (ref: https://github.com/openactive/open-booking-api/issues/102):

The UX of a Broker would need to change to use language such as "Request Cancellation", as the cancellation cannot be guaranteed.