During the current lapse in appropriations, EPA intends to keep the ENERGY STAR website, tools, and resources available, however they will not be updated regularly. Many services may not be available during this time.
Documentation de service Web / Catégories / Services du bâtiment / Récupérer la liste de bâtiments
Mise à jour le 10 décembre 2013
Ce service Web affiche la liste des bâtiments pour une propriété spécifique partagée avec vous.
25.0
GET
/property/(propertyId)/building/list
Nom du champ | Valeur | Commentaires |
---|---|---|
Autorisation | Basic authentifiant |
Oui
Nom du paramètre | Description |
---|---|
propertyId | Identifiant de la propriété |
Demande/réponse | Nom de schéma |
---|---|
Demande | Aucun |
Réponse | response.xsd |
L'exemple suivant montre la récupération d'une liste de bâtiments pour la propriété dont l'identifiant correspond à 200.
GET /property/200/building/list
L'exemple suivant montre la récupération d'une liste de bâtiments qui appartiennent à la propriété dont l'identifiant correspond à 200. Cette liste comprend les liens de service Web permettant de récupérer l'information de chaque bâtiment.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<links>
<link httpMethod="GET" link="/building/86" linkDescription="This is the GET url for this Building." hint="ACME Convenience Store"/>
<link httpMethod="GET" link="/building/34" linkDescription="This is the GET url for this Building." hint="ACME Grocery"/>
</links>
</response>