WebServiceMCW1
Clique aqui para obter uma lista completa das operações.
GerarCotacao
GerarCotacao 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/GerarCotacao"
<?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>
<GerarCotacao xmlns="http://tempuri.org/">
<gerarCotacaoRequest>
<ExtensionData />
<Chassi>string</Chassi>
<Cliente>
<ExtensionData />
<Ativo>boolean</Ativo>
<Celular>string</Celular>
<DataAlteracao>dateTime</DataAlteracao>
<DataCadastro>dateTime</DataCadastro>
<DataInclusao>dateTime</DataInclusao>
<Email>string</Email>
<IdCliente>int</IdCliente>
<IdStatusParticipante>int</IdStatusParticipante>
<IdUsuario>int</IdUsuario>
<Nome>string</Nome>
<NomeEmpresa>string</NomeEmpresa>
<Sobrenome>string</Sobrenome>
</Cliente>
<ClienteComplemento>
<ExtensionData />
<Ativo>boolean</Ativo>
<Bairro>string</Bairro>
<Cidade>string</Cidade>
<Cnpj>string</Cnpj>
<Complemento>string</Complemento>
<Cpf>string</Cpf>
<DataAlteracao>dateTime</DataAlteracao>
<DataInclusao>dateTime</DataInclusao>
<DataNascimento>dateTime</DataNascimento>
<IdCep>int</IdCep>
<IdCliente>int</IdCliente>
<IdClienteComplemento>int</IdClienteComplemento>
<Numero>string</Numero>
<Rg>string</Rg>
<Rua>string</Rua>
<Sexo>string</Sexo>
<TelefoneResidencial>string</TelefoneResidencial>
<UfRg>string</UfRg>
</ClienteComplemento>
<CnpjCorretor>string</CnpjCorretor>
<CodCorretor>string</CodCorretor>
<IdCompanhia>int</IdCompanhia>
<IdFipe>string</IdFipe>
<IdFipeAno>int</IdFipeAno>
<IdPlano>string</IdPlano>
<Placa>string</Placa>
</gerarCotacaoRequest>
<objParametros>
<Sistema>string</Sistema>
<Ambiente>string</Ambiente>
<Cal_Id>string</Cal_Id>
<Par_Id>string</Par_Id>
<NomeSegurado>string</NomeSegurado>
<FranquiaCategoria>string</FranquiaCategoria>
</objParametros>
</GerarCotacao>
</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>
<GerarCotacaoResponse xmlns="http://tempuri.org/">
<GerarCotacaoResult>
<ExtensionData />
<ErrorCode>string</ErrorCode>
<ErrorDescription>string</ErrorDescription>
<IdCotacao>int</IdCotacao>
<PlanoCotacao>string</PlanoCotacao>
<ValorCotacao>decimal</ValorCotacao>
</GerarCotacaoResult>
</GerarCotacaoResponse>
</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>
<GerarCotacao xmlns="http://tempuri.org/">
<gerarCotacaoRequest>
<ExtensionData />
<Chassi>string</Chassi>
<Cliente>
<ExtensionData />
<Ativo>boolean</Ativo>
<Celular>string</Celular>
<DataAlteracao>dateTime</DataAlteracao>
<DataCadastro>dateTime</DataCadastro>
<DataInclusao>dateTime</DataInclusao>
<Email>string</Email>
<IdCliente>int</IdCliente>
<IdStatusParticipante>int</IdStatusParticipante>
<IdUsuario>int</IdUsuario>
<Nome>string</Nome>
<NomeEmpresa>string</NomeEmpresa>
<Sobrenome>string</Sobrenome>
</Cliente>
<ClienteComplemento>
<ExtensionData />
<Ativo>boolean</Ativo>
<Bairro>string</Bairro>
<Cidade>string</Cidade>
<Cnpj>string</Cnpj>
<Complemento>string</Complemento>
<Cpf>string</Cpf>
<DataAlteracao>dateTime</DataAlteracao>
<DataInclusao>dateTime</DataInclusao>
<DataNascimento>dateTime</DataNascimento>
<IdCep>int</IdCep>
<IdCliente>int</IdCliente>
<IdClienteComplemento>int</IdClienteComplemento>
<Numero>string</Numero>
<Rg>string</Rg>
<Rua>string</Rua>
<Sexo>string</Sexo>
<TelefoneResidencial>string</TelefoneResidencial>
<UfRg>string</UfRg>
</ClienteComplemento>
<CnpjCorretor>string</CnpjCorretor>
<CodCorretor>string</CodCorretor>
<IdCompanhia>int</IdCompanhia>
<IdFipe>string</IdFipe>
<IdFipeAno>int</IdFipeAno>
<IdPlano>string</IdPlano>
<Placa>string</Placa>
</gerarCotacaoRequest>
<objParametros>
<Sistema>string</Sistema>
<Ambiente>string</Ambiente>
<Cal_Id>string</Cal_Id>
<Par_Id>string</Par_Id>
<NomeSegurado>string</NomeSegurado>
<FranquiaCategoria>string</FranquiaCategoria>
</objParametros>
</GerarCotacao>
</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>
<GerarCotacaoResponse xmlns="http://tempuri.org/">
<GerarCotacaoResult>
<ExtensionData />
<ErrorCode>string</ErrorCode>
<ErrorDescription>string</ErrorDescription>
<IdCotacao>int</IdCotacao>
<PlanoCotacao>string</PlanoCotacao>
<ValorCotacao>decimal</ValorCotacao>
</GerarCotacaoResult>
</GerarCotacaoResponse>
</soap12:Body>
</soap12:Envelope>