API

<back to all web services

i2cJUCESP

Consulta Simples na Junta Comercial [Governo do Estado de Sao Paulo]

Parameters:
NameParameterData TypeRequiredDescription
NIREpathNumberNoNumero do NIRE
RazaoSocialpathTextNoRazao Social
NomeFantasiapathTextNoNome Fantasia

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: api.xdata.com.br 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<i2cJUCESP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
  <NIRE>String</NIRE>
  <NomeFantasia>String</NomeFantasia>
  <RazaoSocial>String</RazaoSocial>
</i2cJUCESP>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<i2cJUCESPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
  <Response>
    <Error>
      <ErrorCode>String</ErrorCode>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
      <Errors>
        <ResponseError>
          <ErrorCode>String</ErrorCode>
          <FieldName>String</FieldName>
          <Message>String</Message>
        </ResponseError>
      </Errors>
    </Error>
    <Input>
      <InputItem>
        <Key>String</Key>
        <Value>String</Value>
      </InputItem>
    </Input>
    <Output>
      <CNPJ>String</CNPJ>
      <CapitalSocial>String</CapitalSocial>
      <DataConstituicao>String</DataConstituicao>
      <DataEmissao>String</DataEmissao>
      <DataHora>String</DataHora>
      <Endereco>
        <Nome>String</Nome>
        <TipoLogradouro>String</TipoLogradouro>
        <Logradouro>String</Logradouro>
        <Numero>String</Numero>
        <Complemento>String</Complemento>
        <Bairro>String</Bairro>
        <Municipio>String</Municipio>
        <UF>String</UF>
        <CEP>String</CEP>
      </Endereco>
      <InicioAtividade>String</InicioAtividade>
      <InscricaoEstadual>String</InscricaoEstadual>
      <NIRE>String</NIRE>
      <Objetos>
        <Objeto>
          <Descricao>String</Descricao>
        </Objeto>
      </Objetos>
      <RazaoSocial>String</RazaoSocial>
      <TipoEmpresa>String</TipoEmpresa>
    </Output>
    <Status>
      <Protocol>00000000-0000-0000-0000-000000000000</Protocol>
      <DateTime>0001-01-01T00:00:00</DateTime>
      <Code>0</Code>
      <Message>String</Message>
      <Detail>String</Detail>
      <Mode>String</Mode>
      <Type>String</Type>
      <Source>String</Source>
      <HTML>String</HTML>
      <Cookie>String</Cookie>
      <URL>String</URL>
    </Status>
  </Response>
</i2cJUCESPResponse>

    </soap12:Body>
</soap12:Envelope>