GET api/Debt/Get?id={id}
Gets a specific debt.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | The ID of the debt. |
Define this parameter in the request URI. |
Response Information
Response 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:15" }
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:15:33.879875+01:00</StartDate> <Value>6</Value> <YearlyIntrest>8</YearlyIntrest> <Years>9</Years> </Debt>