sivirafullWebService


Click here for a complete list of operations.

ImportarPedido

Método que importa o pedido para ser roteirizado

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/ImportarPedido"

<?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>
    <ImportarPedido xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <Login>string</Login>
      <Senha>string</Senha>
      <Pedido>
        <Numero>string</Numero>
        <OrdemCarregamento>string</OrdemCarregamento>
        <SequenciaProgramada>int</SequenciaProgramada>
        <IdOperadorLogistico>int</IdOperadorLogistico>
        <IdEmbarcador>int</IdEmbarcador>
        <IdRemetente>int</IdRemetente>
        <IdUnidade>int</IdUnidade>
        <EstimativaEntrega>dateTime</EstimativaEntrega>
        <CnpjRemetente>string</CnpjRemetente>
        <DataPedido>dateTime</DataPedido>
        <CnpjUnidade>string</CnpjUnidade>
        <CnpjCliente>string</CnpjCliente>
        <NomeCliente>string</NomeCliente>
        <EnderecoCliente>string</EnderecoCliente>
        <CepCliente>string</CepCliente>
        <BairroCliente>string</BairroCliente>
        <CidadeCliente>string</CidadeCliente>
        <EstadoCliente>string</EstadoCliente>
        <LatitudeCliente>double</LatitudeCliente>
        <LongitudeCliente>double</LongitudeCliente>
        <ValorPedido>double</ValorPedido>
        <PesoLiquido>double</PesoLiquido>
        <PesoBruto>double</PesoBruto>
        <Cubagem>double</Cubagem>
        <QtdeVolumes>int</QtdeVolumes>
        <QtdeCaixas>int</QtdeCaixas>
        <Observacoes>string</Observacoes>
        <Itens>
          <ItemPedido>
            <Codigo>string</Codigo>
            <Descricao>string</Descricao>
            <Unidade>string</Unidade>
            <Quantidade>double</Quantidade>
            <Cubagem>double</Cubagem>
            <PesoLiquido>double</PesoLiquido>
            <PesoBruto>double</PesoBruto>
            <ValorUnitario>double</ValorUnitario>
          </ItemPedido>
          <ItemPedido>
            <Codigo>string</Codigo>
            <Descricao>string</Descricao>
            <Unidade>string</Unidade>
            <Quantidade>double</Quantidade>
            <Cubagem>double</Cubagem>
            <PesoLiquido>double</PesoLiquido>
            <PesoBruto>double</PesoBruto>
            <ValorUnitario>double</ValorUnitario>
          </ItemPedido>
        </Itens>
        <Reentrega>boolean</Reentrega>
        <DataAgendamento>dateTime</DataAgendamento>
        <EmailVendedor>string</EmailVendedor>
        <TipoPedidoId>int</TipoPedidoId>
        <TipoCargaId>int</TipoCargaId>
        <DivisaoNegocioId>int</DivisaoNegocioId>
        <TipoCarga>string</TipoCarga>
        <TipoPedido>string</TipoPedido>
        <DivisaoNegocio>string</DivisaoNegocio>
      </Pedido>
    </ImportarPedido>
  </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>
    <ImportarPedidoResponse xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <ImportarPedidoResult>
        <Id>int</Id>
        <Mensagem>string</Mensagem>
        <Identificador>string</Identificador>
      </ImportarPedidoResult>
    </ImportarPedidoResponse>
  </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>
    <ImportarPedido xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <Login>string</Login>
      <Senha>string</Senha>
      <Pedido>
        <Numero>string</Numero>
        <OrdemCarregamento>string</OrdemCarregamento>
        <SequenciaProgramada>int</SequenciaProgramada>
        <IdOperadorLogistico>int</IdOperadorLogistico>
        <IdEmbarcador>int</IdEmbarcador>
        <IdRemetente>int</IdRemetente>
        <IdUnidade>int</IdUnidade>
        <EstimativaEntrega>dateTime</EstimativaEntrega>
        <CnpjRemetente>string</CnpjRemetente>
        <DataPedido>dateTime</DataPedido>
        <CnpjUnidade>string</CnpjUnidade>
        <CnpjCliente>string</CnpjCliente>
        <NomeCliente>string</NomeCliente>
        <EnderecoCliente>string</EnderecoCliente>
        <CepCliente>string</CepCliente>
        <BairroCliente>string</BairroCliente>
        <CidadeCliente>string</CidadeCliente>
        <EstadoCliente>string</EstadoCliente>
        <LatitudeCliente>double</LatitudeCliente>
        <LongitudeCliente>double</LongitudeCliente>
        <ValorPedido>double</ValorPedido>
        <PesoLiquido>double</PesoLiquido>
        <PesoBruto>double</PesoBruto>
        <Cubagem>double</Cubagem>
        <QtdeVolumes>int</QtdeVolumes>
        <QtdeCaixas>int</QtdeCaixas>
        <Observacoes>string</Observacoes>
        <Itens>
          <ItemPedido>
            <Codigo>string</Codigo>
            <Descricao>string</Descricao>
            <Unidade>string</Unidade>
            <Quantidade>double</Quantidade>
            <Cubagem>double</Cubagem>
            <PesoLiquido>double</PesoLiquido>
            <PesoBruto>double</PesoBruto>
            <ValorUnitario>double</ValorUnitario>
          </ItemPedido>
          <ItemPedido>
            <Codigo>string</Codigo>
            <Descricao>string</Descricao>
            <Unidade>string</Unidade>
            <Quantidade>double</Quantidade>
            <Cubagem>double</Cubagem>
            <PesoLiquido>double</PesoLiquido>
            <PesoBruto>double</PesoBruto>
            <ValorUnitario>double</ValorUnitario>
          </ItemPedido>
        </Itens>
        <Reentrega>boolean</Reentrega>
        <DataAgendamento>dateTime</DataAgendamento>
        <EmailVendedor>string</EmailVendedor>
        <TipoPedidoId>int</TipoPedidoId>
        <TipoCargaId>int</TipoCargaId>
        <DivisaoNegocioId>int</DivisaoNegocioId>
        <TipoCarga>string</TipoCarga>
        <TipoPedido>string</TipoPedido>
        <DivisaoNegocio>string</DivisaoNegocio>
      </Pedido>
    </ImportarPedido>
  </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>
    <ImportarPedidoResponse xmlns="http://app.ravex.com.br/sivirafull_homo/Service.asmx">
      <ImportarPedidoResult>
        <Id>int</Id>
        <Mensagem>string</Mensagem>
        <Identificador>string</Identificador>
      </ImportarPedidoResult>
    </ImportarPedidoResponse>
  </soap12:Body>
</soap12:Envelope>