POST request/customer/{CustomerId}/site/{SiteId}/meter/electric/{MeterId}/battery

Post Meter extra battery details (Samsung specific)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

MeterId

integer

Required

SiteId

integer

Required

Body Parameters

BatteryPost
NameDescriptionTypeAdditional 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

boolean

Response 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>