Example Product that supports the following construct.
public interface ProductEvent {
String getId();
String getName();
String getCost();
String getRating();
}
curl http://localhost:9000/api/products/product/1234
curl -H "Content-Type: application/json" -X POST -d '{"name": "Socks", "cost": "13.00", "rating": "10"}' http://localhost:9000/api/products/1234