#16 written the structure to the rest service