This project is read-only.

GetDept

说明

获取部门信息

地址

http://Server:Port/GetDept

方法

Get

参数

Key 类型 必须 说明 示例
phone 字符串 手机号码 18620059548
updatetime 字符串 上次更新时间 2012-09-18 14:18:48

结果

{
"Result":"0",//结果代码,0表示正确
"Desc":"",//错误描述,result非0时的错误提示
"UpdateTime":"2012/09/18 14:18:48",//请求时间
"Data":[{
"DeptID":"00010001",//部门id
"DeptName":"广南公司",//部门名称
"DeptBriefName":"广南",//部门简称
"PinYin":"gdnh",//名称声母
"IsWorkDress":"False",//是否是办公地点
"PhoneNum":"020815513",//如果是办公地点,总机电话
"isDelete":"False",//是否也被删除
"UpdateTime":"2012/09/04 15:13:16"//记录更新时间
},
{"DeptID":"00010002","DeptName":"广南货运公司","DeptBriefName":"广运","PinYin":"nhhy","IsWorkDress":"False","PhoneNum":"020815516","isDelete":"False","UpdateTime":"2012/09/04 15:13:59"}]
}

备注

DeptID 采用4或4&4的形式,父部门ID+部门ID,如 00010002。如果没有父部门,0001

Last edited Sep 29, 2012 at 3:54 AM by hwangzhiming, version 13

Comments

No comments yet.