GET api/glaccounts/types?reportType={reportType}
Get all glAccount types
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reportType |
(Optional)Limits the results by reportType. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Retuns list of glAccount types
Collection of GlAccountTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id |
integer |
None. |
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2", "description": "sample string 3" }, { "id": 1, "name": "sample string 2", "description": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfGlAccountTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts"> <GlAccountTypeViewModel> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </GlAccountTypeViewModel> <GlAccountTypeViewModel> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </GlAccountTypeViewModel> </ArrayOfGlAccountTypeViewModel>