POST api/Inspection/InspectionRecord
添加巡检纪录
Request Information
URI Parameters
None.
Body Parameters
InspectionRecordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
个人任务id |
string |
None. |
| TaskId |
主任务id |
string |
None. |
| StaffId |
执行人 |
string |
None. |
| CommunityId |
小区ID |
string |
None. |
| Lng |
经度 |
decimal number |
None. |
| Lat |
纬度 |
decimal number |
None. |
| IsExcept |
true 有异常,false 没异常 |
boolean |
None. |
| TwoDistance |
两点之间的距离 单位米 |
decimal number |
None. |
| Memo |
备注 |
string |
None. |
| Image | string |
None. |
|
| InspectionDate |
巡检时间 |
date |
None. |
| FacilityId |
设施设备ID |
string |
None. |
| TemplateContentJson | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"TaskId": "sample string 2",
"StaffId": "sample string 3",
"CommunityId": "sample string 4",
"Lng": 5.0,
"Lat": 6.0,
"IsExcept": true,
"TwoDistance": 8.0,
"Memo": "sample string 9",
"Image": "sample string 10",
"InspectionDate": "2025-12-07 04:19:57",
"FacilityId": "sample string 12",
"TemplateContentJson": "sample string 13"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultObjOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": "sample string 3"
}