GET api/AccountDocumentCategories/GetAccountDocumentCategories/{companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

AccountDocumentCategory
NameDescriptionTypeAdditional information
AccountDocumentCategoryId

integer

None.

AccountDocumentCategoryDescription

string

Required

String length: inclusive between 0 and 80

CompanyId

integer

None.

AccountDocumentCategoryIsInUse

boolean

None.

ObjectState

ObjectState

None.

Response Formats

application/json, text/json

Sample:
{
  "accountDocumentCategoryId": 1,
  "accountDocumentCategoryDescription": "sample string 2",
  "companyId": 3,
  "accountDocumentCategoryIsInUse": true,
  "objectState": 0
}

application/xml, text/xml

Sample:
<AccountDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models">
  <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
  <AccountDocumentCategoryDescription>sample string 2</AccountDocumentCategoryDescription>
  <AccountDocumentCategoryId>1</AccountDocumentCategoryId>
  <AccountDocumentCategoryIsInUse>true</AccountDocumentCategoryIsInUse>
  <CompanyId>3</CompanyId>
</AccountDocumentCategory>