ECommerce


Click here for a complete list of operations.

Company_Insert

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ECommerce.asmx HTTP/1.1
Host: webservices.synnex.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://webservices.synnex.com/Company_Insert"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Company_Insert xmlns="https://webservices.synnex.com/">
      <systemName>string</systemName>
      <logoPath>string</logoPath>
      <company>
        <UkeyStarsoft>string</UkeyStarsoft>
        <Id>long</Id>
        <NomeFantasia>string</NomeFantasia>
        <Vendedor>string</Vendedor>
        <ukeyVendedor>string</ukeyVendedor>
        <CNPJ>string</CNPJ>
        <RazaoSocial>string</RazaoSocial>
        <InscricaoEstadual>string</InscricaoEstadual>
        <Pais>string</Pais>
        <ukeyPais>string</ukeyPais>
        <Estado>string</Estado>
        <ukeyEstado>string</ukeyEstado>
        <Cidade>string</Cidade>
        <ukeyCidade>string</ukeyCidade>
        <Logradouro>string</Logradouro>
        <Numero>string</Numero>
        <Bairro>string</Bairro>
        <Complemento>string</Complemento>
        <CEP>string</CEP>
        <Website>string</Website>
        <SegmentoEmpresa>string</SegmentoEmpresa>
        <TipoEmpresa>string</TipoEmpresa>
        <SimplesNacional>string</SimplesNacional>
        <Contribuinte>int</Contribuinte>
        <SetorEmpresa>string</SetorEmpresa>
        <InscricaoMunicipal>string</InscricaoMunicipal>
        <InscricaoMunicipal_PDF>string</InscricaoMunicipal_PDF>
        <CodigoSuframa>string</CodigoSuframa>
        <Telefone>string</Telefone>
        <Email>string</Email>
        <EmailNfe>string</EmailNfe>
        <CodRegiao>int</CodRegiao>
        <CodERP>int</CodERP>
        <CustomerId>long</CustomerId>
        <Ramal>string</Ramal>
        <ContatoPrincipal_Nome>string</ContatoPrincipal_Nome>
        <Contatos>
          <Contact>
            <Id>int</Id>
            <NFeBluesky>boolean</NFeBluesky>
            <ReceiveFinancialInfo>boolean</ReceiveFinancialInfo>
            <ReceiveNFe>boolean</ReceiveNFe>
            <ReceiveNFeXML>boolean</ReceiveNFeXML>
            <Company xsi:nil="true" />
          </Contact>
          <Contact>
            <Id>int</Id>
            <NFeBluesky>boolean</NFeBluesky>
            <ReceiveFinancialInfo>boolean</ReceiveFinancialInfo>
            <ReceiveNFe>boolean</ReceiveNFe>
            <ReceiveNFeXML>boolean</ReceiveNFeXML>
            <Company xsi:nil="true" />
          </Contact>
        </Contatos>
        <IntranetType>Undefined or Outros or ProvedorDeServiços or Revenda or UsuarioFinal or Fabricantes</IntranetType>
        <RecebeComissao>boolean</RecebeComissao>
        <CodDivisao>int</CodDivisao>
        <Status>string</Status>
        <Situacao>int</Situacao>
        <TenantID>string</TenantID>
        <DataLimite>int</DataLimite>
        <SegmentoEmpresa_Texto>string</SegmentoEmpresa_Texto>
        <TipoEmpresa_Texto>string</TipoEmpresa_Texto>
        <SetorEmpresa_Texto>string</SetorEmpresa_Texto>
      </company>
      <responsibleReseller>string</responsibleReseller>
    </Company_Insert>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Company_InsertResponse xmlns="https://webservices.synnex.com/">
      <Company_InsertResult>
        <Sucesso>boolean</Sucesso>
        <Mensagem>string</Mensagem>
        <Excecao>
          <Excecao>
            <Mensagem>string</Mensagem>
            <Codigo>string</Codigo>
            <Resource>string</Resource>
            <Objeto />
          </Excecao>
          <Excecao>
            <Mensagem>string</Mensagem>
            <Codigo>string</Codigo>
            <Resource>string</Resource>
            <Objeto />
          </Excecao>
        </Excecao>
      </Company_InsertResult>
    </Company_InsertResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ECommerce.asmx HTTP/1.1
