POST api/TransformerTransaction

Request Information

URI Parameters

None.

Body Parameters

Collection of TransformerTransaction
NameDescriptionTypeAdditional information
Id

integer

None.

System

string

None.

SubStation

string

None.

Ratio

string

None.

Capacity

string

None.

Total

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "System": "sample string 2",
    "SubStation": "sample string 3",
    "Ratio": "sample string 4",
    "Capacity": "sample string 5",
    "Total": "sample string 6"
  },
  {
    "Id": 1,
    "System": "sample string 2",
    "SubStation": "sample string 3",
    "Ratio": "sample string 4",
    "Capacity": "sample string 5",
    "Total": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransformerTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <TransformerTransaction>
    <Capacity>sample string 5</Capacity>
    <Id>1</Id>
    <Ratio>sample string 4</Ratio>
    <SubStation>sample string 3</SubStation>
    <System>sample string 2</System>
    <Total>sample string 6</Total>
  </TransformerTransaction>
  <TransformerTransaction>
    <Capacity>sample string 5</Capacity>
    <Id>1</Id>
    <Ratio>sample string 4</Ratio>
    <SubStation>sample string 3</SubStation>
    <System>sample string 2</System>
    <Total>sample string 6</Total>
  </TransformerTransaction>
</ArrayOfTransformerTransaction>

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.