TerceirizacaoWebService


Click here for a complete list of operations.

SalvarCliente

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 /terceirizacao.asmx HTTP/1.1
Host: xpress.superpedido.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://teste.superpedido.com.br/SalvarCliente"

<?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>
    <SalvarCliente xmlns="http://teste.superpedido.com.br">
      <objCliente>
        <ID>int</ID>
        <EmpresaID>int</EmpresaID>
        <CODCFO>string</CODCFO>
        <RazaoSocial>string</RazaoSocial>
        <NomeFantasia>string</NomeFantasia>
        <CNPJ>string</CNPJ>
        <Ativo>boolean</Ativo>
        <Versao>string</Versao>
        <DataExpiracao>dateTime</DataExpiracao>
        <DataUltimoDownload>dateTime</DataUltimoDownload>
        <HostName>string</HostName>
        <IPAddress>string</IPAddress>
        <DataCadastro>dateTime</DataCadastro>
        <DataUltimaAlteracao>dateTime</DataUltimaAlteracao>
        <Observacao>string</Observacao>
        <EnviarEmail>boolean</EnviarEmail>
      </objCliente>
      <Chave>string</Chave>
    </SalvarCliente>
  </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>
    <SalvarClienteResponse xmlns="http://teste.superpedido.com.br">
      <SalvarClienteResult>boolean</SalvarClienteResult>
    </SalvarClienteResponse>
  </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 /terceirizacao.asmx HTTP/1.1
Host: xpress.superpedido.com.br
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>
    <SalvarCliente xmlns="http://teste.superpedido.com.br">
      <objCliente>
        <ID>int</ID>
        <EmpresaID>int</EmpresaID>
        <CODCFO>string</CODCFO>
        <RazaoSocial>string</RazaoSocial>
        <NomeFantasia>string</NomeFantasia>
        <CNPJ>string</CNPJ>
        <Ativo>boolean</Ativo>
        <Versao>string</Versao>
        <DataExpiracao>dateTime</DataExpiracao>
        <DataUltimoDownload>dateTime</DataUltimoDownload>
        <HostName>string</HostName>
        <IPAddress>string</IPAddress>
        <DataCadastro>dateTime</DataCadastro>
        <DataUltimaAlteracao>dateTime</DataUltimaAlteracao>
        <Observacao>string</Observacao>
        <EnviarEmail>boolean</EnviarEmail>
      </objCliente>
      <Chave>string</Chave>
    </SalvarCliente>
  </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>
    <SalvarClienteResponse xmlns="http://teste.superpedido.com.br">
      <SalvarClienteResult>boolean</SalvarClienteResult>
    </SalvarClienteResponse>
  </soap12:Body>
</soap12:Envelope>