Skip to main content

How to Test API's

This article explains how API testing is done through Swagger

Hylet Pistorius avatar
Written by Hylet Pistorius
Updated over 2 months ago

Before starting, ensure that the use of API's are enabled for your company.

To enable API's, contact ProcessPro support for assistance.

Read more about how to obtain API documentation.

Authorise and Navigate to Swagger

  1. Generate and copy your API security token

  2. Select API Documentation, located in the top middle of the page.

  3. Swagger will open in a new tab

  4. Select 'Authorize'

  5. Paste the ProcessPro API token into the box and select 'authorize'. A notification will confirm authorisation

  6. The padlock next to each item will be locked. When the padlocks are unlocked, it indicates that authorisation is required.

Quick Steps to Test an API

  1. Select the API that you wish to test in Swagger and expand the details

  2. Select 'Try it out'

  3. Set the parameters

  4. Select 'Execute'. The test will execute

  5. If the request is successful, code 200 and the desired response will appear

  6. If the request is unsuccessful, an error response will appear. Change the relevant parameters and retry.

Did this answer your question?