sivirafullWebService


Click here for a complete list of operations.

ImportarTransportadora

Método que importa o cadastro de Transportadora

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 /sivirafull_homo/service.asmx HTTP/1.1
Host: app.ravex.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://app.ravex.com.br/sivirafull_homo/Service.asmx/ImportarTransportadora"

<?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>
    <ImportarTransportadora xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <Login>string</Login>
      <Senha>string</Senha>
      <Transportadora>
        <Nome>string</Nome>
        <NomeFantasia>string</NomeFantasia>
        <CNPJ>string</CNPJ>
        <Endereco>string</Endereco>
        <Complemento>string</Complemento>
        <CEP>string</CEP>
        <Cidade>string</Cidade>
        <Estado>string</Estado>
        <Fone>string</Fone>
        <Fax>string</Fax>
        <Celular>string</Celular>
        <Fone2>string</Fone2>
        <Email>string</Email>
        <Skype>string</Skype>
        <Email2>string</Email2>
        <EmailsPanico>string</EmailsPanico>
        <Observacoes>string</Observacoes>
        <Website>string</Website>
        <Unidade>boolean</Unidade>
        <Cooperativa>boolean</Cooperativa>
      </Transportadora>
    </ImportarTransportadora>
  </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>
    <ImportarTransportadoraResponse xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <ImportarTransportadoraResult>
        <Id>int</Id>
        <Mensagem>string</Mensagem>
        <Identificador>string</Identificador>
      </ImportarTransportadoraResult>
    </ImportarTransportadoraResponse>
  </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 /sivirafull_homo/service.asmx HTTP/1.1
Host: app.ravex.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>
    <ImportarTransportadora xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <Login>string</Login>
      <Senha>string</Senha>
      <Transportadora>
        <Nome>string</Nome>
        <NomeFantasia>string</NomeFantasia>
        <CNPJ>string</CNPJ>
        <Endereco>string</Endereco>
        <Complemento>string</Complemento>
        <CEP>string</CEP>
        <Cidade>string</Cidade>
        <Estado>string</Estado>
        <Fone>string</Fone>
        <Fax>string</Fax>
        <Celular>string</Celular>
        <Fone2>string</Fone2>
        <Email>string</Email>
        <Skype>string</Skype>
        <Email2>string</Email2>
        <EmailsPanico>string</EmailsPanico>
        <Observacoes>string</Observacoes>
        <Website>string</Website>
        <Unidade>boolean</Unidade>
        <Cooperativa>boolean</Cooperativa>
      </Transportadora>
    </ImportarTransportadora>
  </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>
    <ImportarTransportadoraResponse xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <ImportarTransportadoraResult>
        <Id>int</Id>
        <Mensagem>string</Mensagem>
        <Identificador>string</Identificador>
      </ImportarTransportadoraResult>
    </ImportarTransportadoraResponse>
  </soap12:Body>
</soap12:Envelope>