Update Agenda
PATCH
/agendas/{companyId}/{agendaId}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/agendas/117aeac1-17f8-4628-a97c-56550df3f1f2/2ec66517-26f0-4c7d-8509-1c89b2d15a8f' \
--header 'Authorization: {{apiKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "2ec66517-26f0-4c7d-8509-1c89b2d15a8f",
"companyId": "117aeac1-17f8-4628-a97c-56550df3f1f2",
"name": "Dr. Vinicius",
"workTime": {
"friday": [
{
"end": "12:00:00",
"start": "09:30:00"
},
{
"end": "17:00:00",
"start": "14:00:00"
}
],
"monday": [
{
"end": "13:30:00",
"start": "09:30:00"
},
{
"end": "18:00:00",
"start": "14:00:00"
}
],
"sunday": [],
"tuesday": [
{
"end": "12:00:00",
"start": "09:30:00"
},
{
"end": "18:00:00",
"start": "14:00:00"
}
],
"saturday": [],
"thursday": [
{
"end": "12:00:00",
"start": "09:00:00"
},
{
"end": "18:00:00",
"start": "14:00:00"
}
],
"wednesday": [
{
"end": "12:00:00",
"start": "09:30:00"
},
{
"end": "18:00:00",
"start": "14:00:00"
}
]
}
}'
Response Response Example
{}
Requisição
Parâmetros Path
companyId
string
requerido
Exemplo:
117aeac1-17f8-4628-a97c-56550df3f1f2
agendaId
string
requerido
Exemplo:
2ec66517-26f0-4c7d-8509-1c89b2d15a8f
Parâmetros Header
Authorization
string
requerido
Exemplo:
{{apiKey}}
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-04-24 20:06:01