POST api/Base/GetOrginazeTree

获取部门列表

请求参数信息

URI 参数

None.

Body 参数

请求参数,queryparam支持 1、getchild参数,true表示同步获取下级节点,false表示不获取下级节点,默认不获取下级节点 2、parentid参数,父级id,默认值为0,表示获取顶级节点

BasePageRequestModel
NameDescriptionTypeAdditional information
keyid

string

None.

querystr

string

None.

pageindex

integer

None.

pagesize

integer

None.

startDate

string

None.

endDate

string

None.

status

string

None.

queryparam

Dictionary of string [key] and string [value]

None.

sign

string

None.

Request Formats

application/json, text/json

Sample:
{
  "keyid": "sample string 1",
  "querystr": "sample string 2",
  "pageindex": 3,
  "pagesize": 4,
  "startDate": "sample string 5",
  "endDate": "sample string 6",
  "status": "sample string 7",
  "queryparam": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "sign": "sample string 8"
}

application/xml, text/xml

Sample:
<BasePageRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLYServices.APIApplication.Models.RequestModel">
  <sign xmlns="http://schemas.datacontract.org/2004/07/WLYServices.APIApplication.Models">sample string 8</sign>
  <endDate>sample string 6</endDate>
  <keyid>sample string 1</keyid>
  <pageindex>3</pageindex>
  <pagesize>4</pagesize>
  <queryparam xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </queryparam>
  <querystr>sample string 2</querystr>
  <startDate>sample string 5</startDate>
  <status>sample string 7</status>
</BasePageRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

接口返回信息

返回信息说明

JMResponseOfViewPageModelOfTreeResponseModel
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

data

ViewPageModelOfTreeResponseModel

None.

返回数据格式

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.