Defined JSON Data Structures for REST API, Defined Response Codes