To add API Documentation for RESTful web services:
Click Configure > WEB SERVICES > REST Provider.
On the REST Provider screen, click to the Restful web service.
Click Edit Documentation.
The Edit Documentation window appears with API and Method Details for the chosen RESTful web service. By default, the values in the API Details section are filled automatically based on the chosen web service. You can change the values as per your requirements.
API Details
Description
Name
Name of the API Documentation. By default, it shows the provider's value as the name.
Description
Description about the API Documentation.
Email
Valid email address to send queries.
Title
Title of your API documentation. It must contain alphanumeric and few special characters (_ - . : , @ $ ? \\ and space) and must start with an Alphabet/Underscore/Number)
Method Details
Description
Summary
Purpose of the method.
Notes
Description of the method.
API Parameters
List of parameters, if provided at the time of creating Web Service Provider activity.
Method Presentation
Status code of the request, response, and fault. You can also provide the description of the status code.
Click Save.
Viewing Endpoint URL
To view Endpoint URL of a web service activity:
Click Configure > WEB SERVICES > REST Provider.
Click Endpoint in the Documentation column corresponding to the web service activity.
This displays the Endpoint URL in the new tab of your browser.
Viewing API Documentation
To view API documentation of a web service activity:
Click Configure > WEB SERVICES > REST Provider.
Click API Docin the Documentation column corresponding to the web service activity.
This displays the API documentation of the selected activity in the new tab of your browser.
Click API Doc to view the API documentation of all web service activities.
Option Name
Description
Show/Hide
Show or hides all APIs.
List Operations
Displays the list view of all the expanded APIs.
Expand Operations
Expands all APIs to view details.
The list of all web service activities populates on the screen, in case you are viewing API documentation of all web service activities.
Select the activity from the left menu to view API details of a particular activity.
Click API method or Expand Operations to view API details.
Provide the details in the fields and click Try it out to view the response.