POST api/effcap

Request Information

URI Parameters

None.

Body Parameters

Collection of effcap
NameDescriptionTypeAdditional information
Id

integer

None.

NameofPowerSystem

string

None.

BreakupUnit

string

None.

EffectiveCapacity

string

None.

Type

string

None.

Fuel

string

None.

State

string

None.

energygroup

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "NameofPowerSystem": "sample string 2",
    "BreakupUnit": "sample string 3",
    "EffectiveCapacity": "sample string 4",
    "Type": "sample string 5",
    "Fuel": "sample string 6",
    "State": "sample string 7",
    "energygroup": "sample string 8"
  },
  {
    "Id": 1,
    "NameofPowerSystem": "sample string 2",
    "BreakupUnit": "sample string 3",
    "EffectiveCapacity": "sample string 4",
    "Type": "sample string 5",
    "Fuel": "sample string 6",
    "State": "sample string 7",
    "energygroup": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfeffcap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <effcap>
    <BreakupUnit>sample string 3</BreakupUnit>
    <EffectiveCapacity>sample string 4</EffectiveCapacity>
    <Fuel>sample string 6</Fuel>
    <Id>1</Id>
    <NameofPowerSystem>sample string 2</NameofPowerSystem>
    <State>sample string 7</State>
    <Type>sample string 5</Type>
    <energygroup>sample string 8</energygroup>
  </effcap>
  <effcap>
    <BreakupUnit>sample string 3</BreakupUnit>
    <EffectiveCapacity>sample string 4</EffectiveCapacity>
    <Fuel>sample string 6</Fuel>
    <Id>1</Id>
    <NameofPowerSystem>sample string 2</NameofPowerSystem>
    <State>sample string 7</State>
    <Type>sample string 5</Type>
    <energygroup>sample string 8</energygroup>
  </effcap>
</ArrayOfeffcap>

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.