POST api/TransmissionLine/Add

Request Information

URI Parameters

None.

Body Parameters

TransmissionLine
NameDescriptionTypeAdditional information
TransmissionLineId

integer

None.

Substation1

integer

None.

Substation2

integer

None.

Constituents1

integer

None.

Constituents2

integer

None.

LineOwnership

string

None.

VoltageLevelId

integer

None.

DCSC

string

None.

LineLength

string

None.

PLCCEnd1

string

None.

PLCCEnd2

string

None.

PLCCRemarks

string

None.

ConductorType

string

None.

ConductorConfiguration

string

None.

ThermalLimit

string

None.

NominalSIL

string

None.

SeriesCompensation

string

None.

ShuntingCompensation

string

None.

ProtectionId

integer

None.

ARActivated

boolean

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransmissionLineId": 1,
  "Substation1": 2,
  "Substation2": 3,
  "Constituents1": 4,
  "Constituents2": 5,
  "LineOwnership": "sample string 6",
  "VoltageLevelId": 7,
  "DCSC": "sample string 8",
  "LineLength": "sample string 9",
  "PLCCEnd1": "sample string 10",
  "PLCCEnd2": "sample string 11",
  "PLCCRemarks": "sample string 12",
  "ConductorType": "sample string 13",
  "ConductorConfiguration": "sample string 14",
  "ThermalLimit": "sample string 15",
  "NominalSIL": "sample string 16",
  "SeriesCompensation": "sample string 17",
  "ShuntingCompensation": "sample string 18",
  "ProtectionId": 19,
  "ARActivated": true,
  "Remarks": "sample string 21"
}

application/xml, text/xml

Sample:
<TransmissionLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ARActivated>true</ARActivated>
  <ConductorConfiguration>sample string 14</ConductorConfiguration>
  <ConductorType>sample string 13</ConductorType>
  <Constituents1>4</Constituents1>
  <Constituents2>5</Constituents2>
  <DCSC>sample string 8</DCSC>
  <LineLength>sample string 9</LineLength>
  <LineOwnership>sample string 6</LineOwnership>
  <NominalSIL>sample string 16</NominalSIL>
  <PLCCEnd1>sample string 10</PLCCEnd1>
  <PLCCEnd2>sample string 11</PLCCEnd2>
  <PLCCRemarks>sample string 12</PLCCRemarks>
  <ProtectionId>19</ProtectionId>
  <Remarks>sample string 21</Remarks>
  <SeriesCompensation>sample string 17</SeriesCompensation>
  <ShuntingCompensation>sample string 18</ShuntingCompensation>
  <Substation1>2</Substation1>
  <Substation2>3</Substation2>
  <ThermalLimit>sample string 15</ThermalLimit>
  <TransmissionLineId>1</TransmissionLineId>
  <VoltageLevelId>7</VoltageLevelId>
</TransmissionLine>

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 'TransmissionLine'.

Response Information

Resource Description

None.