保存客户及房产

更新时间:2024-06-04 16:35:44

接口说明

保存客户及房产

基本信息

请求方式: POST

请求路径:

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

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string 租户code
room_id body string 000013af-dbbf-e811-80bf-e61f13c57837 房间ID
member_id body string 000040a3-9f63-e711-80ba-e61f13c57837 客户ID 如果没有匹配到客户ID则新增加,否则修改客户信息
type body string 业主 类型 业主、同住人
relationship_with_owner body string 亲人 同住人类型 亲属、好友、租户、其他 ;type=同住人必填
mobiles body string 13161122001,13611203166 手机号 多个用,隔开
name body string 程执 客户名字
id_type body string 身份证 证件类型
id_code body string 421127190008901234 证件号码
birthday body string 1991-09-01 客户出生年月
sex body string 性别
zip_code body string 邮编 邮编
corp_id body string 000040a3-9f63-e711-80ba-e61f13c57337 公司ID
mailing_address body string 山东省青岛市黄岛区崇明岛西路65号 通讯地址
is_trade body string Y是 N否 是否发生买卖,type=业主必填。Y表示发生过买卖,此时为二手业主;N表示没有发生过买卖,此时为一手

请求示例

[
  {
    "room_id": "123456",
    "member_id": "123456",
    "is_trade":"Y",
    "type": "业主",
    "relationship_with_owner": "亲人",
    "mobiles": "13161101,1361126",
    "name": "xx",
    "id_type": "身份证",
    "id_code": "421087198901234",
    "birthday": "1991-09-01",
    "sex": "男",
    "zip_code": "邮编",
    "corp_id": "654321",
    "mailing_address": "xxxx"
  }
]

返回成功示例

{
  "errcode": 0,
  "errMsg": "ok",
  "rowVersion": "",
  "data": []
}

返回参数说明(成功)

参数名 参数类型 描述

失败返回示例

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

返回参数说明(失败)

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

results matching ""

    No results matching ""