# Adding API

In this Chapter you will be given a overview of API Testing with QATTS.

![](https://1916024011-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVX-yOtIHRnx7UtstUT%2F-MjTkyXAsYF3ipefTtPh%2F-MjTlQc4lCPw2xE94qrL%2FCreate%20API.PNG?alt=media\&token=5890f462-d7da-457a-80de-4e22d14a89d5)

The following is the description of adding an API in detail:&#x20;

* **API Name:** Giving proper name for the API based on the module.
* **Description:** Giving proper description related to module that you are going to work on.
* **Type:** Giving the Type of response.
  * **REST** (Representational State Transfer) - This is used when the request and response format are not in XML, i.e. it can be in JSON, HTML or any other format.
  * **SOAP**( Simple Object Access Protocol) - This is used when the request and response format of the API are in the XML format.
* **Select Group:** Select the Group name.
* **HTTP Methods:** Select the HTTP Method that needs to be performed on the API.
  * **Note**: POST, PUT, PATCH will have the request template( Need an Input to test API). GET will not have the request template unless for some special conditions.
* &#x20;Here by clicking on the **Eye** you can select the deployment that you are going work on.

Then Click on the **Save** Button.

Once saved more options are now visible to work with.
