Pedido_Complemento_Autorizacao


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

RespostaSolicitacao

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 /PTU_10_0/Pedido_Complemento_Autorizacao.asmx HTTP/1.1
Host: appfesp.unimedpirassununga.coop.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ptu.unimed.coop.br/schemas/V100_00/RespostaSolicitacao"

<?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>
    <RespostaSolicitacao xmlns="http://ptu.unimed.coop.br/schemas/V100_00">
      <ID_SATAUTOR>int</ID_SATAUTOR>
      <ID_SATTRANS>int</ID_SATTRANS>
      <respostaPedidoAutorizacaoWS>
        <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>
          <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
          <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
        </cabecalhoTransacao>
        <respostaPedidoAutorizacao>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <numeroTransacaoOrigemBeneficiario>integer</numeroTransacaoOrigemBeneficiario>
          <identificacaoBeneficiario>
            <nomeBeneficiario>string</nomeBeneficiario>
            <nomeSocial>string</nomeSocial>
          </identificacaoBeneficiario>
          <dataValidadeAutorizacao>date</dataValidadeAutorizacao>
          <tpAutorizacao>1 or 2</tpAutorizacao>
          <tpAcomodacao>A or B or C or X</tpAcomodacao>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <tpSexo>1 or 3</tpSexo>
          <nrIdade>integer</nrIdade>
          <observacao>string</observacao>
          <complementarResp1>string</complementarResp1>
          <complementarResp2>string</complementarResp2>
          <complementarResp3>string</complementarResp3>
          <blocoServicoRespostaPedido>
            <respostaPedidoServico xsi:nil="true" />
            <respostaPedidoServico xsi:nil="true" />
          </blocoServicoRespostaPedido>
        </respostaPedidoAutorizacao>
        <hash>string</hash>
      </respostaPedidoAutorizacaoWS>
    </RespostaSolicitacao>
  </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>
    <RespostaSolicitacaoResponse xmlns="http://ptu.unimed.coop.br/schemas/V100_00">
      <RespostaSolicitacaoResult>
        <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>
          <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
          <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
        </cabecalhoTransacao>
        <respostaPedidoAutorizacao>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <numeroTransacaoOrigemBeneficiario>integer</numeroTransacaoOrigemBeneficiario>
          <identificacaoBeneficiario>
            <nomeBeneficiario>string</nomeBeneficiario>
            <nomeSocial>string</nomeSocial>
          </identificacaoBeneficiario>
          <dataValidadeAutorizacao>date</dataValidadeAutorizacao>
          <tpAutorizacao>1 or 2</tpAutorizacao>
          <tpAcomodacao>A or B or C or X</tpAcomodacao>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <tpSexo>1 or 3</tpSexo>
          <nrIdade>integer</nrIdade>
          <observacao>string</observacao>
          <complementarResp1>string</complementarResp1>
          <complementarResp2>string</complementarResp2>
          <complementarResp3>string</complementarResp3>
          <blocoServicoRespostaPedido>
            <respostaPedidoServico xsi:nil="true" />
            <respostaPedidoServico xsi:nil="true" />
          </blocoServicoRespostaPedido>
        </respostaPedidoAutorizacao>
        <hash>string</hash>
      </RespostaSolicitacaoResult>
    </RespostaSolicitacaoResponse>
  </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 /PTU_10_0/Pedido_Complemento_Autorizacao.asmx HTTP/1.1
Host: appfesp.unimedpirassununga.coop.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>
    <RespostaSolicitacao xmlns="http://ptu.unimed.coop.br/schemas/V100_00">
      <ID_SATAUTOR>int</ID_SATAUTOR>
      <ID_SATTRANS>int</ID_SATTRANS>
      <respostaPedidoAutorizacaoWS>
        <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>
          <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
          <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
        </cabecalhoTransacao>
        <respostaPedidoAutorizacao>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <numeroTransacaoOrigemBeneficiario>integer</numeroTransacaoOrigemBeneficiario>
          <identificacaoBeneficiario>
            <nomeBeneficiario>string</nomeBeneficiario>
            <nomeSocial>string</nomeSocial>
          </identificacaoBeneficiario>
          <dataValidadeAutorizacao>date</dataValidadeAutorizacao>
          <tpAutorizacao>1 or 2</tpAutorizacao>
          <tpAcomodacao>A or B or C or X</tpAcomodacao>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <tpSexo>1 or 3</tpSexo>
          <nrIdade>integer</nrIdade>
          <observacao>string</observacao>
          <complementarResp1>string</complementarResp1>
          <complementarResp2>string</complementarResp2>
          <complementarResp3>string</complementarResp3>
          <blocoServicoRespostaPedido>
            <respostaPedidoServico xsi:nil="true" />
            <respostaPedidoServico xsi:nil="true" />
          </blocoServicoRespostaPedido>
        </respostaPedidoAutorizacao>
        <hash>string</hash>
      </respostaPedidoAutorizacaoWS>
    </RespostaSolicitacao>
  </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>
    <RespostaSolicitacaoResponse xmlns="http://ptu.unimed.coop.br/schemas/V100_00">
      <RespostaSolicitacaoResult>
        <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>
          <codigoUnimedPrestadora>integer</codigoUnimedPrestadora>
          <codigoUnimedOrigemBeneficiario>integer</codigoUnimedOrigemBeneficiario>
        </cabecalhoTransacao>
        <respostaPedidoAutorizacao>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <numeroTransacaoOrigemBeneficiario>integer</numeroTransacaoOrigemBeneficiario>
          <identificacaoBeneficiario>
            <nomeBeneficiario>string</nomeBeneficiario>
            <nomeSocial>string</nomeSocial>
          </identificacaoBeneficiario>
          <dataValidadeAutorizacao>date</dataValidadeAutorizacao>
          <tpAutorizacao>1 or 2</tpAutorizacao>
          <tpAcomodacao>A or B or C or X</tpAcomodacao>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <tpSexo>1 or 3</tpSexo>
          <nrIdade>integer</nrIdade>
          <observacao>string</observacao>
          <complementarResp1>string</complementarResp1>
          <complementarResp2>string</complementarResp2>
          <complementarResp3>string</complementarResp3>
          <blocoServicoRespostaPedido>
            <respostaPedidoServico xsi:nil="true" />
            <respostaPedidoServico xsi:nil="true" />
          </blocoServicoRespostaPedido>
        </respostaPedidoAutorizacao>
        <hash>string</hash>
      </RespostaSolicitacaoResult>
    </RespostaSolicitacaoResponse>
  </soap12:Body>
</soap12:Envelope>