PostagemVipp


Click here for a complete list of operations.

PostarObjeto

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 /PostagemVipp.asmx HTTP/1.1
Host: vpsrv.visualset.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.visualset.inf.br/PostarObjeto"

<?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>
    <PostarObjeto xmlns="http://www.visualset.inf.br/">
      <PostagemVipp>
        <PerfilVipp>
          <Usuario>string</Usuario>
          <Token>string</Token>
          <IdPerfil>string</IdPerfil>
        </PerfilVipp>
        <ContratoEct>
          <NrContrato>string</NrContrato>
          <CodigoAdministrativo>string</CodigoAdministrativo>
          <NrCartao>string</NrCartao>
        </ContratoEct>
        <Destinatario>
          <CnpjCpf>string</CnpjCpf>
          <IeRg>string</IeRg>
          <Nome>string</Nome>
          <SegundaLinhaDestinatario>string</SegundaLinhaDestinatario>
          <Endereco>string</Endereco>
          <EntregaNoVizinho>string</EntregaNoVizinho>
          <Numero>string</Numero>
          <Complemento>string</Complemento>
          <Bairro>string</Bairro>
          <Cidade>string</Cidade>
          <UF>string</UF>
          <Cep>string</Cep>
          <Telefone>string</Telefone>
          <Celular>string</Celular>
          <Email>string</Email>
        </Destinatario>
        <Servico>
          <ServicoECT>string</ServicoECT>
        </Servico>
        <NotasFiscais>
          <NotaFiscal>
            <ProtocoloNotaFiscal>string</ProtocoloNotaFiscal>
            <DtNotaFiscal>string</DtNotaFiscal>
            <SerieNotaFiscal>string</SerieNotaFiscal>
            <NrNotaFiscal>string</NrNotaFiscal>
            <VlrTotalNota>string</VlrTotalNota>
            <ObservacaoNotaFiscal>string</ObservacaoNotaFiscal>
          </NotaFiscal>
          <NotaFiscal>
            <ProtocoloNotaFiscal>string</ProtocoloNotaFiscal>
            <DtNotaFiscal>string</DtNotaFiscal>
            <SerieNotaFiscal>string</SerieNotaFiscal>
            <NrNotaFiscal>string</NrNotaFiscal>
            <VlrTotalNota>string</VlrTotalNota>
            <ObservacaoNotaFiscal>string</ObservacaoNotaFiscal>
          </NotaFiscal>
        </NotasFiscais>
        <Volumes>
          <VolumeObjeto>
            <Peso>string</Peso>
            <Altura>string</Altura>
            <Largura>string</Largura>
            <Comprimento>string</Comprimento>
            <ContaLote>string</ContaLote>
            <ChaveRoteamento>string</ChaveRoteamento>
            <CodigoBarraVolume>string</CodigoBarraVolume>
            <CodigoBarraCliente>string</CodigoBarraCliente>
            <ObservacaoVisual>string</ObservacaoVisual>
            <ObservacaoQuatro>string</ObservacaoQuatro>
            <ObservacaoCinco>string</ObservacaoCinco>
            <PosicaoVolume>string</PosicaoVolume>
            <Conteudo>string</Conteudo>
            <DeclaracaoConteudo xsi:nil="true" />
            <ValorDeclarado>string</ValorDeclarado>
            <AdicionaisVolume>string</AdicionaisVolume>
            <VlrACobrar>string</VlrACobrar>
            <Etiqueta>string</Etiqueta>
          </VolumeObjeto>
          <VolumeObjeto>
            <Peso>string</Peso>
            <Altura>string</Altura>
            <Largura>string</Largura>
            <Comprimento>string</Comprimento>
            <ContaLote>string</ContaLote>
            <ChaveRoteamento>string</ChaveRoteamento>
            <CodigoBarraVolume>string</CodigoBarraVolume>
            <CodigoBarraCliente>string</CodigoBarraCliente>
            <ObservacaoVisual>string</ObservacaoVisual>
            <ObservacaoQuatro>string</ObservacaoQuatro>
            <ObservacaoCinco>string</ObservacaoCinco>
            <PosicaoVolume>string</PosicaoVolume>
            <Conteudo>string</Conteudo>
            <DeclaracaoConteudo xsi:nil="true" />
            <ValorDeclarado>string</ValorDeclarado>
            <AdicionaisVolume>string</AdicionaisVolume>
            <VlrACobrar>string</VlrACobrar>
            <Etiqueta>string</Etiqueta>
          </VolumeObjeto>
        </Volumes>
      </PostagemVipp>
    </PostarObjeto>
  </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>
    <PostarObjetoResponse xmlns="http://www.visualset.inf.br/">
      <PostarObjetoResult>xml</PostarObjetoResult>
    </PostarObjetoResponse>
  </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 /PostagemVipp.asmx HTTP/1.1
