Atendimento

Retorna a lista de atendimentos

Changed on

Retorno JSON lista de atendimento do imoview CRM

get/Atendimento/RetornarAtendimentos

Request

  • Base URL
    https://api.imoview.com.br
  • URL
    https://api.imoview.com.br/Atendimento/RetornarAtendimentos
  • Auth
    API key in header chave

Query parameters

numeroPaginainteger required

Usado para paginação, enviar o nº da página atual

numeroRegistrosinteger required

Nº de registros para retorno, máximo 20

finalidadeinteger required

Informe 1-Aluguel ou 2-Venda

situacaointeger

Informe 1-Em atendimento, 2-Descartado, 3-Negócio ou 0 para todos

faseinteger required

Informe 1-Pré-atendimento, 2-Seleção perfil, 3-Seleção imóveis (somente atendimento), 4-Visita (somente atendimento), 5-Proposta ou checklist (captação), 6-Negócio ou captação realizada (captação), 7 - Lead qualificado, 8-Agendamento - OPCIONAL se codigoCliente for informado

codigoUnidadeinteger

Código do unidade

codigoClienteinteger

Código do cliente

codigoCorretorinteger

Código do corretor

codigoMqlinteger

Código do Mql - Módulo Y

codigoMidiainteger

Código da mídia

codigoTipointeger

Código do tipo do atendimento

dataInicialstring string

Data inicial no formato (dd/MM/yyyy)

dataFinalstring string

Data final no formato (dd/MM/yyyy)

opcaoAtendimentointeger

1 - Atendimento (default) | 2 - Captação

dataHoraInicialUltimaAlteracaostring string

Data/hora inicial da última alteração no formato (dd/MM/yyyy HH:mm:ss)

dataHoraFinalUltimaAlteracaostring string

Data/hora final da última alteração no formato (dd/MM/yyyy HH:mm:ss)

Response

Retorno das informações contidas nos atendimentos feita com sucesso

quantidadeinteger

Total de atendimentos encontrados pelo filtro (para paginação), independente da página retornada

Example response

{
  "quantidade": 1,
  "lista": [
    {
      "finalidade": "string",
      "funil": "string",
      "situacao": "string",
      "unidadenome": "string",
      "midia": "string",
      "tipo": "string",
      "campanha": "string",
      "utm": "string",
      "termometro": "string",
      "datahoraentradalead": "string",
      "datahorainclusao": "string",
      "datahoraultimaalteracao": "string",
      "datahoraultimainteracao": "string",
      "datahorarepique": "string",
      "datahora1Resposta": "string",
      "dataprevisaofechamento": "string",
      "datafechamento": "string",
      "mql": "string",
      "corretor": "string",
      "lead": {
        "nome": "string",
        "email": "string",
        "telefone1": "string",
        "telefone2": "string",
        "sexo": "string",
        "datanascimento": "string",
        "profissao": "string"
      },
      "perfil": {
        "tiposimoveis": [
          {
            "nome": "string"
          }
        ],
        "cidades": [
          {
            "nome": "string"
          }
        ],
        "bairros": [
          {
            "nome": "string"
          }
        ],
        "regioes": [
          {
            "nome": "string"
          }
        ],
        "tipolancamento": "string",
        "edificio": "string",
        "endereco": "string",
        "endereconumero": "string",
        "enderecotipocomplemento": "string",
        "enderecocomplemento": "string",
        "destinacao": "Residencial",
        "avulsolancamento": "string",
        "statusobra": "string",
        "inicioobra": "string",
        "terminoobra": "string"
      },
      "interacoes": [
        {
          "datahora": "string",
          "descricao": "string",
          "usuario": "string"
        }
      ],
      "imoveiscarrinho": [
        {
          "titulo": "string",
          "finalidade": "string",
          "situacao": "string",
          "tipo": "string",
          "valor": "string",
          "areaprincipal": "string",
          "valorcondominio": "string",
          "valoriptu": "string",
          "bairro": "string",
          "cidade": "string",
          "estado": "string",
          "endereco": "string",
          "numero": "string",
          "complemento": "string",
          "bloco": "string",
          "edificio": "string",
          "numeroquartos": "string",
          "numerobanhos": "string",
          "numerovagas": "string",
          "numerosuites": "string",
          "urlfotoprincipal": "string"
        }
      ],
      "imoveisvisita": [
        {
          "datavisita": "string",
          "tipovisita": "string",
          "situacaovisita": "string",
          "parecer": "string",
          "parecermotivo": "string",
          "parecermotivocomplemento": "string",
          "titulo": "string",
          "finalidade": "string",
          "situacao": "string",
          "tipo": "string",
          "valor": "string",
          "areaprincipal": "string",
          "valorcondominio": "string",
          "valoriptu": "string",
          "bairro": "string",
          "cidade": "string",
          "estado": "string",
          "endereco": "string",
          "numero": "string",
          "complemento": "string",
          "bloco": "string",
          "edificio": "string",
          "numeroquartos": "string",
          "numerobanhos": "string",
          "numerovagas": "string",
          "numerosuites": "string",
          "urlfotoprincipal": "string"
        }
      ],
      "imoveisproposta": [
        {
          "negociacoes": [
            {
              "situacaonegociacao": "string",
              "datanegociacao": "string"
            }
          ],
          "titulo": "string",
          "finalidade": "string",
          "situacao": "string",
          "tipo": "string",
          "valor": "string",
          "areaprincipal": "string",
          "valorcondominio": "string",
          "valoriptu": "string",
          "bairro": "string",
          "cidade": "string",
          "estado": "string",
          "endereco": "string",
          "numero": "string",
          "complemento": "string",
          "bloco": "string",
          "edificio": "string",
          "numeroquartos": "string",
          "numerobanhos": "string",
          "numerovagas": "string",
          "numerosuites": "string",
          "urlfotoprincipal": "string"
        }
      ],
      "imoveisnegocio": [
        {
          "situacaonegocio": "string",
          "datanegocio": "string",
          "titulo": "string",
          "finalidade": "string",
          "situacao": "string",
          "tipo": "string",
          "valor": "string",
          "areaprincipal": "string",
          "valorcondominio": "string",
          "valoriptu": "string",
          "bairro": "string",
          "cidade": "string",
          "estado": "string",
          "endereco": "string",
          "numero": "string",
          "complemento": "string",
          "bloco": "string",
          "edificio": "string",
          "numeroquartos": "string",
          "numerobanhos": "string",
          "numerovagas": "string",
          "numerosuites": "string",
          "urlfotoprincipal": "string"
        }
      ]
    }
  ]
}

Changes

    • breaking

      for the query request parameter codigoCliente, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoCorretor, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoMidia, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoMql, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoTipo, the format changed from Int64 to int64

    • breaking

      for the query request parameter codigoUnidade, the format changed from Int64 to int64

    • breaking

      for the query request parameter fase, the format changed from Int64 to int64

    • breaking

      for the query request parameter finalidade, the format changed from Int64 to int64

    • breaking

      for the query request parameter numeroPagina, the format changed from Int64 to int64

    • breaking

      for the query request parameter numeroRegistros, the format changed from Int64 to int64

    • breaking

      for the query request parameter opcaoAtendimento, the format changed from Int64 to int64

    • breaking

      for the query request parameter situacao, the format changed from Int64 to int64

    • breaking

      the response's property format changed from string to no format for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status