Documentation de service Web / Catégories / Services de compteur / Modifier l’achat d’énergie verte produite hors site
Mise à jour le 30 juin 2024
Ce service Web met à jour un enregistrement précis d’achat d’énergie verte produite hors site en fonction des renseignements fournis dans la demande de fichier XML. La propriété correspondante doit déjà être partagée avec vous et vous devez avoir un accès par écrit à la propriété.
22.0
PUT
/offsiteGreenPowerPurchases/(id)
Nom du champ | Valeur | Commentaires |
---|---|---|
Autorisation | Basic authentifiant | |
Type de contenu | application/xml |
Oui
Nom du paramètre | Description |
---|---|
id | Numéro d’identification de l’enregistrement d’achat d’énergie verte produite hors site |
Demande/réponse | Nom de schéma |
---|---|
Demande | offsitePurchase.xsd |
Réponse | response.xsd |
L’exemple suivant met à jour un enregistrement précis d’achat d’énergie verte produite hors site ayant un numéro d’identification 181.
PUT /offsiteGreenPowerPurchases/181<?xml version="1.0" encoding="UTF-8"?> <offsiteGreenPowerPurchase> <recOwnedAndRetired>true</recOwnedAndRetired> <type>Utility Green Tariff</type> <startDate>2023-01-01</startDate> <endDate>2023-07-01</endDate> <amountPurchased> <quantity uom="GJ"> <amount>1000.1</amount> </quantity> </amountPurchased> <estimate>false</estimate> <generationLocation> <postalCode>21046</postalCode> </generationLocation> <certifiedByGreene>false</certifiedByGreene> <provider>Green Provider</provider> <facilityName>Green Facility Technologies</facilityName> <fuelSources> <fuelSource> <type>Wind</type> <percentage>50</percentage> </fuelSource> <fuelSource> <type>Solar</type> </fuelSource> </fuelSources> <renewableGenerationTechnologies> <technology>Solar PV- Rooftop</technology> </renewableGenerationTechnologies> <ratedCapacity uom="kW"> <value>1000</value> </ratedCapacity> <operationDate>2000-01-01</operationDate> <contractStartDate>2023-01-01</contractStartDate> <contractEndDate>2023-12-31</contractEndDate> <cost uom="kWh (thousand Watt-hours)"> <value>12.34</value> </cost> <notes>This is just an estimate.</notes> </offsiteGreenPowerPurchase>
L’exemple suivant montre le résultat de la mise à jour de l’enregistrement d’achat d’énergie verte produite hors site.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<links>
<link id="181" hint="Utility Green Tariff (2023-01-01 - 2023-07-01)" linkDescription="This is the GET url for this Offsite Green Power Purchase." link="/offsiteGreenPowerPurchases/181" httpMethod="GET"/>
</links>
</response>