Ordem_Servico


Click here for a complete list of operations.

solicitaAutorizacaoOrdemServico

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_9/Ordem_Servico.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/V90_00/solicitaAutorizacaoOrdemServico"

<?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>
    <solicitaAutorizacaoOrdemServico xmlns="http://ptu.unimed.coop.br/schemas/V90_00">
      <ID_SATAUTOR>int</ID_SATAUTOR>
    </solicitaAutorizacaoOrdemServico>
  </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>
    <solicitaAutorizacaoOrdemServicoResponse xmlns="http://ptu.unimed.coop.br/schemas/V90_00">
      <solicitaAutorizacaoOrdemServicoResult>
        <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>
        <respostaOrdemServico>
          <numeroTransacaoUnimedSolicitante>integer</numeroTransacaoUnimedSolicitante>
          <codigoUnimedSolicitante>integer</codigoUnimedSolicitante>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <identificacaoBeneficiario>
            <codigoUnimed>integer</codigoUnimed>
            <codigoIdentificacao>string</codigoIdentificacao>
          </identificacaoBeneficiario>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <observacao>string</observacao>
          <blocoServicoAceito>
            <servicoAceito xsi:nil="true" />
            <servicoAceito xsi:nil="true" />
          </blocoServicoAceito>
        </respostaOrdemServico>
        <hash>string</hash>
      </solicitaAutorizacaoOrdemServicoResult>
    </solicitaAutorizacaoOrdemServicoResponse>
  </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_9/Ordem_Servico.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>
    <solicitaAutorizacaoOrdemServico xmlns="http://ptu.unimed.coop.br/schemas/V90_00">
      <ID_SATAUTOR>int</ID_SATAUTOR>
    </solicitaAutorizacaoOrdemServico>
  </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>
    <solicitaAutorizacaoOrdemServicoResponse xmlns="http://ptu.unimed.coop.br/schemas/V90_00">
      <solicitaAutorizacaoOrdemServicoResult>
        <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>
        <respostaOrdemServico>
          <numeroTransacaoUnimedSolicitante>integer</numeroTransacaoUnimedSolicitante>
          <codigoUnimedSolicitante>integer</codigoUnimedSolicitante>
          <numeroTransacaoPrestadora>integer</numeroTransacaoPrestadora>
          <identificacaoBeneficiario>
            <codigoUnimed>integer</codigoUnimed>
            <codigoIdentificacao>string</codigoIdentificacao>
          </identificacaoBeneficiario>
          <numeroVersaoPTU>string</numeroVersaoPTU>
          <observacao>string</observacao>
          <blocoServicoAceito>
            <servicoAceito xsi:nil="true" />
            <servicoAceito xsi:nil="true" />
          </blocoServicoAceito>
        </respostaOrdemServico>
        <hash>string</hash>
      </solicitaAutorizacaoOrdemServicoResult>
    </solicitaAutorizacaoOrdemServicoResponse>
  </soap12:Body>
</soap12:Envelope>