WebServiceMCW1
Clique aqui para obter uma lista completa das operações.
GravaDocumento
Grava Documento
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/GravaDocumento"
<?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>
<GravaDocumento xmlns="http://tempuri.org/">
<dadosDocumento>
<documento>
<file_bytes>base64Binary</file_bytes>
<nome_segurado>string</nome_segurado>
<par_id>guid</par_id>
<doc_id>guid</doc_id>
<direcao_arquivo>ENTRADA or RETORNO</direcao_arquivo>
<tipo_franquia>NORMAL or REDUZIDA or RCF or ROUBOFURTO or MAJORADA or DIFERENCIADA or COMDESCONTO or ECONOMICA or INTERMEDIARIA or PREMIUM or ECONOMICASMRR or INTERMEDIARIASMRR or PREMIUMSMRR or IRF or RSP or NORMALROUBOFURTO or REDUZIDAROUBOFURTO or APA</tipo_franquia>
<tipo_arquivo>CALCULO or EMISSAO or LEAD or FALHA or PACOTE or CRIVO or IMPRESSAO or TRANSFERENCIA or CONSULTA or OUTROS or COTACAO or PROPOSTA or ORCAMENTO or BOLETO or PEDIDO or PAGAMENTO or PLANOS or PRODUTO</tipo_arquivo>
<extensao_arquivo>xml or json or txt or pdf</extensao_arquivo>
<nome_seguradora>INDIANA or YELUM or ALIRO or TOKIO or BRADESCO or ALLIANZ or PORTOSEGURO or AZUL or SULAMERICA or SOMPO or MAPFRE or HDI or SUHAI or MITSUI or ZURICH or ALFA or OUTRAS or ITAU or ITURAN or CARGLASS</nome_seguradora>
<nome_acao>string</nome_acao>
<nome_outra_seguradora>string</nome_outra_seguradora>
</documento>
</dadosDocumento>
<Sistema>string</Sistema>
</GravaDocumento>
</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>
<GravaDocumentoResponse xmlns="http://tempuri.org/">
<GravaDocumentoResult>boolean</GravaDocumentoResult>
</GravaDocumentoResponse>
</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>
<GravaDocumento xmlns="http://tempuri.org/">
<dadosDocumento>
<documento>
<file_bytes>base64Binary</file_bytes>
<nome_segurado>string</nome_segurado>
<par_id>guid</par_id>
<doc_id>guid</doc_id>
<direcao_arquivo>ENTRADA or RETORNO</direcao_arquivo>
<tipo_franquia>NORMAL or REDUZIDA or RCF or ROUBOFURTO or MAJORADA or DIFERENCIADA or COMDESCONTO or ECONOMICA or INTERMEDIARIA or PREMIUM or ECONOMICASMRR or INTERMEDIARIASMRR or PREMIUMSMRR or IRF or RSP or NORMALROUBOFURTO or REDUZIDAROUBOFURTO or APA</tipo_franquia>
<tipo_arquivo>CALCULO or EMISSAO or LEAD or FALHA or PACOTE or CRIVO or IMPRESSAO or TRANSFERENCIA or CONSULTA or OUTROS or COTACAO or PROPOSTA or ORCAMENTO or BOLETO or PEDIDO or PAGAMENTO or PLANOS or PRODUTO</tipo_arquivo>
<extensao_arquivo>xml or json or txt or pdf</extensao_arquivo>
<nome_seguradora>INDIANA or YELUM or ALIRO or TOKIO or BRADESCO or ALLIANZ or PORTOSEGURO or AZUL or SULAMERICA or SOMPO or MAPFRE or HDI or SUHAI or MITSUI or ZURICH or ALFA or OUTRAS or ITAU or ITURAN or CARGLASS</nome_seguradora>
<nome_acao>string</nome_acao>
<nome_outra_seguradora>string</nome_outra_seguradora>
</documento>
</dadosDocumento>
<Sistema>string</Sistema>
</GravaDocumento>
</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>
<GravaDocumentoResponse xmlns="http://tempuri.org/">
<GravaDocumentoResult>boolean</GravaDocumentoResult>
</GravaDocumentoResponse>
</soap12:Body>
</soap12:Envelope>