POST api/etconfig/{assetId}

Sets the et configuration.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

The asset identifier.

integer

Required

Body Parameters

The configurations.

Collection of ETConfiguration
NameDescriptionTypeAdditional information
AssetId

integer

None.

AssetName

string

None.

ParticipantId

integer

None.

ParticipantName

string

None.

Weekdays

integer

None.

Baseline

Collection of Pair of decimal number [key] and decimal number [value]

None.

UpperOffsetPercent

decimal number

None.

LowerOffsetPercent

decimal number

None.

EmailList

string

None.

Subscribed

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AssetId": 1,
    "AssetName": "sample string 2",
    "ParticipantId": 3,
    "ParticipantName": "sample string 4",
    "Weekdays": 5,
    "Baseline": [
      {
        "Key": 1.1,
        "Value": 2.1
      },
      {
        "Key": 1.1,
        "Value": 2.1
      }
    ],
    "UpperOffsetPercent": 6.1,
    "LowerOffsetPercent": 7.1,
    "EmailList": "sample string 8",
    "Subscribed": true
  },
  {
    "AssetId": 1,
    "AssetName": "sample string 2",
    "ParticipantId": 3,
    "ParticipantName": "sample string 4",
    "Weekdays": 5,
    "Baseline": [
      {
        "Key": 1.1,
        "Value": 2.1
      },
      {
        "Key": 1.1,
        "Value": 2.1
      }
    ],
    "UpperOffsetPercent": 6.1,
    "LowerOffsetPercent": 7.1,
    "EmailList": "sample string 8",
    "Subscribed": true
  }
]

text/html

Sample:
[{"AssetId":1,"AssetName":"sample string 2","ParticipantId":3,"ParticipantName":"sample string 4","Weekdays":5,"Baseline":[{"Key":1.1,"Value":2.1},{"Key":1.1,"Value":2.1}],"UpperOffsetPercent":6.1,"LowerOffsetPercent":7.1,"EmailList":"sample string 8","Subscribed":true},{"AssetId":1,"AssetName":"sample string 2","ParticipantId":3,"ParticipantName":"sample string 4","Weekdays":5,"Baseline":[{"Key":1.1,"Value":2.1},{"Key":1.1,"Value":2.1}],"UpperOffsetPercent":6.1,"LowerOffsetPercent":7.1,"EmailList":"sample string 8","Subscribed":true}]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.