> For the complete documentation index, see [llms.txt](https://spice.docs.medtroniclabs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spice.docs.medtroniclabs.org/engineering/api-documentation/admin-services/lab-test-customization/lab-test-validate.md).

# Lab Test Validate

| **API URL**     | {{url}}/admin-service/lab-test-customization/validate |
| --------------- | ----------------------------------------------------- |
| **Method**      | POST                                                  |
| **Description** | Validate the Lab test customization                   |

#### **Sample Input** <a href="#labtestvalidate-v2-sampleinput" id="labtestvalidate-v2-sampleinput"></a>

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| name                   | String   | Yes           | Test name to validate                                                                                                                   |
| countryId              | Integer  | Yes           | Country id                                                                                                                              |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client                 | String   | Yes           | web                                                                                                                                     |

```
{
    name: "Test One", 
    countryId: 1
}
```

#### **Sample Output** <a href="#labtestvalidate-v2-sampleoutput" id="labtestvalidate-v2-sampleoutput"></a>

| **Field Name** | **Type** | **Comments**                    |
| -------------- | -------- | ------------------------------- |
| message        | String   | LabTest validated successfully. |
| status         | Boolean  | Labtest validation status       |
| entity         | Boolean  | Entity List                     |

```
{
  "message": "LabTest validated successfully.",
  "entity": true,
  "status": true,
  "entityList": null,
  "responseCode": 200,
  "totalCount": null
}
```
