Hi Eduard,

CROSRestAPI.cls:

Class User.CROSRestAPI Extends %CSP.REST
{

Parameter CHARSET = "utf-8";

Parameter CONTENTTYPE = "application/json";

XData UrlMap [ XMLNamespace = "http://www.intersystems.com/Urlmap]
{
<Routes>
<Map Prefix="user/coffee" Forward="User.CROSRestAPI"/>
<Route Url="/CoffeeMaker" Method="POST" Call="CreateCoffee"/>
<Route Url="/CoffeeMaker:id" Method="PUT" Call="UpdateCoffee"/>
</Routes>
}

ClassMethod CreateCoffee() As %Status
{
CoffeeProp = ##class(User.PropertyName).%New()
CoffeeProp.CoffeeName=%request.Data(CoffeeName)
CoffeeProp.CoffeeColor=%request.Data(CoffeeColor)
CoffeeProp.CoffeePrice=%request.Data(CoffeePrice)
Status = CoffeeProp.%Save()
}
}

And I have a complete version of Cache.