message rest service API
code clean