# Create

| **API URL**     | {{url}}/admin-service/medication/create |
| --------------- | --------------------------------------- |
| **Method**      | POST                                    |
| **Description** | Create medication                       |

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

| **Field Name**     | **Type** | **Mandatory** | **Example**  |
| ------------------ | -------- | ------------- | ------------ |
| medicationName     | String   | Yes           | Dolo         |
| dosageFormName     | String   | Yes           | Tablet       |
| brandName          | String   | Yes           | Generic      |
| classificationName | String   | Yes           | Beta-blocker |

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

\[ { "countryId": "3", "classificationId": 19, "classificationName": "Beta-blocker", "brandId": 120, "brandName": "Generic", "medicationName": "Dolo", "dosageFormId": 2, "dosageFormName": "Tablet", "tenantId": "290" } ]

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

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