简要描述
- 调用接口查看家政员详情
接口版本
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
V 1.0 | xxxx-xx-xx |
请求URL:
请求方式:
- GET
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | 获取到的授权码access_token |
employee_id_card | 是 | string | 家政员身份证号码 |
返回示例:
正确时返回一:
{
"code": 200,
"msg": "查询成功!",
"data": {
"employee_id": 4,
"employee_name": "廖振菊 ",
"employee_id_card": "441623196807052029",
"employee_number": "",
"employee_phone": "15112995402",
"employee_name_used_before": "",
"employee_sex": "女",
"employee_nation": "汉族",
"employee_date_of_birth": "1968-07-05",
"licensing_authority": "翁源县公安局",
"employee_native_place": "广东省河源市连平县",
"employee_address": "广东省翁源县龙仙镇马墩村晓凤新堂",
"term_of_validity_start": "",
"term_of_validity_end": "",
"id_card_pic_positive": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-1.jpg",
"id_card_pic_back": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-12.jpg",
"latest_photo": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-13.jpg",
"employee_time": "2015-05-15",
"urlcode": "b502d30f28dd9dc4ab2fb143438a54ed",
"order_count": 2,
"haoping": "1",
"zhongping": "0",
"chaping": "0",
"tousu_count": "0",
"ltems": [
{
"service_ltems_name": "住家保姆",
"service_count": 23
},
{
"service_ltems_name": "钟点工",
"service_count": 1
},
{
"service_ltems_name": "不住家保姆",
"service_count": 1
}
],
"platforms": [
{
"entry_name": "家政天下业务平台",
"time": "1561428738",
"order_count": 22,
"haoping_count": 6,
"zhongping_count": 6,
"chaping_count": 6,
"tousu_count": 6
}
],
"companys": [
{
"company_name": "广州市育英家政服务有限公司",
"company_id": 1,
"entry_name": "家政天下业务平台",
"time": "1561428738",
"order_count": "6",
"haoping_count": "2",
"zhongping_count": "3",
"chaping_count": "4",
"tousu_count": "5"
},
{
"company_name": "爱家国际高端家政",
"company_id": 73,
"entry_name": "家政天下业务平台",
"time": "1561428749",
"order_count": "10",
"haoping_count": "4",
"zhongping_count": "3",
"chaping_count": "2",
"tousu_count": "1"
},
{
"company_name": "金贝家政连锁华碧分店",
"company_id": 11,
"entry_name": "家政天下业务平台",
"time": "1563348724",
"order_count": "6",
"haoping_count": null,
"zhongping_count": null,
"chaping_count": null,
"tousu_count": null
}
],
"blacklist": 0,
"耗时": 0.19900000000000001
}
}
说明:orders为家政员服务记录, blacklist家政员黑名单记录。
错误时返回一:
{
"code": 400,
"msg": "没有找到您要的家政员信息!",
"data": {
"status": "error",
"耗时": 0.090999999999999998
}
}
说明:出现此错误时,请检查“身份证号码”。