Consultar agendamentos

Sendo uma API REST, cada método HTTP tem o significado esperado; para listar os agendamentos utiliza-se o método GET.

Appointments list.

get
/appointments/

List all appointments.

Autorizações
AuthorizationstringObrigatório
Parâmetros de consulta
start_datestringOpcional

Start date in ISO 8601 format. Mandatory if end_date is not specified. The difference between the start date and the end date cannot be more than one month.

end_datestringOpcional

End date in ISO 8601 format. Mandatory if start_date is not specified. The difference between the start date and the end date cannot be more than one month.

modalitystringOpcional

Modalities UUIDs. In order to specify more than one, this parameter must be repeated. Example: "?modality=id1&modality=id2".

facilitystringOpcional

Facilities UUIDs. In order to specify more than one, this parameter must be repeated. Example: "?facility=id1&facility=id2".

roomstringOpcional

Rooms UUIDs. In order to specify more than one, this parameter must be repeated. Example: "?room=id1&room=id2".

limitstringOpcional

Maximum number of items that will be returned per page. Defaults to 10.

offsetstringOpcional

Determines where the current page of data should start within the entire dataset. It represents the number of items that should be skipped before starting to display the items on the current page. Defaults to 0.

orderingstringOpcional

Determines the field by which the dataset will be sorted and the direction in which it will be sorted. The field and direction option are specified, separated by a comma. The values that the direction can take are "asc" and "desc" for ascending and descending respectively. Defaults to "created_at,asc".

Respostas
chevron-right
200

A successful response that returns appointments.

application/json
get
/appointments/

Atualizado