POST V2/CMS/GetCategoryTree

Request Information

URI Parameters

None.

Body Parameters

CMSPager
NameDescriptionTypeAdditional information
Id

integer

None.

Key

string

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Key": "sample string 2",
  "Page": 3,
  "PageSize": 4,
  "Offset": 8,
  "SortName": "sample string 5",
  "SortOrder": "sample string 6"
}

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

Response Information

Resource Description

Collection of CMSCategoryInfo
NameDescriptionTypeAdditional information
Id

integer

None.

Key

string

None.

Name

string

None.

Description

string

None.

Content

string

None.

URL

string

None.

OpenNewWin

boolean

None.

ParentId

integer

None.

PageStyle

string

None.

Children

Collection of CMSCategoryInfo

None.

Img

string

None.

Collapse

boolean

None.

ImagePath

string

None.

Path

string

None.

CatPaths

Collection of CategoryPath

None.

SeoKeyword

string

None.

SeoDesc

string

None.

Father

Collection of CMSCategoryInfo

None.

GroupId

integer

None.

RedirectURL

string

None.

Contents

Collection of CMSContentInfo

None.

Seq

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WS.Model.CMSMNG.View.Front.CMSCategoryInfo'. Path '[0].Children'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WS.Model.CMSMNG.View.Front.CMSCategoryInfo'. Path '[0].Children'.