POST api/Appointments
Cadastra um novo agendamento/cliente.
URI Parameters
None.
Body Parameters
CreateAppointmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CalendarId |
Agenda onde o agendamento será realizado |
globally unique identifier |
Required |
| Type |
1 - Admissional 2 - Demissional 3 - Retorno ao Trabalho 4 - Mudança de risco ocupacional 5 - Periódico 6 - Avaliação Clínica (Assistencial) |
RecordType |
Required |
| Date |
Data do agendamento |
date |
Required |
| StartTime |
Horário de início do agendamento - "11:30:00" - HH:mm:ss |
time interval |
Required |
| EndTime |
Horário de término do agendamento - Formato "11:35:00" - HH:mm:ss |
time interval |
Required |
| CustomerId |
Empresa cliente |
globally unique identifier |
Required |
| EmployeeId |
Funcionário que será atendido |
globally unique identifier |
Required |
| Description |
Observação do agendamento |
string |
None. |
| Exams |
Lista de exames que serão realizados no agendamento |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CalendarId": "4d9cbe33-7d5c-4cf8-9e1f-d92179acf2a3",
"Type": 1,
"Date": "04/02/2026",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"CustomerId": "31902cb8-2778-41c7-89b0-6732d2c02556",
"EmployeeId": "682cc0bc-7ea5-4040-9487-9c221d1d2aa9",
"Description": "sample string 7",
"Exams": [
"3732a79b-1c8d-4935-a852-1c6914398bdd",
"fbc2e653-3aed-4105-9d0e-8a410dacce4b"
]
}
Response Formats
application/json, text/json
Sample:
Sample not available.