GET api/superEntities/{superEntityId}/chartOfAccounts
Get All Accounts for a given super entity
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
superEntityId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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 } ] } }, { "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
<ArrayOfChartOfAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.ChartOfAccounts"> <ChartOfAccountViewModel> <AchHoldback xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Entities.Models"> <d3p1:ChartOfAccountId>1</d3p1:ChartOfAccountId> <d3p1:GlAccountId>2</d3p1:GlAccountId> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccounts> <d3p1:BudgetSubAccountViewModel> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccountId>1</d3p1:SubAccountId> <d3p1:SubAccountName>sample string 2</d3p1:SubAccountName> </d3p1:BudgetSubAccountViewModel> <d3p1:BudgetSubAccountViewModel> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccountId>1</d3p1:SubAccountId> <d3p1:SubAccountName>sample string 2</d3p1:SubAccountName> </d3p1:BudgetSubAccountViewModel> </d3p1:SubAccounts> </AchHoldback> <Active>true</Active> <ChartOfAccountId>1</ChartOfAccountId> <Description>sample string 4</Description> <EntityCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </EntityCategory> <EntitySubCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </EntitySubCategory> <Error>sample string 9</Error> <Fund>sample string 6</Fund> <GLAccount xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <d3p1:Active>true</d3p1:Active> <d3p1:BudgetCheck>true</d3p1:BudgetCheck> <d3p1:Description>sample string 3</d3p1:Description> <d3p1:GLAccountId>1</d3p1:GLAccountId> <d3p1:GLAccountNumber>sample string 2</d3p1:GLAccountNumber> <d3p1:GlAccountType xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 2</d4p1:Name> </d3p1:GlAccountType> <d3p1:GlAccountTypeCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 4</d4p1:Description> <d4p1:EntityCategoryName>sample string 5</d4p1:EntityCategoryName> <d4p1:GlAccountTypeId>2</d4p1:GlAccountTypeId> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d3p1:GlAccountTypeCategory> <d3p1:GlAccountTypeSubCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 4</d4p1:Description> <d4p1:EntitySubCategoryName>sample string 5</d4p1:EntitySubCategoryName> <d4p1:GlAccountTypeCategoryId>2</d4p1:GlAccountTypeCategoryId> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d3p1:GlAccountTypeSubCategory> <d3p1:Is1099Account>true</d3p1:Is1099Account> <d3p1:IsAssigned>true</d3p1:IsAssigned> <d3p1:IsBalance>true</d3p1:IsBalance> <d3p1:IsChargeCodeAssigned>true</d3p1:IsChargeCodeAssigned> <d3p1:TotalLinkedEntities>1</d3p1:TotalLinkedEntities> <d3p1:TotalSubAccounts>0</d3p1:TotalSubAccounts> <d3p1:isGlAccountExists>true</d3p1:isGlAccountExists> <d3p1:SubAccounts> <d3p1:GLSubAccountViewModel> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:SubAccountName>sample string 3</d3p1:SubAccountName> <d3p1:GLAccountId>2</d3p1:GLAccountId> <d3p1:GLSubAccountId>1</d3p1:GLSubAccountId> </d3p1:GLSubAccountViewModel> <d3p1:GLSubAccountViewModel> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:SubAccountName>sample string 3</d3p1:SubAccountName> <d3p1:GLAccountId>2</d3p1:GLAccountId> <d3p1:GLSubAccountId>1</d3p1:GLSubAccountId> </d3p1:GLSubAccountViewModel> </d3p1:SubAccounts> </GLAccount> <GLAccountTypeId>1</GLAccountTypeId> <GlAccountId>2</GlAccountId> <IsError>true</IsError> <Orgs>sample string 7</Orgs> <SuperEntityId>3</SuperEntityId> </ChartOfAccountViewModel> <ChartOfAccountViewModel> <AchHoldback xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.Entities.Models"> <d3p1:ChartOfAccountId>1</d3p1:ChartOfAccountId> <d3p1:GlAccountId>2</d3p1:GlAccountId> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccounts> <d3p1:BudgetSubAccountViewModel> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccountId>1</d3p1:SubAccountId> <d3p1:SubAccountName>sample string 2</d3p1:SubAccountName> </d3p1:BudgetSubAccountViewModel> <d3p1:BudgetSubAccountViewModel> <d3p1:IsAchHoldbackActive>true</d3p1:IsAchHoldbackActive> <d3p1:SubAccountId>1</d3p1:SubAccountId> <d3p1:SubAccountName>sample string 2</d3p1:SubAccountName> </d3p1:BudgetSubAccountViewModel> </d3p1:SubAccounts> </AchHoldback> <Active>true</Active> <ChartOfAccountId>1</ChartOfAccountId> <Description>sample string 4</Description> <EntityCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </EntityCategory> <EntitySubCategory xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </EntitySubCategory> <Error>sample string 9</Error> <Fund>sample string 6</Fund> <GLAccount xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <d3p1:Active>true</d3p1:Active> <d3p1:BudgetCheck>true</d3p1:BudgetCheck> <d3p1:Description>sample string 3</d3p1:Description> <d3p1:GLAccountId>1</d3p1:GLAccountId> <d3p1:GLAccountNumber>sample string 2</d3p1:GLAccountNumber> <d3p1:GlAccountType xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 3</d4p1:Description> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 2</d4p1:Name> </d3p1:GlAccountType> <d3p1:GlAccountTypeCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 4</d4p1:Description> <d4p1:EntityCategoryName>sample string 5</d4p1:EntityCategoryName> <d4p1:GlAccountTypeId>2</d4p1:GlAccountTypeId> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d3p1:GlAccountTypeCategory> <d3p1:GlAccountTypeSubCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d4p1:Description>sample string 4</d4p1:Description> <d4p1:EntitySubCategoryName>sample string 5</d4p1:EntitySubCategoryName> <d4p1:GlAccountTypeCategoryId>2</d4p1:GlAccountTypeCategoryId> <d4p1:Id>1</d4p1:Id> <d4p1:Name>sample string 3</d4p1:Name> </d3p1:GlAccountTypeSubCategory> <d3p1:Is1099Account>true</d3p1:Is1099Account> <d3p1:IsAssigned>true</d3p1:IsAssigned> <d3p1:IsBalance>true</d3p1:IsBalance> <d3p1:IsChargeCodeAssigned>true</d3p1:IsChargeCodeAssigned> <d3p1:TotalLinkedEntities>1</d3p1:TotalLinkedEntities> <d3p1:TotalSubAccounts>0</d3p1:TotalSubAccounts> <d3p1:isGlAccountExists>true</d3p1:isGlAccountExists> <d3p1:SubAccounts> <d3p1:GLSubAccountViewModel> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:SubAccountName>sample string 3</d3p1:SubAccountName> <d3p1:GLAccountId>2</d3p1:GLAccountId> <d3p1:GLSubAccountId>1</d3p1:GLSubAccountId> </d3p1:GLSubAccountViewModel> <d3p1:GLSubAccountViewModel> <d3p1:Description>sample string 4</d3p1:Description> <d3p1:SubAccountName>sample string 3</d3p1:SubAccountName> <d3p1:GLAccountId>2</d3p1:GLAccountId> <d3p1:GLSubAccountId>1</d3p1:GLSubAccountId> </d3p1:GLSubAccountViewModel> </d3p1:SubAccounts> </GLAccount> <GLAccountTypeId>1</GLAccountTypeId> <GlAccountId>2</GlAccountId> <IsError>true</IsError> <Orgs>sample string 7</Orgs> <SuperEntityId>3</SuperEntityId> </ChartOfAccountViewModel> </ArrayOfChartOfAccountViewModel>