GET API/CadastrarUsuario/VerificarSeExisteCpfCnpj?cpfCnpj={cpfCnpj}

Verificar se existe o cpf ou cnpj cadastrado na nossa base. Enviar parametro sem formatação (CNPJ alfanumérico aceito).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cpfCnpj

string

Required

Body Parameters

None.

Response Information

Resource Description

WilsonSons.Terminais.WSNegocio.Negocio.Core.UsuarioCadastrar+ResultEmpresa
NameDescriptionTypeAdditional information
MensagemErro

string

None.

Sucesso

boolean

None.

Empresa

WilsonSons.Terminais.WSNegocio.Modelo.VwParceirosScol

None.

Response Formats

application/json, text/json

Sample:
{
  "MensagemErro": "sample string 1",
  "Sucesso": true,
  "Empresa": {
    "IdParceiro": 1.0,
    "IdEstab": 2.0,
    "Razao": "sample string 3",
    "Fantasia": "sample string 4",
    "Cgc": "sample string 5",
    "Tipo": "sample string 6",
    "Cnpjs": "sample string 7",
    "CnpjFormatado": "sample string 8",
    "Radical": "sample string 9",
    "Uf": "sample string 10",
    "Cep": "sample string 11",
    "Cidade": "sample string 12",
    "PsCdPais": "sample string 13",
    "Endereco": "sample string 14",
    "Telefone": "sample string 15",
    "DescPais": "sample string 16",
    "DescEstado": "sample string 17"
  }
}

application/xml, text/xml

Sample:
<UsuarioCadastrar.ResultEmpresa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Negocio.Core">
  <Empresa xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
    <IdParceiro xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</IdParceiro>
    <IdEstab xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">2</IdEstab>
    <Razao xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 3</Razao>
    <Fantasia xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</Fantasia>
    <Cgc xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 5</Cgc>
    <Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 6</Tipo>
    <Cnpjs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 7</Cnpjs>
    <CnpjFormatado xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 8</CnpjFormatado>
    <Radical xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Radical>
    <Uf xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Uf>
    <Cep xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Cep>
    <Cidade xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 12</Cidade>
    <PsCdPais xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</PsCdPais>
    <Endereco xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 14</Endereco>
    <Telefone xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 15</Telefone>
    <DescPais xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</DescPais>
    <DescEstado xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 17</DescEstado>
  </Empresa>
  <MensagemErro>sample string 1</MensagemErro>
  <Sucesso>true</Sucesso>
</UsuarioCadastrar.ResultEmpresa>