Agendamentos - RESTful API

Sistema de agendamentos

List agendamentos (JSON URL for List of Items)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=agendamentos
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=agendamentos

Parameters

ParameterValueDescriptionData Type
sortasc | ascOrder sort attribute ascending or descendingString
orderbyagendamento-id |
nome |
telefone |
data-hora |
servico-nome |
atendente-nome |
random
Sort collection by object attributeString
agendamento-idLimit result set to items with more specific by `agendamento_id`Integer
nomeLimit result set to items with more specific by `nome`String
telefoneLimit result set to items with more specific by `telefone`String
data-horaLimit result set to items with more specific by `data_hora`String
servico-nomeLimit result set to items with more specific by `servico_nome`String
atendente-nomeLimit result set to items with more specific by `atendente_nome`String

Example

- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos
- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&orderby=agendamento_id
- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&orderby=random
- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&orderby=agendamento_id&sort=desc



Retrieve a agendamento (JSON URL for Single Item)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&agendamento-id={id}
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&agendamento-id=<agendamento-id>

Parameters

ParameterValueDescriptionData Type
agendamento-idUnique identifier for the object and use random for random IDsInteger

Example

- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&agendamento-id=1
- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&agendamento-id=2
- https://botusist.dev.br/agendamento/restapi.php?api=agendamentos&agendamento-id=random



List atendentes (JSON URL for List of Items)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=atendentes
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=atendentes

Parameters

ParameterValueDescriptionData Type
sortasc | ascOrder sort attribute ascending or descendingString
orderbyatendentes-id |
atendente-nome |
atendente-cargo |
atendente-diponivel |
random
Sort collection by object attributeString
atendentes-idLimit result set to items with more specific by `atendentes_id`Integer
atendente-nomeLimit result set to items with more specific by `atendente_nome`String
atendente-cargoLimit result set to items with more specific by `atendente_cargo`String
atendente-diponiveltrue | falseLimit result set to items with more specific by `atendente_diponivel`Boolean

Example

- https://botusist.dev.br/agendamento/restapi.php?api=atendentes
- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&orderby=atendentes_id
- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&orderby=random
- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&orderby=atendentes_id&sort=desc



Retrieve a atendente (JSON URL for Single Item)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=atendentes&atendentes-id={id}
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=atendentes&atendentes-id=<atendentes-id>

Parameters

ParameterValueDescriptionData Type
atendentes-idUnique identifier for the object and use random for random IDsInteger

Example

- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&atendentes-id=1
- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&atendentes-id=2
- https://botusist.dev.br/agendamento/restapi.php?api=atendentes&atendentes-id=random



List atendentesservicos (JSON URL for List of Items)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico

Parameters

ParameterValueDescriptionData Type
sortasc | ascOrder sort attribute ascending or descendingString
orderbyatendenteservico-id |
atendentes-nome |
servico-nome |
random
Sort collection by object attributeString
atendenteservico-idLimit result set to items with more specific by `atendenteservico_id`Integer
atendentes-nomenomeLimit result set to items with more specific by `atendentes_nome`String
servico-nomeLimit result set to items with more specific by `servico_nome`String

Example

- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico
- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&orderby=atendenteservico_id
- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&orderby=random
- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&orderby=atendenteservico_id&sort=desc



Retrieve a atendenteservico (JSON URL for Single Item)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&atendenteservico-id={id}
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&atendenteservico-id=<atendenteservico-id>

Parameters

ParameterValueDescriptionData Type
atendenteservico-idUnique identifier for the object and use random for random IDsInteger

Example

- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&atendenteservico-id=1
- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&atendenteservico-id=2
- https://botusist.dev.br/agendamento/restapi.php?api=atendenteservico&atendenteservico-id=random



List horarios (JSON URL for List of Items)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=horarios
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=horarios

Parameters

ParameterValueDescriptionData Type
sortasc | ascOrder sort attribute ascending or descendingString
orderbyhorarios-id |
horario-id |
horario-disponivel |
random
Sort collection by object attributeString
horarios-idLimit result set to items with more specific by `horarios_id`Integer
horario-idLimit result set to items with more specific by `horario_id`String
horario-disponiveltrue | falseLimit result set to items with more specific by `horario_disponivel`Boolean

Example

- https://botusist.dev.br/agendamento/restapi.php?api=horarios
- https://botusist.dev.br/agendamento/restapi.php?api=horarios&orderby=horarios_id
- https://botusist.dev.br/agendamento/restapi.php?api=horarios&orderby=random
- https://botusist.dev.br/agendamento/restapi.php?api=horarios&orderby=horarios_id&sort=desc



Retrieve a horario (JSON URL for Single Item)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=horarios&horarios-id={id}
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=horarios&horarios-id=<horarios-id>

Parameters

ParameterValueDescriptionData Type
horarios-idUnique identifier for the object and use random for random IDsInteger

Example

- https://botusist.dev.br/agendamento/restapi.php?api=horarios&horarios-id=1
- https://botusist.dev.br/agendamento/restapi.php?api=horarios&horarios-id=2
- https://botusist.dev.br/agendamento/restapi.php?api=horarios&horarios-id=random



List servicos (JSON URL for List of Items)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=servicos
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=servicos

Parameters

ParameterValueDescriptionData Type
sortasc | ascOrder sort attribute ascending or descendingString
orderbyservicos-id |
servico-nome |
random
Sort collection by object attributeString
servicos-idLimit result set to items with more specific by `servicos_id`Integer
servico-nomeLimit result set to items with more specific by `servico_nome`String

Example

- https://botusist.dev.br/agendamento/restapi.php?api=servicos
- https://botusist.dev.br/agendamento/restapi.php?api=servicos&orderby=servicos_id
- https://botusist.dev.br/agendamento/restapi.php?api=servicos&orderby=random
- https://botusist.dev.br/agendamento/restapi.php?api=servicos&orderby=servicos_id&sort=desc



Retrieve a servico (JSON URL for Single Item)

URL:
https://botusist.dev.br/agendamento/restapi.php?api=servicos&servicos-id={id}
METHOD:
GET https://botusist.dev.br/agendamento/restapi.php?api=servicos&servicos-id=<servicos-id>

Parameters

ParameterValueDescriptionData Type
servicos-idUnique identifier for the object and use random for random IDsInteger

Example

- https://botusist.dev.br/agendamento/restapi.php?api=servicos&servicos-id=1
- https://botusist.dev.br/agendamento/restapi.php?api=servicos&servicos-id=2
- https://botusist.dev.br/agendamento/restapi.php?api=servicos&servicos-id=random