Add request/response structure for custom resource operations

Change-Id: I28ceb49ffc1d32884619a20e64d78443ff91c7fe