GET api/Companies?u={u}&t={t}&d={d}

获取单位层级

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

获取单位层级

CNode
NameDescriptionTypeAdditional information
id

integer

None.

text

string

None.

state

string

None.

children

Collection of CNode

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 'Care365_V2.Model.CompanySys.CNode'. Path '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 'Care365_V2.Model.CompanySys.CNode'. Path 'children'.