Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

To add API Documentation for RESTful web services:

  1. On the Develop tab, click Services > Web Services > Provider (API).
  2. Click Action  to the Restful web service.
  3. Click Add Documentation.



  4. The Add API 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 DetailsDescription
    NameName of the API Documentation. By default, it shows the provider's value as the name.
    DescriptionDescription about the API Documentation.
    Contact EmailValid email address to send queries.
    TitleTitle of your API documentation. It must contain alphanumeric and few special characters (_ - . : , @ $ ? \\ and space) and must start with an Alphabet/Underscore/Number)
    Method DetailsDescription
    SummaryPurpose of the method.
    NotesDescription of the method.
    API ParametersList of parameters, if provided at the time of creating Web Service Provider activity.
    Method PresentationStatus code of the request, response, and fault. You can also provide the description of the status code.
  5. Click Save.

Viewing Endpoint URL and API Documentation

To view Endpoint URL and API Doc:

  1. Go to Develop > Services > Web Services > Provider (API) .
  2. Click either Endpoint or API Doc in the WSDL/Documentation column corresponding to the web service to view the Endpoint URL.



  3. Endpoint URL will appear in the new tab of your browser.



    API Documentation will appear in the new tab of your browser.

    Changing Logo/Image in API Documentation

    Property "abpm.webservice.rest.apidoc.imagepath" has been added to the server configure properties for which default url is "images/api_doc_header.png". To change the logo, change the image name from url. The dimension of the image should be between 50x50 and 50x650. Supported image types are PNG, GPG, GIF, and BMP."



    Click API method or Expand Operations to view API documentation details.



    Provide the details in the fields and click Try it out to view the response. 



    You can also view the API documentation of all web service providers populated on one screen by clicking API Doc from the Web Service Provider manage screen.

     

  • No labels