GET api/glaccounts/{glAccountId}
Get GL Acount Details.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
glAccountId |
GL Account Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GLAccountViewModelName | Description | Type | Additional information |
---|---|---|---|
GLAccountId |
GL Account Id |
integer |
None. |
GLAccountNumber |
GL Account Number |
string |
None. |
Description |
Description |
string |
None. |
IsBalance |
|
boolean |
None. |
Is1099Account |
|
boolean |
None. |
Active |
|
boolean |
None. |
BudgetCheck |
|
boolean |
None. |
TotalSubAccounts |
|
integer |
None. |
IsAssigned |
|
boolean |
None. |
IsChargeCodeAssigned |
|
boolean |
None. |
isGlAccountExists |
|
boolean |
None. |
TotalLinkedEntities |
|
integer |
None. |
GlAccountType |
|
GlAccountTypeViewModel |
None. |
GlAccountTypeCategory |
|
GlAccountTypeCategoryViewModel |
None. |
GlAccountTypeSubCategory |
|
GlAccountTypeSubCategoryViewModel |
None. |
DisplayAccount |
Display account |
string |
None. |
Response Formats
application/json, text/json
{ "glAccountId": 1, "glAccountNumber": "sample string 2", "description": "sample string 3", "isBalance": true, "is1099Account": true, "active": true, "budgetCheck": true, "totalSubAccounts": 8, "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" }
application/xml, text/xml
<GLAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Active>true</Active> <BudgetCheck>true</BudgetCheck> <Description>sample string 3</Description> <GLAccountId>1</GLAccountId> <GLAccountNumber>sample string 2</GLAccountNumber> <GlAccountType xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </GlAccountType> <GlAccountTypeCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:EntityCategoryName>sample string 5</d2p1:EntityCategoryName> <d2p1:GlAccountTypeId>2</d2p1:GlAccountTypeId> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 3</d2p1:Name> </GlAccountTypeCategory> <GlAccountTypeSubCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:EntitySubCategoryName>sample string 5</d2p1:EntitySubCategoryName> <d2p1:GlAccountTypeCategoryId>2</d2p1:GlAccountTypeCategoryId> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 3</d2p1:Name> </GlAccountTypeSubCategory> <Is1099Account>true</Is1099Account> <IsAssigned>true</IsAssigned> <IsBalance>true</IsBalance> <IsChargeCodeAssigned>true</IsChargeCodeAssigned> <TotalLinkedEntities>1</TotalLinkedEntities> <TotalSubAccounts>8</TotalSubAccounts> <isGlAccountExists>true</isGlAccountExists> </GLAccountViewModel>