GET api/chartOfAccounts/{id}/subAccount
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ChartOfAccountViewModelName | Description | Type | Additional information |
---|---|---|---|
ChartOfAccountId |
Chart Of Account |
integer |
None. |
GlAccountId |
GL Account ID |
integer |
None. |
GLAccount |
|
GLAccountViewModelExtended |
None. |
EntityCategory |
|
GlAccountEntityCategoryViewModel |
None. |
EntitySubCategory |
|
GlAccountEntitySubCategoryViewModel |
None. |
SuperEntityId |
|
integer |
None. |
Description |
|
string |
None. |
Active |
|
boolean |
None. |
Fund |
|
string |
None. |
Orgs |
|
string |
None. |
IsError |
|
boolean |
None. |
Error |
|
string |
None. |
GLAccountTypeId |
|
integer |
None. |
AchHoldback |
|
BudgetChartOfAccountViewModel |
None. |
Response Formats
application/json, text/json
{ "chartOfAccountId": 1, "glAccountId": 2, "glAccount": { "subAccounts": [ { "glSubAccountId": 1, "glAccountId": 2, "subAccountName": "sample string 3", "description": "sample string 4" }, { "glSubAccountId": 1, "glAccountId": 2, "subAccountName": "sample string 3", "description": "sample string 4" } ], "totalSubAccounts": 2, "glAccountId": 1, "glAccountNumber": "sample string 2", "description": "sample string 3", "isBalance": true, "is1099Account": true, "active": true, "budgetCheck": true, "isAssigned": true, "isChargeCodeAssigned": true, "isGlAccountExists": true, "totalLinkedEntities": 1, "glAccountType": { "id": 1, "name": "sample string 2", "description": "sample string 3" }, "glAccountTypeCategory": { "id": 1, "glAccountTypeId": 2, "name": "sample string 3", "description": "sample string 4", "entityCategoryName": "sample string 5" }, "glAccountTypeSubCategory": { "id": 1, "glAccountTypeCategoryId": 2, "name": "sample string 3", "description": "sample string 4", "entitySubCategoryName": "sample string 5" }, "displayAccount": "sample string 2 - sample string 3" }, "entityCategory": { "id": 1, "name": "sample string 2" }, "entitySubCategory": { "id": 1, "name": "sample string 2" }, "superEntityId": 3, "description": "sample string 4", "active": true, "fund": "sample string 6", "orgs": "sample string 7", "isError": true, "error": "sample string 9", "glAccountTypeId": 1, "achHoldback": { "chartOfAccountId": 1, "glAccountId": 2, "isAchHoldbackActive": true, "subAccounts": [ { "subAccountId": 1, "subAccountName": "sample string 2", "isAchHoldbackActive": true }, { "subAccountId": 1, "subAccountName": "sample string 2", "isAchHoldbackActive": true } ] } }
application/xml, text/xml
<ChartOfAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.ChartOfAccounts"> <AchHoldback xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Entities.Models"> <d2p1:ChartOfAccountId>1</d2p1:ChartOfAccountId> <d2p1:GlAccountId>2</d2p1:GlAccountId> <d2p1:IsAchHoldbackActive>true</d2p1:IsAchHoldbackActive> <d2p1:SubAccounts> <d2p1:BudgetSubAccountViewModel> <d2p1:IsAchHoldbackActive>true</d2p1:IsAchHoldbackActive> <d2p1:SubAccountId>1</d2p1:SubAccountId> <d2p1:SubAccountName>sample string 2</d2p1:SubAccountName> </d2p1:BudgetSubAccountViewModel> <d2p1:BudgetSubAccountViewModel> <d2p1:IsAchHoldbackActive>true</d2p1:IsAchHoldbackActive> <d2p1:SubAccountId>1</d2p1:SubAccountId> <d2p1:SubAccountName>sample string 2</d2p1:SubAccountName> </d2p1:BudgetSubAccountViewModel> </d2p1:SubAccounts> </AchHoldback> <Active>true</Active> <ChartOfAccountId>1</ChartOfAccountId> <Description>sample string 4</Description> <EntityCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </EntityCategory> <EntitySubCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </EntitySubCategory> <Error>sample string 9</Error> <Fund>sample string 6</Fund> <GLAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <d2p1:Active>true</d2p1:Active> <d2p1:BudgetCheck>true</d2p1:BudgetCheck> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:GLAccountId>1</d2p1:GLAccountId> <d2p1:GLAccountNumber>sample string 2</d2p1:GLAccountNumber> <d2p1:GlAccountType xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Description>sample string 3</d3p1:Description> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </d2p1:GlAccountType> <d2p1:GlAccountTypeCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:EntityCategoryName>sample string 5</d3p1:EntityCategoryName> <d3p1:GlAccountTypeId>2</d3p1:GlAccountTypeId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d2p1:GlAccountTypeCategory> <d2p1:GlAccountTypeSubCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:EntitySubCategoryName>sample string 5</d3p1:EntitySubCategoryName> <d3p1:GlAccountTypeCategoryId>2</d3p1:GlAccountTypeCategoryId> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 3</d3p1:Name> </d2p1:GlAccountTypeSubCategory> <d2p1:Is1099Account>true</d2p1:Is1099Account> <d2p1:IsAssigned>true</d2p1:IsAssigned> <d2p1:IsBalance>true</d2p1:IsBalance> <d2p1:IsChargeCodeAssigned>true</d2p1:IsChargeCodeAssigned> <d2p1:TotalLinkedEntities>1</d2p1:TotalLinkedEntities> <d2p1:TotalSubAccounts>0</d2p1:TotalSubAccounts> <d2p1:isGlAccountExists>true</d2p1:isGlAccountExists> <d2p1:SubAccounts> <d2p1:GLSubAccountViewModel> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:SubAccountName>sample string 3</d2p1:SubAccountName> <d2p1:GLAccountId>2</d2p1:GLAccountId> <d2p1:GLSubAccountId>1</d2p1:GLSubAccountId> </d2p1:GLSubAccountViewModel> <d2p1:GLSubAccountViewModel> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:SubAccountName>sample string 3</d2p1:SubAccountName> <d2p1:GLAccountId>2</d2p1:GLAccountId> <d2p1:GLSubAccountId>1</d2p1:GLSubAccountId> </d2p1:GLSubAccountViewModel> </d2p1:SubAccounts> </GLAccount> <GLAccountTypeId>1</GLAccountTypeId> <GlAccountId>2</GlAccountId> <IsError>true</IsError> <Orgs>sample string 7</Orgs> <SuperEntityId>3</SuperEntityId> </ChartOfAccountViewModel>