保存客户信息接口

更新时间:2022-09-28 17:30:28

接口说明

保存客户信息接口

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/business-member/save

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string
mobiles body array 18617105201 手机号码
mailing_zip_code body string 邮编 邮编
education_lv_id body string 教育程度 教育程度:传教育程度ID
country_id body string 国籍 国籍:传国家ID
nationality_id body string 民族 民族:传民族ID
account_address body string 户口地址详情 户口地址详情
account_province_id body string 户口地址所属省份 户口地址所属省份:省份ID
account_city_id body string 户口地址所属城市 户口地址所属城市:城市ID
account_zip_code body string 户口地址邮编 户口地址邮编
email body string 邮箱 邮箱
marital_status body string 婚姻状况 婚姻状况:0 未知 1 单身 2 已婚 3 离异
specialty body string 特长 特长
hobby body string 爱好 爱好
is_old_owner body string 是否老业主 是否老业主:0 否 1 是
buy_proj body string 01d5934e-b839-eb11-b398-f40270d39969,02bd6fcd8c048f1a059359b358641c0c 已购哪些项目:传项目ID
child_num body string 四人 子女数量:中文数字亦可
child_age_group body string 0~10,20~30 子女年龄段:中文数字亦可
family_struct body string 喜得二孩 家庭结构:传中文
contract_address body string 合同联系地址 合同联系地址
remark body string 其他信息说明 其他信息说明
age body string 年龄 年龄
emergency_contract_list body array 紧急联系人 紧急联系人
emergency_contract_list.name body string 紧急联系人姓名 紧急联系人姓名
emergency_contract_list.type body string 紧急联系人与业主关系 紧急联系人与业主关系
emergency_contract_list.unit_name body string 紧急联系人工作单位 紧急联系人工作单位
emergency_contract_list.mobiles body string 紧急联系人联系方式 紧急联系人联系方式
id body string 会员ID 会员ID
name body string 王镇宇 姓名
id_type body string 身份证 证件类型:传中文
id_code body string 430421199409258352 证件号码
birthday body string 1994-09-25 生日
sex body string 性别:'未知','男','女'
area body string 区/县:传中文
city body string 市:传中文
province body string 省:传中文
live_city body string 现居城市:传中文

请求示例

        {
            "mailing_zip_code": "",
        "education_lv_id": "",
        "country_id": "",
        "nationality_id": "",
        "account_address": "",
        "account_province_id": "",
        "account_city_id": "",
        "account_zip_code": "",
        "email": "",
        "marital_status": "",
        "specialty": "",
        "hobby": "",
        "is_old_owner": "",
        "buy_proj": "",
        "child_num": "",
        "child_age_group": "",
        "family_struct": "",
        "contract_address": "",
        "remark": "",
        "age": "",
        "emergency_contract_list": [
            {
                "name": "王者",
                "type": "家属",
                "unit_name": "测试单位",
                "mobiles": "13867765641"
            }
        ],
        "id": "39f95327-eda8-eaa7-4f41-371d8f87e09d",
        "name": "王镇宇",
        "id_type": "身份证",
        "id_code": "430421199409258352",
        "mobiles": "18617105201",
        "birthday": "1994-09-25",
        "sex": "男",
        "zip_code": "",
        "mailing_address": "",
        "area": "",
        "city": "",
        "province": "",
        "live_city": ""
        }

返回成功示例

{
    "errcode": 0,
    "errMsg": "ok",
    "rowVersion": "",
    "data": {
        "member_id": "000262a0-95d2-4020-b52c-a1af2c1b0006"
    }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number
errMsg string
rowVersion string
data array
data.member_id string 客户ID

失败返回示例

{
    "errcode":1001,
    "errMsg":"租户代码参数为空",
    "rowVersion":"",
    "data":[]
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number
errMsg string
rowVersion string
data array

results matching ""

    No results matching ""