文档
测试

创建房间

POST
room/create

接口描述

创建房间

请求头

参数名
类型
描述
必填
tenant
String
租户标识
必填
content-type
String
application/x-www-form-urlencoded
必填

请求参数

参数名
类型
描述
必填
openId
String
当前用户的openId
必填
resourceId
String
资源Id
必填
projectCode
String
项目代号
必填
userUuid
String
当前销售的openId(非必传)
必填
createUser
String
创建房间用户的openId
必填
trtcScene
String
带看场景 1:访客发起 2:顾问发起
必填
limitNum
String
房间最大人数,默认为1,多人带看最大人数为30,建议设置为8
必填

响应参数

参数名
类型
描述
必填
data
必填
id
int
房间ID
必填

说明 / 示例

``` appId: "greenCity" cover: "https://infishow.ideamake.cn/icp/lvcheng_youtehui_381/resources/index/cover.jpg" createUser: "43e84fafb08011eab6ee7cd30aeb117a" createdAt: "2020-08-24T09:57:26" customerInfo: "" customerSwitch: 1 duration: "00:00:00" entrance: "workbench" forwardCoverUrl: "https://gt-zylc.oss-cn-hangzhou.aliyuncs.com/20200727/0ba52ab1c2d44d3ab2fa322c90a38fbe.jpg" forwardVrTitle: "5555555555" id: 625 limitNum: null liveStatus: 0 notice: null onlineUsers: 0 projectCode: "c10b2d21cf7b494d8993723d6fa2a996" projectName: "优特绿城·桂语香山" promiseData: "1970-01-01T00:00:00" resourceId: "lvcheng_youtehui_381" resourceUrl: "https://lvchengyun.ideamake.cn/icp/lvcheng_youtehui_381/index.html" saleInfo: "{"phoneSwitch":1,"videoSwtich":1,"subscribeSwitch":1}" saleSwitch: 1 scene: 2 tenant: "greenCity" title: "优特绿城·桂语香山·微沙盘" updatedAt: null userUuid: "43e84fafb08011eab6ee7cd30aeb117a" ```