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": "0c07ee2e-9e41-418a-b923-cd096c32a9aa",
"Type": 1,
"Date": "22/03/2026",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"CustomerId": "fd2c736f-ce35-496b-8d0f-be399a2e1ecb",
"EmployeeId": "627f8eb0-29e9-41c4-94e4-32747b7f2965",
"Description": "sample string 7",
"Exams": [
"241f7043-ed57-41c1-afd4-4d40c5353dc9",
"68500354-38c0-4217-96b1-b5f24c03d10c"
]
}
Response Formats
application/json, text/json
Sample:
Sample not available.