PUT api/Debt
Puts a debt so the changes can be saved.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
debt | A debt object. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "ID": 1, "Entity": 2, "CostType": 3, "PropertyType": 4, "Description": "sample string 5", "Value": 6.0, "LoanedAmount": 7.0, "RepaymentType": 0, "YearlyIntrest": 8.0, "Years": 9, "StartDate": "14/03/2025 08:32" }
application/xml, text/xml
Sample:
<Debt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models"> <CostType>3</CostType> <Description>sample string 5</Description> <Entity>2</Entity> <ID>1</ID> <LoanedAmount>7</LoanedAmount> <PropertyType>4</PropertyType> <RepaymentType>FixedPayment</RepaymentType> <StartDate>2025-03-14T08:32:51.004875+01:00</StartDate> <Value>6</Value> <YearlyIntrest>8</YearlyIntrest> <Years>9</Years> </Debt>
application/x-www-form-urlencoded
Sample: