Field | Description | ||
Name | Mandatory. The name of the resource. Make sure the resource name you specify in this field is a valid value for NCName. | ||
Resource Path | Mandatory. The resource URL. | ||
Description | Optional. Additional comments or descriptive information about the resource. | ||
Upload Schema | Optional. An XML schema for the API.
| ||
Upload Files | Optional. External files that provide additional information about the resource. | ||
Parameters | Optional. One or more request parameters at the Resource level. Modify an Existing Parameter a. Move the cursor over the parameter whose details you want to modify. b. Click the Edit icon. c. In the Edit Parameter dialog, modify the details, as needed. d. Click OK. e. Repeat for each parameter that you want to modify. Delete an Existing Parameter a. Move the cursor over the parameter you want to delete. b. Click the Delete icon. c. Repeat for each parameter that you want to delete. Add a New Parameter a. Click the Add Parameter link. b. In the Add Parameter dialog, specify the details, as needed. c. Click OK. d. Repeat for each parameter that you want to add. For a complete description of how to set up the request parameters, see Adding Parameter to REST API. |
Field | Description |
Name | Mandatory. The name of the method. |
Description | Optional. Additional comments or descriptive information about the method. |
HTTP Method | The HTTP operation to perform on the resource. |
Request Content-Type | The content format for request message. |
Response Content-Type | The content format for response message. |
Parameters | Optional. One or more request parameters at the Method level. Modify an Existing Parameter a. Move the cursor over the parameter whose details you want to modify. b. Click the Edit icon. c. In the Edit Parameter dialog, modify the details, as needed. d. Click OK. e. Repeat for each parameter that you want to modify. Delete an Existing Parameter a. Move the cursor over the parameter you want to delete. b. Click the Delete icon. c. Repeat for each parameter that you want to delete. Add a New Parameter a. Click the Add Parameter link. b. In the Add Parameter dialog, specify the details, as needed. c. Click OK. d. Repeat for each parameter that you want to add. For a complete description of how to set up the request parameters, see Adding Parameter to REST API. |
Requests | Optional. One or more HTTP requests that indicate the operation to be performed with the addressed resource. Modify an Existing Request a. Move the cursor over the request whose details you want to modify. b. Click the Edit icon. c. In the Edit Request dialog, modify the details, as needed. d. Click OK. e. Repeat for each request that you want to modify. Delete an Existing Request a. Move the cursor over the request you want to delete. b. Click the Delete icon. c. Repeat for each request that you want to delete. Add a New Request a. Click the Add Request link. b. In the Add Request dialog, specify the details, as needed. c. Click OK. d. Repeat for each request that you want to add. For a complete description of how to set up the request, see Adding HTTP Request to REST API. |
Responses | Optional. One or more HTTP responses that indicate the success or failure of a request invocation. Modify an Existing Response a. Move the cursor over the response whose details you want to modify. b. Click the Edit icon. c. In the Edit Response dialog, modify the details, as needed. d. Click OK. e. Repeat for each response that you want to modify. Delete an Existing Response a. Move the cursor over the response you want to delete. b. Click the Delete icon. c. Repeat for each response that you want to delete. Add a New Response a. Click the Add Response link. b. In the Add Response dialog, specify the details, as needed. c. Click OK. d. Repeat for each response that you want to add. For a complete description of how to set up the response messages, see Adding HTTP Response to REST API. |
Sample Requests and Responses | Optional. One or more sample requests to the resources of the web application, and the corresponding sample responses from the application. Modify an Existing Sample a. Move the cursor over the sample whose details you want to modify. b. Click the Edit icon. c. In the Edit Sample Request and Response dialog, modify the details, as needed. d. Click OK. e. Repeat for each sample that you want to modify. Delete an Existing Sample a. Move the cursor over the sample you want to delete. b. Click the Delete icon. c. Repeat for each sample that you want to delete. Add a New Sample a. Click the Add Request and Response link. b. In the Add Sample Request and Response dialog, specify the details, as needed. c. Click OK. d. Repeat for each sample that you want to add. For a complete description of how to expose sample request and response messages, see Adding Request and Response Messages to REST API. |