码迷,mamicode.com
首页 > 其他好文 > 详细

saveHouseAndRoomDataV2 保存房屋与房间数据 V2

时间:2016-06-06 06:50:25      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:

POST:

request:

技术分享
{
    "action": "saveHouseAndRoomDataV2",
    "requestData": {
        "HouseTypeKey": "fa2ad2e1-818e-49ff-838b-7a484adf5ccd",
        "TotalArea": "11",
        "TotalPeopleCount": "1",
        "TotalLayerCount": "3",
        "ClientProjectAddress": {
            "ClientRealName": "张三",
            "Cellphone": "15211111111",
            "ProjectAddress": "宁波市江干区某某路233号234室",
            "Remark": "需要再次上门沟通需求"
        },
        "RoomTypes": [
            {
                "RoomCountForRoomType": 1,
                "RoomTypeKey": "1d2734f3-5f7a-4e25-b750-1478e3d614c6",
                "TotalAreaForRoomType": 1,
                "Rooms": [
                    {
                        "SingleRoomArea": "1"
                    }
                ]
            }
        ]
    },
    "token": "d618c2ba-89bb-451f-999d-8458454817ff"
}
View Code

response:

技术分享
{
    "data": "e26926d1-ff6e-4341-bc87-5e1f6973b815",
    "msg": "success",
    "responseCode": {
        "msgCode": 200,
        "msgDetail": "OK"
    },
    "serverTime": "2016-06-06 01:20:14",
    "success": true
}
View Code

 

备注:

1)

      V1:

  saveHouseAndRoomData 保存房屋与房间数据

  http://www.cnblogs.com/jwiter/p/5464033.html

2) ,  V2针对V1的改动,在于 REQUEST 中增加了一个 ClientProjectAddress 对象

 

(结束)

saveHouseAndRoomDataV2 保存房屋与房间数据 V2

标签:

原文地址:http://www.cnblogs.com/jwiter/p/5562578.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!