Host: vpsrv.visualset.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>
    <PostarObjeto xmlns="http://www.visualset.inf.br/">
      <PostagemVipp>
        <PerfilVipp>
          <Usuario>string</Usuario>
          <Token>string</Token>
          <IdPerfil>string</IdPerfil>
        </PerfilVipp>
        <ContratoEct>
          <NrContrato>string</NrContrato>
          <CodigoAdministrativo>string</CodigoAdministrativo>
          <NrCartao>string</NrCartao>
        </ContratoEct>
        <Destinatario>
          <CnpjCpf>string</CnpjCpf>
          <IeRg>string</IeRg>
          <Nome>string</Nome>
          <SegundaLinhaDestinatario>string</SegundaLinhaDestinatario>
          <Endereco>string</Endereco>
          <EntregaNoVizinho>string</EntregaNoVizinho>
          <Numero>string</Numero>
          <Complemento>string</Complemento>
          <Bairro>string</Bairro>
          <Cidade>string</Cidade>
          <UF>string</UF>
          <Cep>string</Cep>
          <Telefone>string</Telefone>
          <Celular>string</Celular>
          <Email>string</Email>
        </Destinatario>
        <Servico>
          <ServicoECT>string</ServicoECT>
        </Servico>
        <NotasFiscais>
          <NotaFiscal>
            <ProtocoloNotaFiscal>string</ProtocoloNotaFiscal>
            <DtNotaFiscal>string</DtNotaFiscal>
            <SerieNotaFiscal>string</SerieNotaFiscal>
            <NrNotaFiscal>string</NrNotaFiscal>
            <VlrTotalNota>string</VlrTotalNota>
            <ObservacaoNotaFiscal>string</ObservacaoNotaFiscal>
          </NotaFiscal>
          <NotaFiscal>
            <ProtocoloNotaFiscal>string</ProtocoloNotaFiscal>
            <DtNotaFiscal>string</DtNotaFiscal>
            <SerieNotaFiscal>string</SerieNotaFiscal>
            <NrNotaFiscal>string</NrNotaFiscal>
            <VlrTotalNota>string</VlrTotalNota>
            <ObservacaoNotaFiscal>string</ObservacaoNotaFiscal>
          </NotaFiscal>
        </NotasFiscais>
        <Volumes>
          <VolumeObjeto>
            <Peso>string</Peso>
            <Altura>string</Altura>
            <Largura>string</Largura>
            <Comprimento>string</Comprimento>
            <ContaLote>string</ContaLote>
            <ChaveRoteamento>string</ChaveRoteamento>
            <CodigoBarraVolume>string</CodigoBarraVolume>
            <CodigoBarraCliente>string</CodigoBarraCliente>
            <ObservacaoVisual>string</ObservacaoVisual>
            <ObservacaoQuatro>string</ObservacaoQuatro>
            <ObservacaoCinco>string</ObservacaoCinco>
            <PosicaoVolume>string</PosicaoVolume>
            <Conteudo>string</Conteudo>
            <DeclaracaoConteudo xsi:nil="true" />
            <ValorDeclarado>string</ValorDeclarado>
            <AdicionaisVolume>string</AdicionaisVolume>
            <VlrACobrar>string</VlrACobrar>
            <Etiqueta>string</Etiqueta>
          </VolumeObjeto>
          <VolumeObjeto>
            <Peso>string</Peso>
            <Altura>string</Altura>
            <Largura>string</Largura>
            <Comprimento>string</Comprimento>
            <ContaLote>string</ContaLote>
            <ChaveRoteamento>string</ChaveRoteamento>
            <CodigoBarraVolume>string</CodigoBarraVolume>
            <CodigoBarraCliente>string</CodigoBarraCliente>
            <ObservacaoVisual>string</ObservacaoVisual>
            <ObservacaoQuatro>string</ObservacaoQuatro>
            <ObservacaoCinco>string</ObservacaoCinco>
            <PosicaoVolume>string</PosicaoVolume>
            <Conteudo>string</Conteudo>
            <DeclaracaoConteudo xsi:nil="true" />
            <ValorDeclarado>string</ValorDeclarado>
            <AdicionaisVolume>string</AdicionaisVolume>
            <VlrACobrar>string</VlrACobrar>
            <Etiqueta>string</Etiqueta>
          </VolumeObjeto>
        </Volumes>
      </PostagemVipp>
    </PostarObjeto>
  </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>
    <PostarObjetoResponse xmlns="http://www.visualset.inf.br/">
      <PostarObjetoResult>xml</PostarObjetoResult>
    </PostarObjetoResponse>
  </soap12:Body>
</soap12:Envelope>