POST api/ModuleGroup/GetModuleGroupTreeList

Request Information

URI Parameters

None.

Body Parameters

ModuleGroupTreeFilter
NameDescriptionTypeAdditional information
PrimaryBranchOrgCode

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:
{
  "PrimaryBranchOrgCode": 1,
  "RootNodeId": 2,
  "Lev1OrgCode": "sample string 3",
  "IsUseLev1Filter": true,
  "CheckedNodeIds": [
    1,
    1
  ],
  "SelectedNodeIds": [
    1,
    1
  ],
  "BankCheckedNodeIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ModuleGroupTreeFilter 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 3</Lev1OrgCode>
  <RootNodeId>2</RootNodeId>
  <SelectedNodeIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </SelectedNodeIds>
  <PrimaryBranchOrgCode>1</PrimaryBranchOrgCode>
</ModuleGroupTreeFilter>

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

Response Information

Resource Description

Collection of ModuleGroupTreeDTO
NameDescriptionTypeAdditional information
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, text/json

Sample:
[
  {
    "id": 1,
    "title": "sample string 2",
    "expand": true,
    "disabled": true,
    "disableCheckbox": true,
    "selected": true,
    "checked": true
  },
  {
    "id": 1,
    "title": "sample string 2",
    "expand": true,
    "disabled": true,
    "disableCheckbox": true,
    "selected": true,
    "checked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfModuleGroupTreeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ModuleGroupTreeDTO>
    <Checked>true</Checked>
    <DisableCheckbox>true</DisableCheckbox>
    <Disabled>true</Disabled>
    <Expand>true</Expand>
    <Id>1</Id>
    <Selected>true</Selected>
    <Title>sample string 2</Title>
  </ModuleGroupTreeDTO>
  <ModuleGroupTreeDTO>
    <Checked>true</Checked>
    <DisableCheckbox>true</DisableCheckbox>
    <Disabled>true</Disabled>
    <Expand>true</Expand>
    <Id>1</Id>
    <Selected>true</Selected>
    <Title>sample string 2</Title>
  </ModuleGroupTreeDTO>
</ArrayOfModuleGroupTreeDTO>