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 des propriétés / Ajouter une valeur d'identifiant de propriété
Mise à jour le 17 juillet 2013
Ce service Web ajoute un nom et une valeur à un identifiant supplémentaire de propriété pour une propriété spécifique en fonction de l'information fournie dans la demande XML.
25.0
POST
/property/(propertyId)/identifier
| Nom du champ | Valeur | Commentaires |
|---|---|---|
| Autorisation | Basic authentifiant | |
| Type de contenu | application/xml |
Oui
| Nom du paramètre | Description |
|---|---|
| propertyId | Identifiant de la propriété |
| Demande/réponse | Nom de schéma |
|---|---|
| Demande | additionalIdentifier.xsd |
| Réponse | response.xsd |
L'exemple suivant montre l'ajout de la valeur « 32423 / BLDG-LOT 876313 » à l'identifiant de propriété dont la valeur de l'identifiant correspond à 4 pour la propriété dont l'identifiant correspond à 32423.
POST /property/32423/identifier<?xml version="1.0" encoding="UTF-8"?> <additionalIdentifier> <additionalIdentifierType id="4"/> <description>EPA Standard Property ID to be used for year 2012</description> <value>32423 / BLDG-LOT 876313</value> </additionalIdentifier>
L'exemple suivant indique que l'ajout de la valeur à l'identifiant de propriété a été réussi avec succès.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<id>64</id>
<links>
<link httpMethod="GET" link="/property/32423/identifier/64" linkDescription="This is the GET url for this Property Additional Identifier."/>
</links>
</response>
