POST api/Stores/CategoryList

Documentation for 'CategoryList'.

Request Information

Parameters

NameDescriptionAdditional information
Info
Documentation for 'Info'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "info": "sample string 1"
}

application/xml, text/xml

Sample:
<StoresController.Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33.Controllers">
  <info>sample string 1</info>
</StoresController.Params>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'Params'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Category": "sample string 1",
    "SubCategory": "sample string 2",
    "Pcid": 3
  },
  {
    "Category": "sample string 1",
    "SubCategory": "sample string 2",
    "Pcid": 3
  },
  {
    "Category": "sample string 1",
    "SubCategory": "sample string 2",
    "Pcid": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bravissh33">
  <CategoryList>
    <Category>sample string 1</Category>
    <Pcid>3</Pcid>
    <SubCategory>sample string 2</SubCategory>
  </CategoryList>
  <CategoryList>
    <Category>sample string 1</Category>
    <Pcid>3</Pcid>
    <SubCategory>sample string 2</SubCategory>
  </CategoryList>
  <CategoryList>
    <Category>sample string 1</Category>
    <Pcid>3</Pcid>
    <SubCategory>sample string 2</SubCategory>
  </CategoryList>
</ArrayOfCategoryList>