POST api/Page/GetTreeData?ModuleId={ModuleId}&MenuId={MenuId}&UserName={UserName}&storedProc={storedProc}&AppId={AppId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ModuleId

integer

Required

MenuId

integer

Required

UserName

string

Required

storedProc

string

Required

AppId

integer

Required

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml, multipart/form-data

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

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

Response Information

Resource Description

Collection of TreeNode
NameDescriptionTypeAdditional information
ID

integer

None.

label

string

None.

data

string

None.

expandedIcon

string

None.

collapsedIcon

string

None.

children

Collection of TreeNode

None.

NodeLevel

integer

None.

SequenceID

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 'IMBS.DO.Models.TreeNode'. 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 'IMBS.DO.Models.TreeNode'. Path '[0].children'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'IMBS.DO.Models.TreeNode' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'IMBS.DO.Models.TreeNode' contains cycles and cannot be serialized if reference tracking is disabled.

multipart/form-data

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'multipart/form-data'. Exception message: Object graph for type 'IMBS.DO.Models.TreeNode' contains cycles and cannot be serialized if reference tracking is disabled.