POST api/GeneratorsApp

Request Information

URI Parameters

None.

Body Parameters

Collection of GeneratorsApp
NameDescriptionTypeAdditional information
Id

integer

None.

ControlArea

string

None.

Station

string

None.

TType

string

None.

Ownership

string

None.

Capacity

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ControlArea": "sample string 2",
    "Station": "sample string 3",
    "TType": "sample string 4",
    "Ownership": "sample string 5",
    "Capacity": "sample string 6"
  },
  {
    "Id": 1,
    "ControlArea": "sample string 2",
    "Station": "sample string 3",
    "TType": "sample string 4",
    "Ownership": "sample string 5",
    "Capacity": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGeneratorsApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <GeneratorsApp>
    <Capacity>sample string 6</Capacity>
    <ControlArea>sample string 2</ControlArea>
    <Id>1</Id>
    <Ownership>sample string 5</Ownership>
    <Station>sample string 3</Station>
    <TType>sample string 4</TType>
  </GeneratorsApp>
  <GeneratorsApp>
    <Capacity>sample string 6</Capacity>
    <ControlArea>sample string 2</ControlArea>
    <Id>1</Id>
    <Ownership>sample string 5</Ownership>
    <Station>sample string 3</Station>
    <TType>sample string 4</TType>
  </GeneratorsApp>
</ArrayOfGeneratorsApp>

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.