GET api/itemcategories/{deptid}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| deptid | integer | Required | 
Body Parameters
None.
Response Information
Resource Description
Collection of ItemCategory| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | None. | |
| Title | string | None. | |
| Description | string | None. | |
| Department | string | None. | |
| ListOrder | integer | None. | |
| Photo | Collection of byte | None. | 
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "Department": "sample string 4",
    "ListOrder": 5,
    "Photo": "QEA="
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "Department": "sample string 4",
    "ListOrder": 5,
    "Photo": "QEA="
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfItemCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <ItemCategory>
    <Department>sample string 4</Department>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <ListOrder>5</ListOrder>
    <Photo>QEA=</Photo>
    <Title>sample string 2</Title>
  </ItemCategory>
  <ItemCategory>
    <Department>sample string 4</Department>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <ListOrder>5</ListOrder>
    <Photo>QEA=</Photo>
    <Title>sample string 2</Title>
  </ItemCategory>
</ArrayOfItemCategory>