POST api/Module/GetModuleTreeList

Request Information

URI Parameters

None.

Body Parameters

ModuleTreeFilter
NameDescriptionTypeAdditional information
RootNodeParentId

integer

None.

IndeterminateIds

Collection of integer

None.

StaffId

integer

None.

IsUseStaffModuleGroup

boolean

None.

Flag

string

None.

RecursionDepth

integer

None.

RootNodeId

integer

None.

Lev1OrgCode

string

None.

IsUseLev1Filter

boolean

None.

CheckedNodeIds

Collection of integer

None.

SelectedNodeIds

Collection of integer

None.

BankCheckedNodeIds

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "RootNodeParentId": 1,
  "IndeterminateIds": [
    1,
    1
  ],
  "StaffId": 2,
  "IsUseStaffModuleGroup": true,
  "Flag": "sample string 4",
  "RecursionDepth": 5,
  "RootNodeId": 6,
  "Lev1OrgCode": "sample string 7",
  "IsUseLev1Filter": true,
  "CheckedNodeIds": [
    1,
    1
  ],
  "SelectedNodeIds": [
    1,
    1
  ],
  "BankCheckedNodeIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ModuleTreeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <BankCheckedNodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BankCheckedNodeIds>
  <CheckedNodeIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </CheckedNodeIds>
  <IsUseLev1Filter>true</IsUseLev1Filter>
  <Lev1OrgCode>sample string 7</Lev1OrgCode>
  <RootNodeId>6</RootNodeId>
  <SelectedNodeIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </SelectedNodeIds>
  <Flag>sample string 4</Flag>
  <IndeterminateIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </IndeterminateIds>
  <IsUseStaffModuleGroup>true</IsUseStaffModuleGroup>
  <RecursionDepth>5</RecursionDepth>
  <RootNodeParentId>1</RootNodeParentId>
  <StaffId>2</StaffId>
</ModuleTreeFilter>

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

Response Information

Resource Description

Collection of ModuleTreeDTO
NameDescriptionTypeAdditional information
parentModuleId

integer

None.

parentModuleName

string

None.

name

string

None.

children

Collection of ModuleTreeDTO

None.

indeterminate

boolean

None.

order

integer

None.

parentOrder

integer

None.

type

string

None.

moduleLevel

integer

None.

modifyId

integer

None.

modifyBy

string

None.

modifyTime

date

None.

createId

integer

None.

createBy

string

None.

createTime

date

None.

id

integer

None.

title

string

None.

expand

boolean

None.

disabled

boolean

None.

disableCheckbox

boolean

None.

selected

boolean

None.

checked

boolean

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 'DTO.ModuleTreeDTO'. 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 'DTO.ModuleTreeDTO'. 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: “DTO.ModuleTreeDTO”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “DTO.ModuleTreeDTO”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。