This prototype exposes Greg Young's m-r sample - which has been the de-facto CRQS+ES (ES = Event Sourcing) sample in the community - through a RESTful interface.
This prototype exemplifies:
GET /api/InventoryItem[gets all items]
GET /api/InventoryItem/{id}[gets detail of a single item]
POST /api/InventoryItem[creates an item]
POST /api/InventoryItem/{id}* [checks in stock items to the inventory]
POST /api/InventoryItem/{id}* [removes stock items from the inventory]
PUT /api/InventoryItem/{id}[renames an item]
DELETE /api/InventoryItem/{id}[de-activates an item]
/api/InventoryItem/{id}/AddToStock, we send a request with media type
application/json;domain-model=CheckInItemsToInventoryCommand. This also moves away from the common misconception that HTTP Verbs must be mapped to CRUD.
Locationheader after POST, etc.