# Create

| **API URL**     | {{url}}/admin-service/labtest/create |
| --------------- | ------------------------------------ |
| **Method**      | POST                                 |
| **Description** | Lab test create                      |

#### **Input** <a href="#labtest-create-input" id="labtest-create-input"></a>

| **Field Name** | **Type** | **Mandatory** | **Example** |
| -------------- | -------- | ------------- | ----------- |
| active         | String   | No            | true        |
| name           | String   | Yes           | Potassium   |
| displayOrder   | Number   | No            | 1           |
| name           | String   | Yes           | Potassium   |
| countryId      | Number   | Yes           | 4           |
| tenantId       | Number   | Yes           | 156         |

#### **Sample Input:** <a href="#labtest-create-sampleinput" id="labtest-create-sampleinput"></a>

{ "active": true, "labTestResults": \[ { "name": "Potassium 2", "displayOrder": 0 } ], "name": "Potassium level7", "countryId": "4", "tenantId": "156" }

#### **Sample Output:** <a href="#labtest-create-sampleoutput" id="labtest-create-sampleoutput"></a>

```
{
    "message": "Labtest created successfully.",
    "entity": null,
    "status": true,
    "entityList": null,
    "responseCode": 201,
    "totalCount": null
}
```
