POST api/Backstage/GetImageTextList

获取图文列表

Request Information

URI Parameters

None.

Body Parameters

GetPictureList_request
NameDescriptionTypeAdditional information
Pid1

integer

None.

Pid2

integer

None.

Key

图片/图文名称

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Pid1": 1,
  "Pid2": 2,
  "Key": "sample string 3",
  "PageIndex": 4,
  "PageSize": 5
}

application/xml, text/xml

Sample:
<GetPictureList_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.Request">
  <Key>sample string 3</Key>
  <PageIndex>4</PageIndex>
  <PageSize>5</PageSize>
  <Pid1>1</Pid1>
  <Pid2>2</Pid2>
</GetPictureList_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 'GetPictureList_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>