POST api/Evolution

Post the evolution so it can be created in the system.

Request Information

Parameters

NameDescriptionAdditional information
evolutionVm
An evolution viewmodel object.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StartDate": "27/11/2020 03:16",
  "EndDate": "27/11/2020 03:16",
  "EndDateType": 2,
  "Percentage": 3.0,
  "Amount": 4.0,
  "ItemID": 5,
  "Category": 6,
  "Description": "sample string 7",
  "Frequency": 8
}

application/xml, text/xml

Sample:
<EvolutionVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.API.Models">
  <Amount>4</Amount>
  <Category>6</Category>
  <Description>sample string 7</Description>
  <EndDate>2020-11-27T03:16:43.60025+01:00</EndDate>
  <EndDateType>2</EndDateType>
  <Frequency>8</Frequency>
  <ItemID>5</ItemID>
  <Percentage>3</Percentage>
  <StartDate>2020-11-27T03:16:43.60025+01:00</StartDate>
</EvolutionVM>

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 'EvolutionVM'.