简要描述

  • 调用接口添加家政员

接口版本

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

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: multipart/form-data

请求参数:

参数名 是否必须 类型 说明
access_token string 获取到的授权码access_token
unified_social_credit_code string 本公司社会统一信用代码
ltems string 可服务类型 (查看服务类型定义:http://api.020gzjx.com/server_view
employee_name string 家政员姓名
employee_id_card string 身份证号码
employee_number string 座机号码
employee_phone string 手机号码
employee_name_used_before string 曾用名
employee_sex string 性别
employee_nation string 民族
employee_date_of_birth string 出生日期
licensing_authority string 发证机关
employee_native_place string 籍贯
employee_address string 户口所在地(身份证上的地址)
term_of_validity_start string 身份证有效期(开始时间)
term_of_validity_end string 身份证有效期(结束时间)
id_card_pic_positive string 身份证正面
id_card_pic_back string 身份证反面
latest_photo string 近半年小一寸相片
employee_time string 家政员登记时间(留空自动读系统时间)

返回示例:

正确时返回一:

  1. {
  2. "code": 200,
  3. "msg": "客政员添加成功,关联公司成功!",
  4. "data": {
  5. "status": "success",
  6. "time": 1560431722,
  7. "耗时": 0.14599999999999999
  8. }
  9. }

说明:当公司添加家政员返回此结果时说明家政员添加成功,time为添加入库时间戳。

错误返回一:

  1. {
  2. "code": 400,
  3. "msg": "客政员已在您公司存在!",
  4. "data": {
  5. "status": "error",
  6. "time": 1560431798,
  7. "耗时": 0.128
  8. }
  9. }

说明:当返回此结果时说明家政员已存在本公司家政员为,time为家政员创建时间戳。