POST api/FrontEnd/HomePictureList

Request Information

URI Parameters

None.

Body Parameters

HomePictureList_request
NameDescriptionTypeAdditional information
dataList

Collection of requestList

None.

PageSize

integer

None.

PageIndex

integer

None.

tag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "dataList": [
    {
      "cid": 1,
      "cdid": 2,
      "CdCode": "sample string 3"
    },
    {
      "cid": 1,
      "cdid": 2,
      "CdCode": "sample string 3"
    }
  ],
  "PageSize": 1,
  "PageIndex": 2,
  "tag": 3
}

application/xml, text/xml

Sample:
<HomePictureList_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.Request">
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <dataList>
    <requestList>
      <CdCode>sample string 3</CdCode>
      <cdid>2</cdid>
      <cid>1</cid>
    </requestList>
    <requestList>
      <CdCode>sample string 3</CdCode>
      <cdid>2</cdid>
      <cid>1</cid>
    </requestList>
  </dataList>
  <tag>3</tag>
</HomePictureList_request>

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 'HomePictureList_request'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
code

错误代码

integer

None.

success

是否成功

boolean

None.

data

返回数据

Object

None.

msg

返回信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "success": true,
  "data": {},
  "msg": "sample string 4"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.BaseEntity">
  <code>1</code>
  <data />
  <msg>sample string 4</msg>
  <success>true</success>
</Result>