GET api/Categories?catg_id={catg_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catg_id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Categories
NameDescriptionTypeAdditional information
category_id

integer

None.

category_description

string

None.

status

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "category_id": 1,
    "category_description": "sample string 2",
    "status": true
  },
  {
    "category_id": 1,
    "category_description": "sample string 2",
    "status": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/circularAPI.Models">
  <Categories>
    <category_description>sample string 2</category_description>
    <category_id>1</category_id>
    <status>true</status>
  </Categories>
  <Categories>
    <category_description>sample string 2</category_description>
    <category_id>1</category_id>
    <status>true</status>
  </Categories>
</ArrayOfCategories>