GET api/Companies?u={u}&t={t}&d={d}
获取单位层级
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
u |
用户ID |
integer |
Required |
t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
d |
CID=[单位节点ID,long,默认为0取用户所在父节点ID],IsGetAll=[是否加载所有节点,bool] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取单位层级
CNodeName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
text | string |
None. |
|
state | string |
None. |
|
children | Collection of CNode |
None. |
Response Formats
application/json
Sample:
text/json
Sample: