WebServiceMCW1


Clique aqui para obter uma lista completa das operações.

RealizarPagamento

RealizarPagamento CarGlass

Testar

O formulário de teste está disponível somente para solicitações na máquina local.

SOAP 1.1

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /WebServiceMCW.asmx HTTP/1.1
Host: webservicemulticalculo.hmg8.admseg.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/RealizarPagamento"

<?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>
    <RealizarPagamento xmlns="http://tempuri.org/">
      <realizarPagamentoRequest>
        <ExtensionData />
        <CPF>string</CPF>
        <CodigoParceiroComercial>string</CodigoParceiroComercial>
        <CodigoSegurancaCartaoCliente>string</CodigoSegurancaCartaoCliente>
        <MetodoPagamento>string</MetodoPagamento>
        <NomeCartao>string</NomeCartao>
        <NumeroCartaoCliente>string</NumeroCartaoCliente>
        <NumeroDeParcelas>string</NumeroDeParcelas>
        <Token>string</Token>
        <ValidadeCartaoCliente>string</ValidadeCartaoCliente>
        <Voucher>string</Voucher>
      </realizarPagamentoRequest>
      <objParametros>
        <Sistema>string</Sistema>
        <Ambiente>string</Ambiente>
        <Cal_Id>string</Cal_Id>
        <Par_Id>string</Par_Id>
        <NomeSegurado>string</NomeSegurado>
        <FranquiaCategoria>string</FranquiaCategoria>
      </objParametros>
    </RealizarPagamento>
  </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>
    <RealizarPagamentoResponse xmlns="http://tempuri.org/">
      <RealizarPagamentoResult>
        <ExtensionData />
        <AutorizacaoPagamento>string</AutorizacaoPagamento>
        <ErrorCode>string</ErrorCode>
        <ErrorDescription>string</ErrorDescription>
        <TransactionId>string</TransactionId>
        <UrlBoleto>string</UrlBoleto>
      </RealizarPagamentoResult>
    </RealizarPagamentoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /WebServiceMCW.asmx HTTP/1.1
Host: webservicemulticalculo.hmg8.admseg.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>
    <RealizarPagamento xmlns="http://tempuri.org/">
      <realizarPagamentoRequest>
        <ExtensionData />
        <CPF>string</CPF>
        <CodigoParceiroComercial>string</CodigoParceiroComercial>
        <CodigoSegurancaCartaoCliente>string</CodigoSegurancaCartaoCliente>
        <MetodoPagamento>string</MetodoPagamento>
        <NomeCartao>string</NomeCartao>
        <NumeroCartaoCliente>string</NumeroCartaoCliente>
        <NumeroDeParcelas>string</NumeroDeParcelas>
        <Token>string</Token>
        <ValidadeCartaoCliente>string</ValidadeCartaoCliente>
        <Voucher>string</Voucher>
      </realizarPagamentoRequest>
      <objParametros>
        <Sistema>string</Sistema>
        <Ambiente>string</Ambiente>
        <Cal_Id>string</Cal_Id>
        <Par_Id>string</Par_Id>
        <NomeSegurado>string</NomeSegurado>
        <FranquiaCategoria>string</FranquiaCategoria>
      </objParametros>
    </RealizarPagamento>
  </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>
    <RealizarPagamentoResponse xmlns="http://tempuri.org/">
      <RealizarPagamentoResult>
        <ExtensionData />
        <AutorizacaoPagamento>string</AutorizacaoPagamento>
        <ErrorCode>string</ErrorCode>
        <ErrorDescription>string</ErrorDescription>
        <TransactionId>string</TransactionId>
        <UrlBoleto>string</UrlBoleto>
      </RealizarPagamentoResult>
    </RealizarPagamentoResponse>
  </soap12:Body>
</soap12:Envelope>