GET api/glaccounts/search?entityNumber={entityNumber}&glAccount={glAccount}
GET api/glaccount/search
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityNumber |
|
string |
Required |
glAccount |
|
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of EntityGlAccountViewModelName | Description | Type | Additional information |
---|---|---|---|
GLAccountId |
GL Account Id |
integer |
None. |
GLAccountNumber |
GL Account Number |
string |
None. |
Description |
Description |
string |
None. |
Active |
|
boolean |
None. |
DisplayAccount |
Display account |
string |
None. |
TotalSubAccounts |
Total Sub Accounts |
integer |
None. |
Response Formats
application/json, text/json
[ { "glAccountId": 1, "glAccountNumber": "sample string 2", "description": "sample string 3", "active": true, "displayAccount": "sample string 2 - sample string 3", "totalSubAccounts": 1 }, { "glAccountId": 1, "glAccountNumber": "sample string 2", "description": "sample string 3", "active": true, "displayAccount": "sample string 2 - sample string 3", "totalSubAccounts": 1 } ]
application/xml, text/xml
<ArrayOfEntityGlAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <EntityGlAccountViewModel> <Active>true</Active> <Description>sample string 3</Description> <GLAccountId>1</GLAccountId> <GLAccountNumber>sample string 2</GLAccountNumber> <TotalSubAccounts>1</TotalSubAccounts> </EntityGlAccountViewModel> <EntityGlAccountViewModel> <Active>true</Active> <Description>sample string 3</Description> <GLAccountId>1</GLAccountId> <GLAccountNumber>sample string 2</GLAccountNumber> <TotalSubAccounts>1</TotalSubAccounts> </EntityGlAccountViewModel> </ArrayOfEntityGlAccountViewModel>