GET api/PrincipalComponent/GetByMasterPrincipalComponentID?masterPrincipalComponentID={masterPrincipalComponentID}&showInactive={showInactive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| masterPrincipalComponentID | integer |
Required |
|
| showInactive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
PrincipalComponentSummaryByPrincipalID| Name | Description | Type | Additional information |
|---|---|---|---|
| PrincipalComponentID | integer |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| PrincipalID | integer |
None. |
|
| MasterPrincipalComponentID | integer |
None. |
|
| MasterPrincipalComponent | string |
None. |
|
| PrincipalComponentTypeID | integer |
None. |
|
| PrincipalComponentType | string |
None. |
|
| IsOriginalDebt | boolean |
None. |
|
| StatusID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PrincipalComponentID": 1,
"Amount": 1.0,
"Description": "sample string 1",
"PrincipalID": 1,
"MasterPrincipalComponentID": 1,
"MasterPrincipalComponent": "sample string 2",
"PrincipalComponentTypeID": 1,
"PrincipalComponentType": "sample string 3",
"IsOriginalDebt": true,
"StatusID": 1
}
application/xml, text/xml
Sample:
<PrincipalComponentSummaryByPrincipalID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.PrincipalComponent"> <Amount>1</Amount> <Description>sample string 1</Description> <IsOriginalDebt>true</IsOriginalDebt> <MasterPrincipalComponent>sample string 2</MasterPrincipalComponent> <MasterPrincipalComponentID>1</MasterPrincipalComponentID> <PrincipalComponentID>1</PrincipalComponentID> <PrincipalComponentType>sample string 3</PrincipalComponentType> <PrincipalComponentTypeID>1</PrincipalComponentTypeID> <PrincipalID>1</PrincipalID> <StatusID>1</StatusID> </PrincipalComponentSummaryByPrincipalID>