GET city/v3/ManageMemberWeb/GetSubDepts?orgID={orgID}&deptID={deptID}&isFetchChild={isFetchChild}

作用根据部门id查询下属部门 【k2.1】

Request

URI Params

字段名字段说明字段类型附加信息
orgID

查询所有部门必填

integer

Required

deptID

部门id 为0 查询所有部门

integer

Required

isFetchChild

是否递归获取子部门

boolean

Default value is False

Body Params

None.

Response

APITResultOfIEnumerableOfDeptRecursionZWServiceModel
字段名字段说明字段类型附加信息
Data

Collection of DeptRecursionZWServiceModel

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

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 'UX.ZWSnsContract.DeptRecursionZWServiceModel'. Path 'Data[0].SubDepts'.

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 'UX.ZWSnsContract.DeptRecursionZWServiceModel'. Path 'Data[0].SubDepts'.