GET api/Product/GetBrands

“GetBrands”的文档。

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Note": "sample string 3",
      "OrderBy": 4,
      "Index": 5
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Note": "sample string 3",
      "OrderBy": 4,
      "Index": 5
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Note": "sample string 3",
      "OrderBy": 4,
      "Index": 5
    }
  ]
}

application/xml, text/xml

Sample:
<T_BrandsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models">
  <Items>
    <T_BrandModel>
      <Id>1</Id>
      <Index>5</Index>
      <Name>sample string 2</Name>
      <Note>sample string 3</Note>
      <OrderBy>4</OrderBy>
    </T_BrandModel>
    <T_BrandModel>
      <Id>1</Id>
      <Index>5</Index>
      <Name>sample string 2</Name>
      <Note>sample string 3</Note>
      <OrderBy>4</OrderBy>
    </T_BrandModel>
    <T_BrandModel>
      <Id>1</Id>
      <Index>5</Index>
      <Name>sample string 2</Name>
      <Note>sample string 3</Note>
      <OrderBy>4</OrderBy>
    </T_BrandModel>
  </Items>
</T_BrandsModel>