POST api/meters/{assetId}

Posts the meters.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

The asset identifier.

integer

Required

Body Parameters

The meter.

MeterInfo
NameDescriptionTypeAdditional information
AssetId

integer

None.

Name

string

None.

MeterType

MeterType

None.

LoadCategory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": 1,
  "Name": "sample string 2",
  "MeterType": 0,
  "LoadCategory": "sample string 3"
}

text/html

Sample:
{"AssetId":1,"Name":"sample string 2","MeterType":0,"LoadCategory":"sample string 3"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.