POST api/Appointments
Cadastra um novo agendamento/cliente.
URI Parameters
None.
Body Parameters
CreateAppointmentRequestName | 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 | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CalendarId": "32c71682-33ef-42a2-9e63-786f72e6a587", "Type": 1, "Date": "01/09/2025", "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "CustomerId": "5b2e8ef2-ac58-498b-92b0-c56f2c9a3140", "EmployeeId": "0abe2e76-4da6-41b5-bffa-7e3055c9edc4", "Description": "sample string 7", "Exams": [ "377af034-f417-461e-a620-c6de0cbb3cc1", "2ba4a853-caf2-4885-807b-21ee85b8a914" ] }
Response Formats
application/json, text/json
Sample:
Sample not available.