POST new/customwork/common/getclasslist

获取分类list (2级)

Request Information

URI Parameters

None.

Body Parameters

ProductPartsSearchRequest
NameDescriptionTypeAdditional information
Wd

关键字(搜索模式)。

string

None.

Page

页码。

integer

None.

Size

每页条数。

integer

None.

IsSearch

是否关键字搜索模式。

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Wd": "sample string 1",
  "Page": 2,
  "Size": 3,
  "IsSearch": true
}

application/xml, text/xml

Sample:
<ProductPartsSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <IsSearch>true</IsSearch>
  <Page>2</Page>
  <Size>3</Size>
  <Wd>sample string 1</Wd>
</ProductPartsSearchRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

ApiDataResponse
NameDescriptionTypeAdditional information
Ok

接口是否成功。

boolean

None.

Data

返回数据。

Object

None.

Msg

返回消息。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Data": {},
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <Data />
  <Msg>sample string 3</Msg>
  <Ok>true</Ok>
</ApiDataResponse>