A REST web service resource contains the definition of the REST web service response message and a data access method to return the response. When you create an Informatica REST web service, you can define the resource from a data object or you can manually define the resource.
For this example, you manually create the resource because the response message format is hierarchical and it contains multiple-occurring data. You cannot create the resource from a data object in the repository.