GET api/Debt/GetDetails?id={id}
Gets the details of a given 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:
{ "Description": "sample string 1", "Entity": "sample string 2", "Cost": "sample string 3", "Property": "sample string 4", "RepaymentType": 5, "Intrest": 6.0, "MonthlyIntrest": 0.486755056534, "Years": 7, "TotalPayments": 84, "PaymentsRemaining": 8, "TotalIntrests": 9.0, "Capital": 10.0, "TotalPayment": 19.0, "IntrestsRemaining": 11.0, "CapitalRemaining": 12.0 }
application/xml, text/xml
Sample:
<DebtDetailsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.API.Models"> <Capital>10</Capital> <CapitalRemaining>12</CapitalRemaining> <Cost>sample string 3</Cost> <Description>sample string 1</Description> <Entity>sample string 2</Entity> <Intrest>6</Intrest> <IntrestsRemaining>11</IntrestsRemaining> <PaymentsRemaining>8</PaymentsRemaining> <Property>sample string 4</Property> <RepaymentType>5</RepaymentType> <TotalIntrests>9</TotalIntrests> <Years>7</Years> </DebtDetailsVM>