开发者可以通过【单位ID】来获取部门的数量(包含停用部门)。
接口调用请求说明
http请求方式:GET http://ip:port/seeyon/rest/orgDepartments/all/count/{accountId}
参数 | 是否必须 | 说明 |
accountId | 是 | 单位ID |
返回说明
正常情况下,会返回的是Integer类型的数值。
如果录入的单位ID错误或者为空时,返回信息为空。
接口调用请求说明
http请求方式:GET http://ip:port/seeyon/rest/orgDepartments/children/{parentId}?firstLayer=false/true;