POST api/PowerMeterForPowerConsumption/GetAll

Request Information

URI Parameters

None.

Body Parameters

PowerMeterForPowerConsumption
NameDescriptionTypeAdditional information
Id

integer

None.

PowerMeterName

string

None.

OrganizationId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PowerMeterName": "sample string 2",
  "OrganizationId": 3,
  "CompanyId": 4
}

application/xml, text/xml

Sample:
<PowerMeterForPowerConsumption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Production">
  <CompanyId>4</CompanyId>
  <Id>1</Id>
  <OrganizationId>3</OrganizationId>
  <PowerMeterName>sample string 2</PowerMeterName>
</PowerMeterForPowerConsumption>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PowerMeterForPowerConsumption'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.