GET api/Category

Returns all the records in the AR_Category table expect the default record

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Category
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryCode

string

String length: inclusive between 0 and 25

Description

string

String length: inclusive between 0 and 50

Inactive

boolean

None.

GLCode

string

String length: inclusive between 0 and 6

Response Formats

application/json, text/json

Sample:
[
  {
    "CategoryId": 1,
    "CategoryCode": "sample string 2",
    "Description": "sample string 3",
    "Inactive": true,
    "GLCode": "sample string 4"
  },
  {
    "CategoryId": 1,
    "CategoryCode": "sample string 2",
    "Description": "sample string 3",
    "Inactive": true,
    "GLCode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <Category>
    <CategoryCode>sample string 2</CategoryCode>
    <CategoryId>1</CategoryId>
    <Description>sample string 3</Description>
    <GLCode>sample string 4</GLCode>
    <Inactive>true</Inactive>
  </Category>
  <Category>
    <CategoryCode>sample string 2</CategoryCode>
    <CategoryId>1</CategoryId>
    <Description>sample string 3</Description>
    <GLCode>sample string 4</GLCode>
    <Inactive>true</Inactive>
  </Category>
</ArrayOfCategory>