curl --request POST \
--url https://api.example.com/turnos-excecoes/days \
--header 'Content-Type: application/json' \
--data '
{
"collaboratorExceptions": [
{
"collaboratorId": "123-abc",
"dayExceptions": [
{
"date": "2026-01-01T00:00:00.000Z",
"swappedDate": "2026-01-02T00:00:00.000Z",
"swappedCollaboratorId": "123-abc",
"remarks": "Exceção de dia justificada"
}
]
}
]
}
'{
"status": true,
"mensagem": "OK",
"errors": [
"Erro 1",
"Erro 2"
]
}curl --request POST \
--url https://api.example.com/turnos-excecoes/days \
--header 'Content-Type: application/json' \
--data '
{
"collaboratorExceptions": [
{
"collaboratorId": "123-abc",
"dayExceptions": [
{
"date": "2026-01-01T00:00:00.000Z",
"swappedDate": "2026-01-02T00:00:00.000Z",
"swappedCollaboratorId": "123-abc",
"remarks": "Exceção de dia justificada"
}
]
}
]
}
'{
"status": true,
"mensagem": "OK",
"errors": [
"Erro 1",
"Erro 2"
]
}Dados para criação das exceções de dia
Colaboradores com exceções
Show child attributes