简要描述

  • 调用接口查看家政员详情

接口版本

版本号 制定人 制定日期 修订日期
V 1.0 xxxx-xx-xx

请求URL:

请求方式:

  • GET

请求参数:

参数名 是否必须 类型 说明
access_token string 获取到的授权码access_token
employee_id_card string 家政员身份证号码

返回示例:

正确时返回一:

  1. {
  2. "code": 200,
  3. "msg": "查询成功!",
  4. "data": {
  5. "employee_id": 4,
  6. "employee_name": "廖振菊 ",
  7. "employee_id_card": "441623196807052029",
  8. "employee_number": "",
  9. "employee_phone": "15112995402",
  10. "employee_name_used_before": "",
  11. "employee_sex": "女",
  12. "employee_nation": "汉族",
  13. "employee_date_of_birth": "1968-07-05",
  14. "licensing_authority": "翁源县公安局",
  15. "employee_native_place": "广东省河源市连平县",
  16. "employee_address": "广东省翁源县龙仙镇马墩村晓凤新堂",
  17. "term_of_validity_start": "",
  18. "term_of_validity_end": "",
  19. "id_card_pic_positive": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-1.jpg",
  20. "id_card_pic_back": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-12.jpg",
  21. "latest_photo": "https://cx.020gzjx.com/uploads/20190805/testpic/03bb2520-13.jpg",
  22. "employee_time": "2015-05-15",
  23. "urlcode": "b502d30f28dd9dc4ab2fb143438a54ed",
  24. "order_count": 2,
  25. "haoping": "1",
  26. "zhongping": "0",
  27. "chaping": "0",
  28. "tousu_count": "0",
  29. "ltems": [
  30. {
  31. "service_ltems_name": "住家保姆",
  32. "service_count": 23
  33. },
  34. {
  35. "service_ltems_name": "钟点工",
  36. "service_count": 1
  37. },
  38. {
  39. "service_ltems_name": "不住家保姆",
  40. "service_count": 1
  41. }
  42. ],
  43. "platforms": [
  44. {
  45. "entry_name": "家政天下业务平台",
  46. "time": "1561428738",
  47. "order_count": 22,
  48. "haoping_count": 6,
  49. "zhongping_count": 6,
  50. "chaping_count": 6,
  51. "tousu_count": 6
  52. }
  53. ],
  54. "companys": [
  55. {
  56. "company_name": "广州市育英家政服务有限公司",
  57. "company_id": 1,
  58. "entry_name": "家政天下业务平台",
  59. "time": "1561428738",
  60. "order_count": "6",
  61. "haoping_count": "2",
  62. "zhongping_count": "3",
  63. "chaping_count": "4",
  64. "tousu_count": "5"
  65. },
  66. {
  67. "company_name": "爱家国际高端家政",
  68. "company_id": 73,
  69. "entry_name": "家政天下业务平台",
  70. "time": "1561428749",
  71. "order_count": "10",
  72. "haoping_count": "4",
  73. "zhongping_count": "3",
  74. "chaping_count": "2",
  75. "tousu_count": "1"
  76. },
  77. {
  78. "company_name": "金贝家政连锁华碧分店",
  79. "company_id": 11,
  80. "entry_name": "家政天下业务平台",
  81. "time": "1563348724",
  82. "order_count": "6",
  83. "haoping_count": null,
  84. "zhongping_count": null,
  85. "chaping_count": null,
  86. "tousu_count": null
  87. }
  88. ],
  89. "blacklist": 0,
  90. "耗时": 0.19900000000000001
  91. }
  92. }

说明:orders为家政员服务记录, blacklist家政员黑名单记录。

错误时返回一:

  1. {
  2. "code": 400,
  3. "msg": "没有找到您要的家政员信息!",
  4. "data": {
  5. "status": "error",
  6. "耗时": 0.090999999999999998
  7. }
  8. }

说明:出现此错误时,请检查“身份证号码”。