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": "250a3f30-d79d-4408-b1a3-6f642f61375c",
"Type": 1,
"Date": "07/10/2026",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"CustomerId": "de319759-2f4d-451c-8764-8070df7747a3",
"EmployeeId": "c071e88e-12a1-4ba5-9502-f7e22da3f38a",
"Description": "sample string 7",
"Exams": [
"fe94ec3b-19c4-4bef-822c-144c92dd88ab",
"11f2ebc1-edbb-4733-83d9-a1371a72f83b"
]
}
Response Formats
application/json, text/json
Sample:
Sample not available.