PUT api/Evolution/Put

Puts the evolution so the changes can be saved.

Request Information

Parameters

NameDescriptionAdditional information
evolution
An evolution object.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "StartDate": "17/11/2019 09:17",
  "EndDate": "17/11/2019 09:17",
  "EndDateType": 0,
  "Percentage": 3.0,
  "Amount": 4.0,
  "Description": "sample string 5",
  "Frequency": 0,
  "ResumeAfter": true
}

application/xml, text/xml

Sample:
<Evolution xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models">
  <Amount>4</Amount>
  <Description>sample string 5</Description>
  <EndDate>2019-11-17T09:17:31.744625+01:00</EndDate>
  <EndDateType>SixtyFiveYears</EndDateType>
  <Frequency>Once</Frequency>
  <ID>1</ID>
  <Percentage>3</Percentage>
  <ResumeAfter>true</ResumeAfter>
  <StartDate>2019-11-17T09:17:31.744625+01:00</StartDate>
</Evolution>

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