GET API/CadastrarUsuario/VerificarSeExisteCpfCnpj?cpfCnpj={cpfCnpj}
Verificar se existe o cpf ou cnpj cadastrado na nossa base. Enviar parametro apenas com numeros.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cpfCnpj | string |
Required |
Body Parameters
None.
Response Information
Resource Description
WilsonSons.Terminais.WSNegocio.Negocio.Core.UsuarioCadastrar+ResultEmpresa| Name | Description | Type | Additional 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": 1.0,
"Uf": "sample string 9",
"Cep": "sample string 10",
"Cidade": "sample string 11",
"PsCdPais": "sample string 12",
"Endereco": "sample string 13",
"Telefone": "sample string 14",
"DescPais": "sample string 15",
"DescEstado": "sample string 16"
}
}
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:decimal" xmlns="">1</Radical>
<Uf xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Uf>
<Cep xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Cep>
<Cidade xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Cidade>
<PsCdPais xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 12</PsCdPais>
<Endereco xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</Endereco>
<Telefone xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 14</Telefone>
<DescPais xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 15</DescPais>
<DescEstado xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</DescEstado>
</Empresa>
<MensagemErro>sample string 1</MensagemErro>
<Sucesso>true</Sucesso>
</UsuarioCadastrar.ResultEmpresa>