Requisicao_Contagem_Beneficiarios


Click here for a complete list of operations.

RequisicaoContagemBeneficiarios

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 /PTU_8/Requisicao_Contagem_Beneficiarios.asmx HTTP/1.1
Host: portal.unimedibitinga.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ptu.unimed.coop.br/schemas/V80_00/RequisicaoContagemBeneficiarios"

<?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>
    <requisicaoContagemBeneficiariosWS xmlns="http://ptu.unimed.coop.br/schemas/V80_00">
      <cabecalhoTransacao>
        <codigoTransacao>00600 or 00605 or 00501 or 00302 or 00309 or 00404 or 00311 or 00412 or 00413 or 00418 or 00419 or 00806 or 00807 or 00310 or 00430 or 00431 or 00360 or 00361 or 00804 or 00700 or 00750 or 01100 or 01101</codigoTransacao>
        <tipoCliente>UNIMED or PORTAL or PRESTADOR or WSD or SYNC</tipoCliente>
        <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
        <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
      </cabecalhoTransacao>
      <requisicaoContagemBeneficiarios>
        <dataReferencia>
          <anoReferencia>integer</anoReferencia>
          <mesReferencia>integer</mesReferencia>
        </dataReferencia>
        <numeroVersaoPTU>string</numeroVersaoPTU>
      </requisicaoContagemBeneficiarios>
      <hash>string</hash>
    </requisicaoContagemBeneficiariosWS>
  </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>
    <respostaRequisicaoContagemBeneficiariosWS xmlns="http://ptu.unimed.coop.br/schemas/V80_00">
      <cabecalhoTransacao>
        <codigoTransacao>00600 or 00605 or 00501 or 00302 or 00309 or 00404 or 00311 or 00412 or 00413 or 00418 or 00419 or 00806 or 00807 or 00310 or 00430 or 00431 or 00360 or 00361 or 00804 or 00700 or 00750 or 01100 or 01101</codigoTransacao>
        <tipoCliente>UNIMED or PORTAL or PRESTADOR or WSD or SYNC</tipoCliente>
        <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
        <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
      </cabecalhoTransacao>
      <respostaRequisicaoContagemBeneficiarios>
        <statusResposta>1 or 2 or 3</statusResposta>
        <numeroBeneficiariosAtivos>
          <custoOperacional>
            <pessoaFisica xsi:nil="true" />
            <pessoaJuridica xsi:nil="true" />
          </custoOperacional>
          <prePagamento>
            <pessoaFisica xsi:nil="true" />
            <pessoaJuridica xsi:nil="true" />
          </prePagamento>
        </numeroBeneficiariosAtivos>
        <numeroVersaoPTU>string</numeroVersaoPTU>
      </respostaRequisicaoContagemBeneficiarios>
      <hash>string</hash>
    </respostaRequisicaoContagemBeneficiariosWS>
  </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 /PTU_8/Requisicao_Contagem_Beneficiarios.asmx HTTP/1.1
Host: portal.unimedibitinga.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>
    <requisicaoContagemBeneficiariosWS xmlns="http://ptu.unimed.coop.br/schemas/V80_00">
      <cabecalhoTransacao>
        <codigoTransacao>00600 or 00605 or 00501 or 00302 or 00309 or 00404 or 00311 or 00412 or 00413 or 00418 or 00419 or 00806 or 00807 or 00310 or 00430 or 00431 or 00360 or 00361 or 00804 or 00700 or 00750 or 01100 or 01101</codigoTransacao>
        <tipoCliente>UNIMED or PORTAL or PRESTADOR or WSD or SYNC</tipoCliente>
        <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
        <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
      </cabecalhoTransacao>
      <requisicaoContagemBeneficiarios>
        <dataReferencia>
          <anoReferencia>integer</anoReferencia>
          <mesReferencia>integer</mesReferencia>
        </dataReferencia>
        <numeroVersaoPTU>string</numeroVersaoPTU>
      </requisicaoContagemBeneficiarios>
      <hash>string</hash>
    </requisicaoContagemBeneficiariosWS>
  </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>
    <respostaRequisicaoContagemBeneficiariosWS xmlns="http://ptu.unimed.coop.br/schemas/V80_00">
      <cabecalhoTransacao>
        <codigoTransacao>00600 or 00605 or 00501 or 00302 or 00309 or 00404 or 00311 or 00412 or 00413 or 00418 or 00419 or 00806 or 00807 or 00310 or 00430 or 00431 or 00360 or 00361 or 00804 or 00700 or 00750 or 01100 or 01101</codigoTransacao>
        <tipoCliente>UNIMED or PORTAL or PRESTADOR or WSD or SYNC</tipoCliente>
        <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
        <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
      </cabecalhoTransacao>
      <respostaRequisicaoContagemBeneficiarios>
        <statusResposta>1 or 2 or 3</statusResposta>
        <numeroBeneficiariosAtivos>
          <custoOperacional>
            <pessoaFisica xsi:nil="true" />
            <pessoaJuridica xsi:nil="true" />
          </custoOperacional>
          <prePagamento>
            <pessoaFisica xsi:nil="true" />
            <pessoaJuridica xsi:nil="true" />
          </prePagamento>
        </numeroBeneficiariosAtivos>
        <numeroVersaoPTU>string</numeroVersaoPTU>
      </respostaRequisicaoContagemBeneficiarios>
      <hash>string</hash>
    </respostaRequisicaoContagemBeneficiariosWS>
  </soap12:Body>
</soap12:Envelope>