Host: webservices.synnex.com
Content-Type: application/soap+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>
    <Company_Insert xmlns="https://webservices.synnex.com/">
      <systemName>string</systemName>
      <logoPath>string</logoPath>
      <company>
        <UkeyStarsoft>string</UkeyStarsoft>
        <Id>long</Id>
        <NomeFantasia>string</NomeFantasia>
        <Vendedor>string</Vendedor>
        <ukeyVendedor>string</ukeyVendedor>
        <CNPJ>string</CNPJ>
        <RazaoSocial>string</RazaoSocial>
        <InscricaoEstadual>string</InscricaoEstadual>
        <Pais>string</Pais>
        <ukeyPais>string</ukeyPais>
        <Estado>string</Estado>
        <ukeyEstado>string</ukeyEstado>
        <Cidade>string</Cidade>
        <ukeyCidade>string</ukeyCidade>
        <Logradouro>string</Logradouro>
        <Numero>string</Numero>
        <Bairro>string</Bairro>
        <Complemento>string</Complemento>
        <CEP>string</CEP>
        <Website>string</Website>
        <SegmentoEmpresa>string</SegmentoEmpresa>
        <TipoEmpresa>string</TipoEmpresa>
        <SimplesNacional>string</SimplesNacional>
        <Contribuinte>int</Contribuinte>
        <SetorEmpresa>string</SetorEmpresa>
        <InscricaoMunicipal>string</InscricaoMunicipal>
        <InscricaoMunicipal_PDF>string</InscricaoMunicipal_PDF>
        <CodigoSuframa>string</CodigoSuframa>
        <Telefone>string</Telefone>
        <Email>string</Email>
        <EmailNfe>string</EmailNfe>
        <CodRegiao>int</CodRegiao>
        <CodERP>int</CodERP>
        <CustomerId>long</CustomerId>
        <Ramal>string</Ramal>
        <ContatoPrincipal_Nome>string</ContatoPrincipal_Nome>
        <Contatos>
          <Contact>
            <Id>int</Id>
            <NFeBluesky>boolean</NFeBluesky>
            <ReceiveFinancialInfo>boolean</ReceiveFinancialInfo>
            <ReceiveNFe>boolean</ReceiveNFe>
            <ReceiveNFeXML>boolean</ReceiveNFeXML>
            <Company xsi:nil="true" />
          </Contact>
          <Contact>
            <Id>int</Id>
            <NFeBluesky>boolean</NFeBluesky>
            <ReceiveFinancialInfo>boolean</ReceiveFinancialInfo>
            <ReceiveNFe>boolean</ReceiveNFe>
            <ReceiveNFeXML>boolean</ReceiveNFeXML>
            <Company xsi:nil="true" />
          </Contact>
        </Contatos>
        <IntranetType>Undefined or Outros or ProvedorDeServiços or Revenda or UsuarioFinal or Fabricantes</IntranetType>
        <RecebeComissao>boolean</RecebeComissao>
        <CodDivisao>int</CodDivisao>
        <Status>string</Status>
        <Situacao>int</Situacao>
        <TenantID>string</TenantID>
        <DataLimite>int</DataLimite>
        <SegmentoEmpresa_Texto>string</SegmentoEmpresa_Texto>
        <TipoEmpresa_Texto>string</TipoEmpresa_Texto>
        <SetorEmpresa_Texto>string</SetorEmpresa_Texto>
      </company>
      <responsibleReseller>string</responsibleReseller>
    </Company_Insert>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+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>
    <Company_InsertResponse xmlns="https://webservices.synnex.com/">
      <Company_InsertResult>
        <Sucesso>boolean</Sucesso>
        <Mensagem>string</Mensagem>
        <Excecao>
          <Excecao>
            <Mensagem>string</Mensagem>
            <Codigo>string</Codigo>
            <Resource>string</Resource>
            <Objeto />
          </Excecao>
          <Excecao>
            <Mensagem>string</Mensagem>
            <Codigo>string</Codigo>
            <Resource>string</Resource>
            <Objeto />
          </Excecao>
        </Excecao>
      </Company_InsertResult>
    </Company_InsertResponse>
  </soap12:Body>
</soap12:Envelope>