POST api/TransmissonLineApp

Request Information

URI Parameters

None.

Body Parameters

Collection of TransmissonLineApp
NameDescriptionTypeAdditional information
Id

integer

None.

LineName

string

None.

End1

string

None.

End2

string

None.

Length

string

None.

TType

string

None.

Volt

string

None.

Ckts

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "LineName": "sample string 2",
    "End1": "sample string 3",
    "End2": "sample string 4",
    "Length": "sample string 5",
    "TType": "sample string 6",
    "Volt": "sample string 7",
    "Ckts": "sample string 8"
  },
  {
    "Id": 1,
    "LineName": "sample string 2",
    "End1": "sample string 3",
    "End2": "sample string 4",
    "Length": "sample string 5",
    "TType": "sample string 6",
    "Volt": "sample string 7",
    "Ckts": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransmissonLineApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <TransmissonLineApp>
    <Ckts>sample string 8</Ckts>
    <End1>sample string 3</End1>
    <End2>sample string 4</End2>
    <Id>1</Id>
    <Length>sample string 5</Length>
    <LineName>sample string 2</LineName>
    <TType>sample string 6</TType>
    <Volt>sample string 7</Volt>
  </TransmissonLineApp>
  <TransmissonLineApp>
    <Ckts>sample string 8</Ckts>
    <End1>sample string 3</End1>
    <End2>sample string 4</End2>
    <Id>1</Id>
    <Length>sample string 5</Length>
    <LineName>sample string 2</LineName>
    <TType>sample string 6</TType>
    <Volt>sample string 7</Volt>
  </TransmissonLineApp>
</ArrayOfTransmissonLineApp>

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.