POST V2/CMS/GetContentByDevice

Request Information

URI Parameters

None.

Body Parameters

CMSContentCond
NameDescriptionTypeAdditional information
ContentId

integer

None.

CatId

integer

None.

Key

string

None.

IsMobile

boolean

None.

Title

string

None.

SeoKeyWord

string

None.

QtyOnTop

integer

None.

OnTopList

Collection of integer

None.

CatIds

Collection of integer

None.

TimeTypes

integer

None.

YearMon

string

None.

CatLevel

integer

None.

CatKey

string

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentId": 1,
  "CatId": 2,
  "Key": "sample string 3",
  "IsMobile": true,
  "Title": "sample string 5",
  "SeoKeyWord": "sample string 6",
  "QtyOnTop": 7,
  "OnTopList": [
    1,
    2
  ],
  "CatIds": [
    1,
    2
  ],
  "TimeTypes": 8,
  "YearMon": "sample string 9",
  "CatLevel": 10,
  "CatKey": "sample string 11",
  "Page": 12,
  "PageSize": 13,
  "Offset": 143,
  "SortName": "sample string 14",
  "SortOrder": "sample string 15"
}

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

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}