GET Agendamentos/ListaEnvioAgendamentos

Retorna os agendamentos utilizando os filtros de: data_inicial*, data_final*, tipo_agenda, id_dentista, id_equipo, id_curso, id_confirmacao, id_frequencia e id_ocorrencia.
O tipo_agenda definirá qual será utilizado, podendo assumir os seguintes valores: 1 para dentista, 2 para equipo, 4 para curso, sendo 1 o padrão.
Os para conseguir os parametros id_dentista, id_equipo, id_curso, id_confirmacao, id_frequencia e id_ocorrencia, realize as consultas:
/Dentistas, /Dentistas, /Cursos, /Confirmacoes, /Frequencias, /Ocorrencias
Para filtrar agendamentos sem confirmação passar id_confirmacao=-2
Exemplo: https://api.serodonto.com.br/agendamentos/ListaEnvioAgendamentos?data_inicial=2025-01-01&data_final=2025-01-31&tipo_agenda=1&id_dentista=1&id_equipo=00000000-0000-0000-0000-000000000000&id_curso=00000000-0000-0000-0000-000000000000&id_confirmacao=-1&id_frequencia=-1&id_ocorrencia=-1
* Filtros obrigatórios.

Informações da Requisição

Parâmetros URI

Nenhuma.

Parâmetros do Corpo

Nenhum.

Informações da Resposta

Descrição do Recurso

Collection of AgendamentosListaEnvio
NomeDescriçãoTipoInformações adicionais
telefone1

string

Nenhuma.

data_nascimento

date

Nenhuma.

primeiro_nome

string

Nenhuma.

ultimo_nome

string

Nenhuma.

endereco_empresa

string

Nenhuma.

data_agenda

date

Nenhuma.

hora

string

Nenhuma.

nome_tratamento

string

Nenhuma.

identificador

string

Nenhuma.

id_agenda

integer

Nenhuma.

identificador_cliente

string

Nenhuma.

identificador_dentista

string

Nenhuma.

responsavel

string

Nenhuma.

Formatos da Resposta

application/json, text/json

Sample:
[
  {
    "telefone1": "sample string 1",
    "data_nascimento": "2025-05-11T15:25:14.7425075-03:00",
    "primeiro_nome": "sample string 2",
    "ultimo_nome": "sample string 3",
    "endereco_empresa": "sample string 4",
    "data_agenda": "2025-05-11T15:25:14.7425075-03:00",
    "hora": "sample string 5",
    "nome_tratamento": "sample string 6",
    "identificador": "sample string 7",
    "id_agenda": 1,
    "identificador_cliente": "sample string 8",
    "identificador_dentista": "sample string 9",
    "responsavel": "sample string 10"
  },
  {
    "telefone1": "sample string 1",
    "data_nascimento": "2025-05-11T15:25:14.7425075-03:00",
    "primeiro_nome": "sample string 2",
    "ultimo_nome": "sample string 3",
    "endereco_empresa": "sample string 4",
    "data_agenda": "2025-05-11T15:25:14.7425075-03:00",
    "hora": "sample string 5",
    "nome_tratamento": "sample string 6",
    "identificador": "sample string 7",
    "id_agenda": 1,
    "identificador_cliente": "sample string 8",
    "identificador_dentista": "sample string 9",
    "responsavel": "sample string 10"
  }
]

text/html

Sample:
[{"telefone1":"sample string 1","data_nascimento":"2025-05-11T15:25:14.7425075-03:00","primeiro_nome":"sample string 2","ultimo_nome":"sample string 3","endereco_empresa":"sample string 4","data_agenda":"2025-05-11T15:25:14.7425075-03:00","hora":"sample string 5","nome_tratamento":"sample string 6","identificador":"sample string 7","id_agenda":1,"identificador_cliente":"sample string 8","identificador_dentista":"sample string 9","responsavel":"sample string 10"},{"telefone1":"sample string 1","data_nascimento":"2025-05-11T15:25:14.7425075-03:00","primeiro_nome":"sample string 2","ultimo_nome":"sample string 3","endereco_empresa":"sample string 4","data_agenda":"2025-05-11T15:25:14.7425075-03:00","hora":"sample string 5","nome_tratamento":"sample string 6","identificador":"sample string 7","id_agenda":1,"identificador_cliente":"sample string 8","identificador_dentista":"sample string 9","responsavel":"sample string 10"}]

application/xml, text/xml

Sample:
<ArrayOfAgendamentosController.AgendamentosListaEnvio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SerodontoREST.Controllers">
  <AgendamentosController.AgendamentosListaEnvio>
    <data_agenda>2025-05-11T15:25:14.7425075-03:00</data_agenda>
    <data_nascimento>2025-05-11T15:25:14.7425075-03:00</data_nascimento>
    <endereco_empresa>sample string 4</endereco_empresa>
    <hora>sample string 5</hora>
    <id_agenda>1</id_agenda>
    <identificador>sample string 7</identificador>
    <identificador_cliente>sample string 8</identificador_cliente>
    <identificador_dentista>sample string 9</identificador_dentista>
    <nome_tratamento>sample string 6</nome_tratamento>
    <primeiro_nome>sample string 2</primeiro_nome>
    <responsavel>sample string 10</responsavel>
    <telefone1>sample string 1</telefone1>
    <ultimo_nome>sample string 3</ultimo_nome>
  </AgendamentosController.AgendamentosListaEnvio>
  <AgendamentosController.AgendamentosListaEnvio>
    <data_agenda>2025-05-11T15:25:14.7425075-03:00</data_agenda>
    <data_nascimento>2025-05-11T15:25:14.7425075-03:00</data_nascimento>
    <endereco_empresa>sample string 4</endereco_empresa>
    <hora>sample string 5</hora>
    <id_agenda>1</id_agenda>
    <identificador>sample string 7</identificador>
    <identificador_cliente>sample string 8</identificador_cliente>
    <identificador_dentista>sample string 9</identificador_dentista>
    <nome_tratamento>sample string 6</nome_tratamento>
    <primeiro_nome>sample string 2</primeiro_nome>
    <responsavel>sample string 10</responsavel>
    <telefone1>sample string 1</telefone1>
    <ultimo_nome>sample string 3</ultimo_nome>
  </AgendamentosController.AgendamentosListaEnvio>
</ArrayOfAgendamentosController.AgendamentosListaEnvio>