POST request/customer/{CustomerId}/site/{SiteId}/meter/electric/{MeterId}/battery
Post Meter extra battery details (Samsung specific)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
|
| MeterId | integer |
Required |
|
| SiteId | integer |
Required |
Body Parameters
BatteryPost| Name | Description | Type | Additional information |
|---|---|---|---|
| BatteryCapacity | integer |
None. |
|
| IsBatteryPhysical | boolean |
None. |
|
| IsSolar | boolean |
None. |
|
| SolarCapacity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"isBatteryPhysical": true,
"batteryCapacity": 2,
"isSolar": true,
"solarCapacity": 4
}
text/html
Sample:
{"isBatteryPhysical":true,"batteryCapacity":2,"isSolar":true,"solarCapacity":4}
application/xml, text/xml
Sample:
<BatteryPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.MeterDto"> <BatteryCapacity>2</BatteryCapacity> <IsBatteryPhysical>true</IsBatteryPhysical> <IsSolar>true</IsSolar> <SolarCapacity>4</SolarCapacity> </BatteryPost>
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>