GET ListCategories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CategoriesDTO
NameDescriptionTypeAdditional information
CategoryID

integer

None.

CategoryName

string

None.

MediaImageID

integer

None.

ImageFileName

string

None.

subtitle

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "CategoryID": 1,
    "CategoryName": "sample string 2",
    "MediaImageID": 1,
    "ImageFileName": "sample string 3",
    "subtitle": "sample string 4"
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoriesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <CategoriesDTO>
    <CategoryID>1</CategoryID>
    <CategoryName>sample string 2</CategoryName>
    <ImageFileName>sample string 3</ImageFileName>
    <MediaImageID>1</MediaImageID>
    <subtitle>sample string 4</subtitle>
  </CategoriesDTO>
  <CategoriesDTO>
    <CategoryID>1</CategoryID>
    <CategoryName>sample string 2</CategoryName>
    <ImageFileName>sample string 3</ImageFileName>
    <MediaImageID>1</MediaImageID>
    <subtitle>sample string 4</subtitle>
  </CategoriesDTO>
</ArrayOfCategoriesDTO>