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": "ca7851fb-8e77-43c4-a5ab-cd1cb55b1129",
"Type": 1,
"Date": "16/06/2026",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"CustomerId": "80c205da-ee89-4dfe-bc7e-d2aa75f412f5",
"EmployeeId": "2b741c2b-1de2-4c99-84a9-c0468227fda4",
"Description": "sample string 7",
"Exams": [
"ff1299f9-42ad-4f13-8570-dec5d01a9c18",
"a13d58f1-a1e3-4082-9d62-9285a1189b6e"
]
}
Response Formats
application/json, text/json
Sample:
Sample not available.