Skip to content

功能概述

租赁合同详情接口

  • 根据订单ID获取租赁详情接口

接口访问

接口地址

rental/order/detail

请求方式 Method

GET

Header - Authorization Type : Bearer Token

属性类型长度必填默认值说明访问版本
tokenstring32true用户身份标识令牌-

请求参数

属性类型长度必填默认值说明
rentalIDint64true0租赁订单ID

请求示例

{
    "rentalID":1
}

返回值

属性类型长度说明
propertyIDint64物业编号
propertyBuildingHouseIDint64物业楼栋房产编号
usersPropertyIDint64用户物业编号
usersPropertyBuildingHouseIDint64用户物业楼栋房产编号
commencementDatestring256起租日
leaseTermint64租期(数字),单位取决于租期类型
leaseTermTypeint64租期类型 1. 日租 2. 月租 3. 年租
rentint64租金
paymentMethodint64支付方式 1.微信 2.支付宝
isDepositint64是否在线收取押金 0.否 1.是
depositFeeint64押金金额(分/总数)
depositTypeint64押金类型 1. 押一 2. 押二 3. 押三 以此类推
rentTypeint64租金类型 1. 付一 2. 付二 3. 付3 4. 半年 5. 一年
waterFeeint64水费(分/吨)
electricityFeeint64电费(分/度)
propertyFeeint64物业费(分/平方米)
parkingFeeint64汽车停车费(分/月/辆)
electricBikeFeeint64电动车停车费(分/月/辆)
isSubleaseint64是否可以转租 0.否 1.是
isChangeHouseint64是否可以在同业主下换租 0.否 1.是
rentalStatusint64租赁业务状态 1. 业务创建 2. 租客确认 3. 业主确认 4. 订单创建 5. 订单待支付 6. 订单已支付(租约起点未到) 7. 租约进行中 8. 租期结束 -1. 租客拒绝 -2. 业主拒绝 -3. 订单取消 -4. 订单未支付自动取消 -5. 租客违约 -6. 业主违约 -7. 租客解约 -8. 业主解约 -9. 租客逾期业务终止
rentalOrderIDint64支付订单ID
contractSigningDatedate64合同签署时间
terminationDatedate64退租时间
tenantUserNamestring64租客姓名
terminateStatusint64退租状态 1.租客发起退租 2.业主发起退租 3.租客确认,未到退租日 4.业主确认,未到退租日 5.退租办理中 6.退租完成
deduction_deposit_feeint64扣除押金金额
owner_user_remarkstring256业主备注
tenant_user_remarkstring256租客备注

返回示例

{
    "response": {
        "id": 58,
        "status": 0,
        "propertyId": 113,
        "propertyBuildingHouseId": 1718,
        "usersPropertyId": 141,
        "usersPropertyBuildingHouseId": 1733,
        "ownerUserId": 39,
        "tenantUserId": 39,
        "commencementDate": "2025-11-26",
        "terminationDate": "0000-00-00",
        "leaseTerm": 12,
        "leaseTermType": 2,
        "rent": 1100,
        "rentType": 3,
        "paymentMethod": 1,
        "depositFee": 111,
        "depositType": 1,
        "isDeposit": 1,
        "ownerUserRemark": "搞那么脏,包扣200的呀",
        "tenantUserRemark": "",
        "contractPeriod": 0,
        "contract": "",
        "contractSigningDate": "2025-11-26",
        "hardwareDoorLockId": 0,
        "hardwareElectricityMeterId": 0,
        "hardwareWaterMeterId": 0,
        "waterFee": 12,
        "isWaterFee": 0,
        "electricityFee": 12,
        "isElectricityFee": 0,
        "propertyFee": 12,
        "isPropertyFee": 0,
        "electricBikeFee": 0,
        "isElectricBikeFee": 0,
        "parkingFee": 0,
        "isParkingFee": 0,
        "newEnergyFee": 0,
        "isNewEnergyFee": 0,
        "isSublease": 0,
        "isChangeHouse": 0,
        "isUtilitiesAndRent": 0,
        "utilityBillDate": null,
        "rentalStatus": -8,
        "terminateStatus": 0,
        "dataLevel": 1,
        "isDelete": 0,
        "createTime": "2025-11-26 15:16:31",
        "modifyTime": "2025-12-04 14:15:54",
        "deleteTime": null,
        "tenantUserName": "挖野菜的小帅哥一枚"
    },
    "requestId": "eb8c96b3-5cba-4db5-a107-f0fc3298b424"
}

错误码

错误码说明解决方案
91021订单ID不能为空检查参数是否正确
404Fail代码报错