Usuario

Retorna o tipo do cliente pelo CPF/CNPJ

Changed on

Retorno JSON do tipo do cliente (locador, locatário, proprietário, comprador e fiador) na área do cliente do imoview ADM

get/Usuario/RetornarTipo1

Request

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

Query parameters

cpfOuCnpjstring int32 required

Cpf ou Cnpj do cliente

Response

Retornado com sucesso

codigointeger
nomestring string
cpfoucnpjstring string
telefonesstring string
emailstring string
enderecostring string
locatarioboolean
compradorboolean
locadorboolean
vendedorboolean
fiadorboolean
parceiroboolean
quantidadeimoveislocadorinteger
quantidadeimoveisvendedorinteger
quantidadecontratoslocatariointeger
quantidadeboletosativoslocatariointeger
senhacadastradaboolean
emailcadastradoboolean
temvistoriaboolean
temesteiraboolean
naoexigircpfboolean
anosdisponiveisinteger[]
diasminimoavisodesocupacaointeger
temcashgoboolean
naoexibiravisodesocupacaoboolean
whatsappbotiniciarConversainteger
apphabililarticketsboolean

Example response

{
  "codigo": 10,
  "nome": "Gabriel",
  "cpfoucnpj": "123.456.789.00",
  "telefones": "(31) 9999-9999",
  "email": "gabriel.henrique@unsoft.com.br",
  "endereco": "Rua X",
  "locatario": true,
  "vendedor": true,
  "fiador": true,
  "parceiro": true,
  "quantidadeimoveislocador": 2,
  "quantidadeboletosativoslocatario": 2,
  "senhacadastrada": true,
  "emailcadastrado": true,
  "temvistoria": true,
  "temesteira": true,
  "naoexigircpf": true,
  "anosdisponiveis": [
    2021
  ],
  "temcashgo": true,
  "apphabililartickets": true
}

Changes

    • breaking

      the response's property format changed from Int64 to int64 for status

    • breaking

      the response's property format changed from Int64 to int64 for status

    • breaking

      the response's property format changed from Int64 to int64 for status

    • breaking

      the response's property format changed from Int64 to int64 for status

    • breaking

      the response's property format changed from Int64 to int64 for status

    • breaking

      the response's property format changed from Int64 to int64 for 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 non-success response with the status