GET api/glaccounts/types/categories

Get all glAccount type categories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Retuns list of glAccount type categories

Collection of GlAccountTypeCategoryViewModel
NameDescriptionTypeAdditional information
Id

Id

integer

None.

GlAccountTypeId

GlAccountTypeId

integer

None.

Name

Name

string

None.

Description

Description

string

None.

EntityCategoryName

EntityCategoryName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "glAccountTypeId": 2,
    "name": "sample string 3",
    "description": "sample string 4",
    "entityCategoryName": "sample string 5"
  },
  {
    "id": 1,
    "glAccountTypeId": 2,
    "name": "sample string 3",
    "description": "sample string 4",
    "entityCategoryName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGlAccountTypeCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.GlAccounts">
  <GlAccountTypeCategoryViewModel>
    <Description>sample string 4</Description>
    <EntityCategoryName>sample string 5</EntityCategoryName>
    <GlAccountTypeId>2</GlAccountTypeId>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </GlAccountTypeCategoryViewModel>
  <GlAccountTypeCategoryViewModel>
    <Description>sample string 4</Description>
    <EntityCategoryName>sample string 5</EntityCategoryName>
    <GlAccountTypeId>2</GlAccountTypeId>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </GlAccountTypeCategoryViewModel>
</ArrayOfGlAccountTypeCategoryViewModel>