- j8
- 巡检管理
- 巡检明细
- 巡检项目选项管理
- 巡检项目
- 巡检计划
- 巡检点
- 巡检路线
- 巡检路线巡检点
- 巡检任务
- 房产管理(业委会)
- j4
- 数据管理
- 组织管理
- c2
- j2
- j6
- 数据管理(导入模块)
- 合同管理
- j7
- c4
- c5
- j1
- c6
- c1
- j3
- c7
- j5
- c3
- 未命名接口GET
添加巡检计划
POST
/j8-patrolmgt/plan/add-inspection-plan
巡检计划
请求参数
Body 参数application/json
beforeTime
string
任务提前
canReexamine
string
必需
communityId
string
小区ID
createUserId
string
制定人员ID
createUserName
string
制定人员姓名
endDate
string <date-time>
结束日期
endTime
string
结束时间
inspectionDay
string
天
inspectionMonth
string
月份
inspectionPlanName
string
巡检计划名称
inspectionPlanPeriod
string
执行周期
inspectionRouteId
string
巡检路线ID
inspectionWorkday
string
周
signType
string
签到方式
staffId
string
巡检人ID
staffName
string
巡检人名称
startDate
string <date-time>
开始日期
startTime
string
开始时间
state
string
当前状态
示例
{
"beforeTime": "string",
"canReexamine": "string",
"communityId": "string",
"createUserId": "string",
"createUserName": "string",
"endDate": "2019-08-24T14:15:22Z",
"endTime": "string",
"inspectionDay": "string",
"inspectionMonth": "string",
"inspectionPlanName": "string",
"inspectionPlanPeriod": "string",
"inspectionRouteId": "string",
"inspectionWorkday": "string",
"signType": "string",
"staffId": "string",
"staffName": "string",
"startDate": "2019-08-24T14:15:22Z",
"startTime": "string",
"state": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/j8-patrolmgt/plan/add-inspection-plan' \
--header 'Content-Type: application/json' \
--data-raw '{
"beforeTime": "string",
"canReexamine": "string",
"communityId": "string",
"createUserId": "string",
"createUserName": "string",
"endDate": "2019-08-24T14:15:22Z",
"endTime": "string",
"inspectionDay": "string",
"inspectionMonth": "string",
"inspectionPlanName": "string",
"inspectionPlanPeriod": "string",
"inspectionRouteId": "string",
"inspectionWorkday": "string",
"signType": "string",
"staffId": "string",
"staffName": "string",
"startDate": "2019-08-24T14:15:22Z",
"startTime": "string",
"state": "string"
}'
返回响应
🟢200成功
*/*
Body
code
integer <int32>
状态码
示例值:
10000
data
enum<string>
数据对象
枚举值:
UNAUTHORIZEDFORBIDDENSERVER_ERRORPARAMS_INVALIDCONTENT_TYPE_ERRAPI_UN_IMPLSERVER_BUSYFAILSUCCESS
message
string
提示消息
示例值:
提示消息内容
示例
{
"code": 10000,
"data": "UNAUTHORIZED",
"message": "提示消息内容"
}
🟢201成功
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
修改于 2025-06-13 13:47:32