POST api/Patrol/SetPatrolAddressRecord
添加巡更纪录
Request Information
URI Parameters
None.
Body Parameters
SetPatrolAddressRecordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatrolTaskAddressAndStaffId |
任务里巡更点的执行Id |
string |
None. |
| PatrolDate |
巡更时间 |
date |
None. |
| Lat |
纬度 |
decimal number |
None. |
| Lng |
经度 |
decimal number |
None. |
| TwoDistance |
亮点之间的距离 单位米 |
decimal number |
None. |
| TemplateContentJson | string |
None. |
|
| IsExcept |
true 有异常,false 没异常 |
boolean |
None. |
| Memo |
异常备注 |
string |
None. |
| Image |
异常图片 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatrolTaskAddressAndStaffId": "sample string 1",
"PatrolDate": "2025-12-07 04:18:28",
"Lat": 3.0,
"Lng": 4.0,
"TwoDistance": 5.0,
"TemplateContentJson": "sample string 6",
"IsExcept": true,
"Memo": "sample string 8",
"Image": "sample string 9"
}
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"
}