CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Obtain equipment fence information

Author 安康Updated 2026-08-28 17:40:25Doc ID 1457647 words · 3 min readView original ↗

Interface description

Query the list of zones distributed to devices through the 808 protocol

Request Example

https://v7.cmsv8.com/api/region/getRegion?jsession=66d754dd7f41473dbd2&devIdno=013300000001&markType=3

Request parameters

Parameter name Parameter type Whether it is required Example Parameter meaning
jsession string Yes 66d754dd7f41473dbd2 Session
devIdno string Yes 01330000001 Device number
markType string No 3 2 Line settings 3 Locale settings
name string No None Zone name

Return parameters

Parameter Name parameter Type meaning of parameters
result number interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy = 1 & pageType = 3 & docId = 1321 & type = 1 "Error Code Description").
message string
data array
id number
type number
vehicleId number vehicle ID
deviceIdno string equipment No.
mapMarkerId number area id
mapMarkerType number region Type: 1- Point, 2- Rectangle, 3- Polygon, 4- Route, 10- Circle
fenceName string area Name
fenceTypeExpand number muck truck agreement 1: construction site; 2: restricted area; 3: consumption yard; 4: speed limit circle; 5: parking lot
enableTimeJudgment number whether to enable the start time and end time judgment rule, 0: No; 1: Yes
startTime string start Time
endTime string end Time
everyDay number every day 0 No 1 Yes
speedLimit number no to enable the judgment rules of maximum speed, overspeed duration and maximum speed at night, 0: No; 1: Yes
maxSpeed number maximum speed (km/h)
maxNightSpeed number maximum speed at night (km/h)
duration number duration unit s
latType number0: north latitude; 1: south latitude
lngType number0: East longitude; 1: West longitude
noDoorOpening number
enterNoticePlatform number whether the entering area gives an alarm to the platform, 0: No; 1: Yes
outNoticePlatform number whether the outgoing area gives an alarm to the platform, 0: No; 1: Yes
enterNoticeDriver number whether to alarm the driver when entering the area, 0: No; 1: Yes
outNoticeDriver number whether the exit area gives an alarm to the driver, 0: No; 1: Yes
closeCommunication number0: Turn on the communication module into the area; 1: Turn off the communication module into the area
collectionGnss number0: GNSS detailed positioning data is not collected when entering the area; 1: GNSS detailed positioning data is collected when entering the area
radius string radius unit m
status number
sendTime string time of issue
deleteTime string
updateTime string update time
createTime string creation time
enableDrivingTime number section attribute (1 travel time, 2 speed limit, 3 time and speed limit), whether to enable travel time 0: No; 1: Yes
maxTime string
minTime string minimum travel time unit s
roadWidth string road width unit m
weekDay number
onlyNight number
speedThreshold number
excessiveThreshold number
excessiveDuration number
criticalThreshold number
criticalDuration number
stopDuration number
stopTimeout number
stayTimeout number
sendTimeStr string
deleteTimeStr string
updateTimeStr string
createTimeStr string
startTimeStr string
endTimeStr string
mapType number
mapMarkerRadius number
mapMarkerLat string
mapMarkerLon string
pagination string
infos string
key string
resMap string

Return to Example

{
"result": 0
"message": "OK ",
"data ": [
{
"id": 1
"type": 3
"vehicleId": 1
"deviceIdno": "013300000001 ",
"mapMarkerId": 1001116
"mapMarkerType": 10
"fenceName": "Zone 01",
"fenceTypeExpand": 1
"enableTimeJudgment": 0
"startTime ": "",
"endTime ": "",
"everyDay": 0
"speedLimit": 0
"maxSpeed ": "",
"maxNightSpeed ": "",
"duration ": "",
"latType": 0
"lngType": 0
"noDoorOpening": 0
"enterNoticePlatform": 0
"outNoticePlatform": 0
"enterNoticeDriver": 0
"outNoticeDriver": 0
"closeCommunication": 0
"collectionGnss": 0
"radius ": "",
"status": 0
"sendTime": "2024- 12- 02 21:05:24 ",
"deleteTime ": "",
"updateTime": "2024- 12- 02 21:05:18 ",
"createTime": "2024- 12- 02 21:05:18 ",
"enableDrivingTime": 0
"maxTime ": "",
"minTime ": "",
"roadWidth ": "",
"weekDay": 0
"onlyNight": 0
"speedThreshold": 0
"excessiveThreshold": 0
"excessiveDuration": 0
"criticalThreshold": 0
"criticalDuration": 0
"stopDuration": 0
"stopTimeout": 0
"stayTimeout": 0
"sendTimeStr": "2024- 12- 02 21:05:24 ",
"deleteTimeStr ": "",
"updateTimeStr": "2024- 12- 02 21:05:18 ",
"createTimeStr": "2024- 12- 02 21:05:18 ",
"startTimeStr ": "",
"endTimeStr ": "",
"mapType": 3
"mapMarkerRadius": 578
"mapMarkerLat": "38.219515 ",
"mapMarkerLon": "106.556642"
}
],
"pagination ": "",
"infos ": "",
"key ": "",
"resMap ": ""
}
Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com