No - unlikely to be calm
From your description ...
2. in the serveride response to the GET call, reserve a space and return the result
GETs should be idempotent. For this reason, your service is unlikely to be calm, because the state of the system after the first GET is different.
You really need to consider that Reservation is a resource , and you should create it using POST in the reservation container, which will return the URI of the new resource in the Location header of the HTTP response. This UrI can be used by Get to return a resource and update using PUT.
The message should be used to extend an existing resource and Put to replace the state of the resource. In your case, think that Post will update the reservation list and return the URI of the new resource (not just me). Put can be used to change the state associated with a resource identified by UR
Chris mccauley
source share