ptuA100
Clique aqui para obter uma lista completa das operações.
ptuA100Operation
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 /ptuA100.asmx HTTP/1.1
Host: unimed-online.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""
<?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>
<ptuA100_Pos_UB xmlns="http://ptu.unimed.coop.br/schemas/V1_0">
<cabecalho>
<nr_transacao>integer</nr_transacao>
</cabecalho>
<arquivoA100>
<Compart_Pos>
<Beneficiarios_Proprios>
<cd_Uni_Destino>integer</cd_Uni_Destino>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Proprios>
<Beneficiarios_Proprios>
<cd_Uni_Destino>integer</cd_Uni_Destino>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Proprios>
<Beneficiarios_Outros>
<cd_Uni_Origem>integer</cd_Uni_Origem>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Outros>
<Beneficiarios_Outros>
<cd_Uni_Origem>integer</cd_Uni_Origem>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Outros>
</Compart_Pos>
</arquivoA100>
<hash>string</hash>
</ptuA100_Pos_UB>
<username xmlns="http://tempuri.org/">string</username>
<password xmlns="http://tempuri.org/">string</password>
</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>
<ptuA100OperationResult xmlns="http://ptu.unimed.coop.br/schemas/V1_0">
<cabecalho>
<nr_transacao>integer</nr_transacao>
</cabecalho>
<hash>string</hash>
</ptuA100OperationResult>
</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 /ptuA100.asmx HTTP/1.1
Host: unimed-online.net
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>
<ptuA100_Pos_UB xmlns="http://ptu.unimed.coop.br/schemas/V1_0">
<cabecalho>
<nr_transacao>integer</nr_transacao>
</cabecalho>
<arquivoA100>
<Compart_Pos>
<Beneficiarios_Proprios>
<cd_Uni_Destino>integer</cd_Uni_Destino>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Proprios>
<Beneficiarios_Proprios>
<cd_Uni_Destino>integer</cd_Uni_Destino>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Proprios>
<Beneficiarios_Outros>
<cd_Uni_Origem>integer</cd_Uni_Origem>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Outros>
<Beneficiarios_Outros>
<cd_Uni_Origem>integer</cd_Uni_Origem>
<beneficiario xsi:nil="true" />
<beneficiario xsi:nil="true" />
</Beneficiarios_Outros>
</Compart_Pos>
</arquivoA100>
<hash>string</hash>
</ptuA100_Pos_UB>
<username xmlns="http://tempuri.org/">string</username>
<password xmlns="http://tempuri.org/">string</password>
</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>
<ptuA100OperationResult xmlns="http://ptu.unimed.coop.br/schemas/V1_0">
<cabecalho>
<nr_transacao>integer</nr_transacao>
</cabecalho>
<hash>string</hash>
</ptuA100OperationResult>
</soap12:Body>
</soap12:Envelope>