GET api/ContactCapital/GetCapitalTotalsByContactID?contactID={contactID}&frequencyID={frequencyID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contactID | integer |
Required |
|
| frequencyID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ContactCapitalTotalsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalIncome | decimal number |
None. |
|
| TotalAssets | decimal number |
None. |
|
| TotalExpenditure | decimal number |
None. |
|
| TotalLiabilities | decimal number |
None. |
|
| DisposableIncome | decimal number |
None. |
|
| NetWorth | decimal number |
None. |
|
| ExpenditureAllowedItems | decimal number |
None. |
|
| ExpenditureAllowed | decimal number |
None. |
|
| Difference | decimal number |
None. |
|
| Response | IResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalIncome": 1.0,
"TotalAssets": 2.0,
"TotalExpenditure": 3.0,
"TotalLiabilities": 4.0,
"DisposableIncome": 5.0,
"NetWorth": 6.0,
"ExpenditureAllowedItems": 7.0,
"ExpenditureAllowed": 8.0,
"Difference": 9.0,
"Response": null
}
application/xml, text/xml
Sample:
<ContactCapitalTotalsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.ContactCapital"> <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" /> <Difference>9</Difference> <DisposableIncome>5</DisposableIncome> <ExpenditureAllowed>8</ExpenditureAllowed> <ExpenditureAllowedItems>7</ExpenditureAllowedItems> <NetWorth>6</NetWorth> <TotalAssets>2</TotalAssets> <TotalExpenditure>3</TotalExpenditure> <TotalIncome>1</TotalIncome> <TotalLiabilities>4</TotalLiabilities> </ContactCapitalTotalsVM>