Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Working with REST | Configuring a REST V2 Resource | Creating a REST V2 Resource | Supporting Elements for a REST V2 Resource
 
Supporting Elements for a REST V2 Resource
When Designer creates a new REST V2 resource, it automatically creates all the corresponding folders to store documents and services related to the REST V2 resource.
Figure 70. Folder structure for a REST V2 resource
REST V2 resource element
Description
ResourceName_
Contains the relevant documents under docTypes folder and services under services folder for the REST V2 resource.
docTypes
Contains all the automatically generated document types corresponding to the REST V2 resource. These document types contain the resource definition of a REST V2 resource and can be used while creating a REST V2 resource so that Designer can automatically add these properties to the resource.
services
Contains automatically generated services for the JSON API compliant REST V2 resource. Each service corresponds to the automatically created URL templates. The following services are created automatically:
*addResourceName
*deleteResourceNameByUID
*getAllResourceNames
*getResourceNameByUID
*updateResourceNameByUID