add estate: 添加 屋苑 資料 07-12 15:26
add estate: 添加 屋苑 資料
更新時間:2022-07-12 15:26:49
HTTP Request
POST: manager/estate/add
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
data | object | required | |
name | string | required | estates.name |
title_enHK | string | required | buildings.title_enHK |
title_zhHK | string | required | buildings.title_zhHK |
title_zhCN | string | required | buildings.title_zhCN |
Response Structure
Parameter | Type | Status | Description |
---|---|---|---|
status | int | required | 0: 成功, 非0: 失敗 |
data | object | optional | |
id | int | optional | estates.id |
Example usage
Example #1
POST: manager/estate/add
Body
{
"data": {
"name": "New estate",
"title_enHK": "new estate",
"title_zhHK": "new estate",
"title_zhCN": "new estate"
}
}
Response(200,status=0)
{
"status": 0,
"data": {
"id": 3
}
}