Web Service Documentation / Categories / Meter Services / Add Offsite Green Power Purchase
Updated on June 30, 2024
This web service adds a new offsite Green Power purchase record to a specific property 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
POST
/property/(propertyId)/offsiteGreenPowerPurchases
Field Name | Value | Comments |
---|---|---|
Authorization | Basic credentials | |
Content-Type | application/xml |
Yes
Parameter Name | Description |
---|---|
propertyId | Id to the property |
Request/Response | Schema Name |
---|---|
Request | offsitePurchase.xsd |
Response | response.xsd |
The following example adds a specific offsite Green Power purchase record to a property that has an id of 841.
POST /property/841/offsiteGreenPowerPurchases<?xml version="1.0" encoding="UTF-8"?> <offsiteGreenPowerPurchase> <recOwnedAndRetired>true</recOwnedAndRetired> <type>Unbundled RECs</type> <meetVintageRequirement>true</meetVintageRequirement> <startDate>2023-01-01</startDate> <endDate>2023-07-01</endDate> <amountPurchased> <percentage> <value>100</value> <includeAllMeters>false</includeAllMeters> <meters> <id>1</id> </meters> </percentage> </amountPurchased> <estimate>false</estimate> <generationLocation> <eGridSubRegion>AKMS</eGridSubRegion> </generationLocation> <certifiedByGreene>true</certifiedByGreene> <provider>Renewable Systems</provider> <facilityName>Renewable Systems Premiere</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 an estimate.</notes> </offsiteGreenPowerPurchase>
The following example shows the result of adding an offsite Green Power purchase record. Note that the hint attribute is set to the Green Power type and the start/end dates.
<?xml version="1.0" encoding="UTF-8"?>
<response status="Ok">
<links>
<link id="181" hint="Unbundled RECs (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>