PropostasMedidasWS
Click here for a complete list of operations.
GetPropostaMedidaByID
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 /WebServices/PropostasMedidasWS.asmx HTTP/1.1
Host: sce.sram.azores.gov.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetPropostaMedidaByID"
<?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>
<GetPropostaMedidaByID xmlns="http://tempuri.org/">
<propostaMedidaID>int</propostaMedidaID>
<certificadoID>int</certificadoID>
</GetPropostaMedidaByID>
</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>
<GetPropostaMedidaByIDResponse xmlns="http://tempuri.org/">
<GetPropostaMedidaByIDResult>
<Medida_Proposta_Id>int</Medida_Proposta_Id>
<Proposta_Id>int</Proposta_Id>
<Medida_Associada>string</Medida_Associada>
<Designacao_Medida>string</Designacao_Medida>
<Descricao_Sucinta>string</Descricao_Sucinta>
<Descricao_Medida>string</Descricao_Medida>
<Reducao_Anual_Energetica>string</Reducao_Anual_Energetica>
<Custo_Estimado_Investimento>string</Custo_Estimado_Investimento>
<Periodo_Retorno_Investimento>string</Periodo_Retorno_Investimento>
<Medida_Considerada_Para_Classe_Energetica>string</Medida_Considerada_Para_Classe_Energetica>
<Perito_id>int</Perito_id>
<Perito_nome>string</Perito_nome>
<Estado>string</Estado>
</GetPropostaMedidaByIDResult>
</GetPropostaMedidaByIDResponse>
</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 /WebServices/PropostasMedidasWS.asmx HTTP/1.1
Host: sce.sram.azores.gov.pt
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>
<GetPropostaMedidaByID xmlns="http://tempuri.org/">
<propostaMedidaID>int</propostaMedidaID>
<certificadoID>int</certificadoID>
</GetPropostaMedidaByID>
</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>
<GetPropostaMedidaByIDResponse xmlns="http://tempuri.org/">
<GetPropostaMedidaByIDResult>
<Medida_Proposta_Id>int</Medida_Proposta_Id>
<Proposta_Id>int</Proposta_Id>
<Medida_Associada>string</Medida_Associada>
<Designacao_Medida>string</Designacao_Medida>
<Descricao_Sucinta>string</Descricao_Sucinta>
<Descricao_Medida>string</Descricao_Medida>
<Reducao_Anual_Energetica>string</Reducao_Anual_Energetica>
<Custo_Estimado_Investimento>string</Custo_Estimado_Investimento>
<Periodo_Retorno_Investimento>string</Periodo_Retorno_Investimento>
<Medida_Considerada_Para_Classe_Energetica>string</Medida_Considerada_Para_Classe_Energetica>
<Perito_id>int</Perito_id>
<Perito_nome>string</Perito_nome>
<Estado>string</Estado>
</GetPropostaMedidaByIDResult>
</GetPropostaMedidaByIDResponse>
</soap12:Body>
</soap12:Envelope>