There has been a lapse in Environmental Protection Agency appropriations. EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. If you submit a question, application, or request to EPA, it may not be processed during this period.
Documentation de service Web / Catégories / Services de signalement / Récupérer la liste de rapports
Mise à jour le 12 février 2023
25.0
GET
/reports?type=(type)
| Nom du champ | Valeur | Commentaires |
|---|---|---|
| Autorisation | Basic authentifiant |
Oui
| Nom du paramètre | Description |
|---|---|
| type | Facultatif. Précise le type de gabarit de rapport à retourner. Voici les paramètres valides:
|
| Demande/réponse | Nom de schéma |
|---|---|
| Demande | Aucun |
| Réponse | response.xsd |
L’exemple suivant récupère tous les rapports individualisés.
GET /reports?type=CUSTOM
L’exemple suivant montre les résultats lorsque vous utilisez ce service Web.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<links>
<link id="2209517" hint="My Energy Savings" linkDescription="This is the GET url for this Report." link="/reports/2209517" httpMethod="GET"/>
<link id="2209514" hint="Energy Report 2022" linkDescription="This is the GET url for this Report." link="/reports/2209514" httpMethod="GET"/>
<link id="2209516" hint="Water Report 2022" linkDescription="This is the GET url for this Report." link="/reports/2209516" httpMethod="GET"/>
</links>
</response>
