post:
request:
{ "action": "getRoomData", "isDebug":1, "token": "23b16784-54c5-4ca9-a885-e4b472ddc177", "requestData": { "Key": "e57c4868-937d-4a03-a1b0-bd3ef769d803" } }
post:
{ "data": { "AppUserKey": null, "ClientProjectAddress": null, "HouseTypeDescription": null, "HouseTypeKey": null, "Key": "e57c4868-937d-4a03-a1b0-bd3ef769d803", "RoomTypes": [ { "Remark": null, "RoomCountForRoomType": 1, "RoomTypeDescription": "餐厅", "RoomTypeKey": "01527aab-71ca-43e7-894d-79aa91f503ca", "Rooms": [ { "Key": "ccac5f7b-cab4-4606-bab6-de6e6cd28175", "RoomTypeKey": "01527aab-71ca-43e7-894d-79aa91f503ca", "SingleRoomArea": 8 } ], "TotalAreaForRoomType": 8 }, { "Remark": null, "RoomCountForRoomType": 1, "RoomTypeDescription": "客厅", "RoomTypeKey": "90b69ee8-5dc5-4882-b69d-e7bc26da449d", "Rooms": [ { "Key": "3cdb30c0-bc23-4b29-a599-cb94978c6e18", "RoomTypeKey": "90b69ee8-5dc5-4882-b69d-e7bc26da449d", "SingleRoomArea": 7 } ], "TotalAreaForRoomType": 7 }, { "Remark": null, "RoomCountForRoomType": 1, "RoomTypeDescription": "卧室", "RoomTypeKey": "1d2734f3-5f7a-4e25-b750-1478e3d614c6", "Rooms": [ { "Key": "d2ca5e06-26f2-4603-8fdb-3f2a23762f5b", "RoomTypeKey": "1d2734f3-5f7a-4e25-b750-1478e3d614c6", "SingleRoomArea": 63 } ], "TotalAreaForRoomType": 63 } ], "TotalArea": 78, "TotalLayerCount": 0, "TotalPeopleCount": 0 }, "msg": "success", "responseCode": { "msgCode": 200, "msgDetail": "OK" }, "serverTime": "2016-06-25 23:25:22", "success": true }
备注:
1) 本API与 另一个 API ( getHouseAndRoomData 取房屋与房间数据 ) 的返回结构一模一样,用的是同一个实体类。
区别在于 本 API仅取需要的字段信息。不取 项目地址与客户信息。
2) 本API input 中的 requestData.Key 是 HouseKey。HouseKey 的来源是 房型输入第二步保存成功后得到的 Key
(结束)
时间: 2024-12-23 16:48:54