Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Working with REST | Configuring a REST V2 Resource
 
Configuring a REST V2 Resource
 
Creating a REST V2 Resource
Working with REST V2 Resource Operation
Working with REST V2 Resource Attributes
REST resources configured using this approach, also known as REST V2 resources, are invoked with the restv2 directive. For each resource, you must define operations and attributes. Resource operations include the following:
*The format of the URL that REST clients must follow when sending requests to Integration Server acting as the REST server.
*The HTTP methods supported by the REST resource.
*The service associated with a resource operation. You can either associate an existing service with a resource operation or create a new service and associate it with the resource operation.
You can use the URL template-based approach to configure REST V2 resources. In this approach, you define a URL template that serves as a template for client requests to use and invoke the resources.
The URL template-based approach provides you with greater flexibility than the legacy approach in defining REST V2 resources. For a REST V2 resource, you can define multiple operations and associate each operation with a URL template, HTTP methods, and a service. In addition, you can edit these details based on your requirements.
Note: 
*The supported associated services are, Flow service, Java service, C service, or Adapter service.
*A REST V2 resource is represented by the icon in the Package Navigator view.