Update
PATCH
/:tenantId/appointment-types/:idBody
json
{
"name": "type name",
"is_default": 0,
"color": "#ed4e8f",
"status": "0"
}| Key | Type | Required | Description |
|---|---|---|---|
| name | string | no | The name of the appointment type. |
| is_default | integer | no | Indicates if it's the default type 0: No (default) 1: Yes |
| color | string | no | The color associated with the appointment type. |
| status | integer | no | The status of the appointment type 0: Inactive 1: Active (default) |
Response
json
{
"data": {
"id": 22,
"name": "type name",
"status": 0,
"is_default": false,
"color": "#ed4e8f",
"deleted_at": null,
"created_at": "2024-06-07T10:38:45.000000Z",
"updated_at": "2024-11-29T06:24:31.000000Z"
}
}