POST api/OrgPosition/GetOrgPositionTreeList

Request Information

URI Parameters

None.

Body Parameters

OrgPositionTreeFilter
NameDescriptionTypeAdditional information
CheckedNodeIds

Collection of integer

None.

SelectedNodeIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CheckedNodeIds": [
    1,
    2
  ],
  "SelectedNodeIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<OrgPositionTreeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CheckedNodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CheckedNodeIds>
  <SelectedNodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedNodeIds>
</OrgPositionTreeFilter>

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

Response Information

Resource Description

Collection of OrgPositionTreeDTO
NameDescriptionTypeAdditional information
id

integer

None.

title

string

None.

expand

boolean

None.

disabled

boolean

None.

disableCheckbox

boolean

None.

selected

boolean

None.

checked

boolean

None.

indeterminate

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,
    "indeterminate": true
  },
  {
    "id": 1,
    "title": "sample string 2",
    "expand": true,
    "disabled": true,
    "disableCheckbox": true,
    "selected": true,
    "checked": true,
    "indeterminate": true
  }
]

application/xml, text/xml

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