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": "19/04/2024 07:00",
  "EndDate": "19/04/2024 07:00",
  "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>2024-04-19T19:00:01.43+02:00</EndDate>
  <EndDateType>2</EndDateType>
  <Frequency>8</Frequency>
  <ItemID>5</ItemID>
  <Percentage>3</Percentage>
  <StartDate>2024-04-19T19:00:01.43+02: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'.