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": "6139767b-c92b-4768-8160-bbb04c0a9cd6",
"Type": 1,
"Date": "07/11/2025",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"CustomerId": "9432d603-1856-44c8-b5ab-c5d1e60b1088",
"EmployeeId": "dcc13a60-28b3-441c-9981-57ade3ff5762",
"Description": "sample string 7",
"Exams": [
"29c916b3-4f9e-46c0-9be0-e3a6b4923909",
"606e8667-0b07-4ee8-b0ca-3a9ee7bb4744"
]
}
Response Formats
application/json, text/json
Sample:
Sample not available.