POST api/Reactor/Delete

Request Information

URI Parameters

None.

Body Parameters

Reactor
NameDescriptionTypeAdditional information
ReactorId

integer

None.

SubstationId

integer

None.

ConstituentId

integer

None.

VoltageLevelId

integer

None.

MVAR

string

None.

YOC

string

None.

COD

string

None.

Type

string

None.

Load

string

None.

CurrentStatusId

integer

None.

Remarks

string

None.

Substation

Substation

None.

Constituents

ConstituentsMaster

None.

VoltageLevel

VoltageLevelMaster

None.

CurrentStatus

CurrentStatusMaster

None.

Request Formats

application/json, text/json

Sample:
{
  "ReactorId": 1,
  "SubstationId": 2,
  "ConstituentId": 3,
  "VoltageLevelId": 4,
  "MVAR": "sample string 5",
  "YOC": "sample string 6",
  "COD": "sample string 7",
  "Type": "sample string 8",
  "Load": "sample string 9",
  "CurrentStatusId": 10,
  "Remarks": "sample string 11",
  "Substation": {
    "SubstationId": 1,
    "Name": "sample string 2",
    "DRActivated": true,
    "ELActivated": true,
    "ProtectionId": 5,
    "ConstituentId": 6,
    "SLDUpload": "sample string 7",
    "SLDMaker": "sample string 8",
    "Protection": {
      "ProtectionId": 1,
      "Value": "sample string 2",
      "Type": "sample string 3"
    },
    "Constituents": {
      "ConstituentId": 1,
      "Value": "sample string 2"
    }
  },
  "Constituents": {
    "ConstituentId": 1,
    "Value": "sample string 2"
  },
  "VoltageLevel": {
    "VoltageLevelId": 1,
    "Value": "sample string 2"
  },
  "CurrentStatus": {
    "CurrentStatusId": 1,
    "Value": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<Reactor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <COD>sample string 7</COD>
  <ConstituentId>3</ConstituentId>
  <Constituents>
    <ConstituentId>1</ConstituentId>
    <Value>sample string 2</Value>
  </Constituents>
  <CurrentStatus>
    <CurrentStatusId>1</CurrentStatusId>
    <Value>sample string 2</Value>
  </CurrentStatus>
  <CurrentStatusId>10</CurrentStatusId>
  <Load>sample string 9</Load>
  <MVAR>sample string 5</MVAR>
  <ReactorId>1</ReactorId>
  <Remarks>sample string 11</Remarks>
  <Substation>
    <ConstituentId>6</ConstituentId>
    <Constituents>
      <ConstituentId>1</ConstituentId>
      <Value>sample string 2</Value>
    </Constituents>
    <DRActivated>true</DRActivated>
    <ELActivated>true</ELActivated>
    <Name>sample string 2</Name>
    <Protection>
      <ProtectionId>1</ProtectionId>
      <Type>sample string 3</Type>
      <Value>sample string 2</Value>
    </Protection>
    <ProtectionId>5</ProtectionId>
    <SLDMaker>sample string 8</SLDMaker>
    <SLDUpload>sample string 7</SLDUpload>
    <SubstationId>1</SubstationId>
  </Substation>
  <SubstationId>2</SubstationId>
  <Type>sample string 8</Type>
  <VoltageLevel>
    <Value>sample string 2</Value>
    <VoltageLevelId>1</VoltageLevelId>
  </VoltageLevel>
  <VoltageLevelId>4</VoltageLevelId>
  <YOC>sample string 6</YOC>
</Reactor>

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

Response Information

Resource Description

None.