POST /app/services/prevention
Description
This endpoint creates a new prevention
TIP
user authentication is required to access this information.
PayType
| Type | Description |
|---|---|
| 1 | Pago en efectivo |
| 2 | Pago por Tarjeta |
Body
| Name | Type | Description | Required |
|---|---|---|---|
| location | string | location | Yes |
| payType | string | payType | Yes |
| payId | string | payId | Yes |
| symptoms | string | symptoms | Yes |
Response
json
{
"message": "Prevention created successfully",
"status": 200
}