POST api/ReaBhutan

Request Information

URI Parameters

None.

Body Parameters

Collection of REA
NameDescriptionTypeAdditional information
Id

integer

None.

EnergyGroup

string

None.

GeneratingStation

string

None.

Region

string

None.

BENEFICIARIES

string

None.

ShareAllocation

string

None.

CapacityCharge

string

None.

DRAWALSCHUDULE

string

None.

EnergyCharges

string

None.

Period

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "EnergyGroup": "sample string 2",
    "GeneratingStation": "sample string 3",
    "Region": "sample string 4",
    "BENEFICIARIES": "sample string 5",
    "ShareAllocation": "sample string 6",
    "CapacityCharge": "sample string 7",
    "DRAWALSCHUDULE": "sample string 8",
    "EnergyCharges": "sample string 9",
    "Period": "sample string 10"
  },
  {
    "Id": 1,
    "EnergyGroup": "sample string 2",
    "GeneratingStation": "sample string 3",
    "Region": "sample string 4",
    "BENEFICIARIES": "sample string 5",
    "ShareAllocation": "sample string 6",
    "CapacityCharge": "sample string 7",
    "DRAWALSCHUDULE": "sample string 8",
    "EnergyCharges": "sample string 9",
    "Period": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfREA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <REA>
    <BENEFICIARIES>sample string 5</BENEFICIARIES>
    <CapacityCharge>sample string 7</CapacityCharge>
    <DRAWALSCHUDULE>sample string 8</DRAWALSCHUDULE>
    <EnergyCharges>sample string 9</EnergyCharges>
    <EnergyGroup>sample string 2</EnergyGroup>
    <GeneratingStation>sample string 3</GeneratingStation>
    <Id>1</Id>
    <Period>sample string 10</Period>
    <Region>sample string 4</Region>
    <ShareAllocation>sample string 6</ShareAllocation>
  </REA>
  <REA>
    <BENEFICIARIES>sample string 5</BENEFICIARIES>
    <CapacityCharge>sample string 7</CapacityCharge>
    <DRAWALSCHUDULE>sample string 8</DRAWALSCHUDULE>
    <EnergyCharges>sample string 9</EnergyCharges>
    <EnergyGroup>sample string 2</EnergyGroup>
    <GeneratingStation>sample string 3</GeneratingStation>
    <Id>1</Id>
    <Period>sample string 10</Period>
    <Region>sample string 4</Region>
    <ShareAllocation>sample string 6</ShareAllocation>
  </REA>
</ArrayOfREA>

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.