Skip to content

人员基本属性

接口地址

SERVICE-ADDRESS/worker/allWorkerBaseInfo

方法:get

参数说明

参数 类型 是否必须 说明
appid string 唯一凭证
sign string 签名
projectId long 项目编码
start String 开始时间
end String 结束时间
pageNo int 开始页数
pageSize int 每页大小

返回数据示例

{
    "success": true,
    "code": "0",
    "message": "操作成功",
    "data": [{
        "workerId": 5000039,
        "workerCategory": 1,
        "qrCode": null,
        "identification": "410***********6000",
        "name": "王惠",
        "ethnic": "汉",
        "nativePlace": null,
        "gender": 1,
        "birthDate": 629000000000,
        "phone": "1500000049",
        "degreeName": "本科",
        "address": "内蒙古",
        "urgentContact": null,
        "urgentTel": null,
        "issuingUnit": "察哈尔",
        "longExpiration": false,
        "startExpiration": "2000.06.07",
        "endExpiration": "2030.06.07",
        "photo": "*https://xmgl.glodon.com/glm/services/download?key=worker/1110826989943134/photo_15560000000071.jpg*",
        "recentPhoto": "*https://xmgl.glodon.com/glm/services/download?key=worker/242475618959872/photo/recentPhoto_1500670007111.jpg*",
        "enterType": "0",
        "fromEpidemicArea": 0,
        "temperature": 36.3,
        "temperatureValid": 1
    }]
}

返回字段说明

字段 字段名称 字段格式 备注
workerId 工人id Long 对于旧劳务,这个字段相当于工人的workerId,管理人员的managerId
workerCategory 人员类别 Integer 0:工人,1:管理人员
qrCode 工号 Integer
identification 身份证号 String
name 姓名 String
ethnic 民族 String
nativePlace 籍贯 String
gender 性别 Integer 0:男 1:女
birthDate 出生日期 Long 时间戳
phone 电话 String
degreeName 学历 String
address 地址 String
urgentContact 紧急联系人 String
urgentTel 紧急联系人电话 String
issuingUnit 签发机关 String
longExpiration 是否长期有效 Boolean
startExpiration 有效开始期 String
endExpiration 有效结束期 String 时间字符串(yyyy-MM-dd) 或 “长期”
photo 身份证照 String 完整url
recentPhoto 近照 String 完整url
enterType 进场方式 String 0:自动,1:手动2:拍照
fromEpidemicArea 是否来自重点区域 Byte 0否 1是 2未计算
temperature 登记时体温 BigDecimal
temperatureValid 体温是否合格 Byte 0否 1是