GET api/Product/GetProductClassifyList

获取商品一级分类列表

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfProductClassify
NameDescriptionTypeAdditional information
data

Collection of ProductClassify

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Name": "sample string 1",
      "ProductClassifyId": 2,
      "IsUse": true,
      "Sort": 4,
      "ShopId": 5,
      "Id": 6,
      "CreatorId": 1,
      "CreateTime": "2025-12-26T20:16:13.5775498+08:00",
      "ModifierId": 1,
      "ModifyTime": "2025-12-26T20:16:13.5775498+08:00",
      "IsDeleted": true
    },
    {
      "Name": "sample string 1",
      "ProductClassifyId": 2,
      "IsUse": true,
      "Sort": 4,
      "ShopId": 5,
      "Id": 6,
      "CreatorId": 1,
      "CreateTime": "2025-12-26T20:16:13.5775498+08:00",
      "ModifierId": 1,
      "ModifyTime": "2025-12-26T20:16:13.5775498+08:00",
      "IsDeleted": true
    }
  ],
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfProductClassify4bIR2q7t xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 1</errcode>
  <errmsg>sample string 2</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel">
    <d2p1:ProductClassify>
      <CreateTime xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">2025-12-26T20:16:13.5775498+08:00</CreateTime>
      <CreatorId xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">1</CreatorId>
      <Id xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">6</Id>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">true</IsDeleted>
      <ModifierId xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">1</ModifierId>
      <ModifyTime xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">2025-12-26T20:16:13.5775498+08:00</ModifyTime>
      <d2p1:IsUse>true</d2p1:IsUse>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:ProductClassifyId>2</d2p1:ProductClassifyId>
      <d2p1:ShopId>5</d2p1:ShopId>
      <d2p1:Sort>4</d2p1:Sort>
    </d2p1:ProductClassify>
    <d2p1:ProductClassify>
      <CreateTime xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">2025-12-26T20:16:13.5775498+08:00</CreateTime>
      <CreatorId xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">1</CreatorId>
      <Id xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">6</Id>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">true</IsDeleted>
      <ModifierId xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">1</ModifierId>
      <ModifyTime xmlns="http://schemas.datacontract.org/2004/07/DataModel.Base">2025-12-26T20:16:13.5775498+08:00</ModifyTime>
      <d2p1:IsUse>true</d2p1:IsUse>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:ProductClassifyId>2</d2p1:ProductClassifyId>
      <d2p1:ShopId>5</d2p1:ShopId>
      <d2p1:Sort>4</d2p1:Sort>
    </d2p1:ProductClassify>
  </data>
</ResponseOfArrayOfProductClassify4bIR2q7t>