POST api/Major_Decision

Request Information

URI Parameters

None.

Body Parameters

Collection of Major_Decision
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

Period

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Description": "sample string 2",
    "Period": "sample string 3"
  },
  {
    "Id": 1,
    "Description": "sample string 2",
    "Period": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMajor_Decision xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Major_Decision>
    <Description>sample string 2</Description>
    <Id>1</Id>
    <Period>sample string 3</Period>
  </Major_Decision>
  <Major_Decision>
    <Description>sample string 2</Description>
    <Id>1</Id>
    <Period>sample string 3</Period>
  </Major_Decision>
</ArrayOfMajor_Decision>

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.