PUT api/Settings

Puts the settings to save the changes.

Request Information

Parameters

NameDescriptionAdditional information
settings
A settings object.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Account": 2,
  "Inflation": 3.0,
  "Indexation": 4.0,
  "Debit": 5.0,
  "Credit": 6.0,
  "FinishDate": "29/03/2024 02:45"
}

application/xml, text/xml

Sample:
<Settings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models">
  <Account>2</Account>
  <Credit>6</Credit>
  <Debit>5</Debit>
  <FinishDate>2024-03-29T14:45:56.969125+01:00</FinishDate>
  <ID>1</ID>
  <Indexation>4</Indexation>
  <Inflation>3</Inflation>
</Settings>

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