Web Service Documentation / Categories / Meter Services / Edit Offsite Green Power Purchase
Updated on June 30, 2024
This web service updates a specific offsite Green Power purchase record based on the information provided in the XML request. The corresponding property must already be shared with you and you must have write access to the property.
24.0
PUT
/offsiteGreenPowerPurchases/(id)
Field Name | Value | Comments |
---|---|---|
Authorization | Basic credentials | |
Content-Type | application/xml |
Yes
Parameter Name | Description |
---|---|
id | Id to the offsite Green Power purchase record |
Request/Response | Schema Name |
---|---|
Request | offsitePurchase.xsd |
Response | response.xsd |
The following example updates a specific offsite Green Power purchase record that has an id of 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>
The following example shows the result of updating the offsite Green Power purchase record.
<?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>