POST api/LineReactor

Request Information

URI Parameters

None.

Body Parameters

Collection of Line_Reactor
NameDescriptionTypeAdditional information
id

integer

None.

LineReactor_Type

string

None.

NameofLine

string

None.

LineId

integer

None.

End1NameofNode

string

None.

End1MVARRating

string

None.

End1Make

string

None.

End1Owner

string

None.

End2NameofNode

string

None.

End2MVARRating

string

None.

End2Make

string

None.

End2Owner

string

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "LineReactor_Type": "sample string 2",
    "NameofLine": "sample string 3",
    "LineId": 4,
    "End1NameofNode": "sample string 5",
    "End1MVARRating": "sample string 6",
    "End1Make": "sample string 7",
    "End1Owner": "sample string 8",
    "End2NameofNode": "sample string 9",
    "End2MVARRating": "sample string 10",
    "End2Make": "sample string 11",
    "End2Owner": "sample string 12",
    "Remarks": "sample string 13"
  },
  {
    "id": 1,
    "LineReactor_Type": "sample string 2",
    "NameofLine": "sample string 3",
    "LineId": 4,
    "End1NameofNode": "sample string 5",
    "End1MVARRating": "sample string 6",
    "End1Make": "sample string 7",
    "End1Owner": "sample string 8",
    "End2NameofNode": "sample string 9",
    "End2MVARRating": "sample string 10",
    "End2Make": "sample string 11",
    "End2Owner": "sample string 12",
    "Remarks": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLine_Reactor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Line_Reactor>
    <End1MVARRating>sample string 6</End1MVARRating>
    <End1Make>sample string 7</End1Make>
    <End1NameofNode>sample string 5</End1NameofNode>
    <End1Owner>sample string 8</End1Owner>
    <End2MVARRating>sample string 10</End2MVARRating>
    <End2Make>sample string 11</End2Make>
    <End2NameofNode>sample string 9</End2NameofNode>
    <End2Owner>sample string 12</End2Owner>
    <LineId>4</LineId>
    <LineReactor_Type>sample string 2</LineReactor_Type>
    <NameofLine>sample string 3</NameofLine>
    <Remarks>sample string 13</Remarks>
    <id>1</id>
  </Line_Reactor>
  <Line_Reactor>
    <End1MVARRating>sample string 6</End1MVARRating>
    <End1Make>sample string 7</End1Make>
    <End1NameofNode>sample string 5</End1NameofNode>
    <End1Owner>sample string 8</End1Owner>
    <End2MVARRating>sample string 10</End2MVARRating>
    <End2Make>sample string 11</End2Make>
    <End2NameofNode>sample string 9</End2NameofNode>
    <End2Owner>sample string 12</End2Owner>
    <LineId>4</LineId>
    <LineReactor_Type>sample string 2</LineReactor_Type>
    <NameofLine>sample string 3</NameofLine>
    <Remarks>sample string 13</Remarks>
    <id>1</id>
  </Line_Reactor>
</ArrayOfLine_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 'List`1'.

Response Information

Resource Description

None.