Web Interface Documentation
Web Interface Documentation
html)
QUERY VEHICLE
VIDEO BUSINESS
CONTROL BUSINESS
DEVICE MANAGEMENT
AREA INFORMATION
ORGANIZATION MANAGEMENT
ROLE MANAGEMENT
USER MANAGEMENT
DRIVER MANAGEMENT
SIM MANAGEMENT
REPORTS
parameter please do URL encoding(UTF-8), comply with RFC 1738 when coding.
Chinese Example
3.Common Param
Whether
Param Name Param Type Desc
Must
jsession string Yes Return session after user logged
When a third-party call Open API by JS,
by specifying the callback parameter, the
platform will return JSONP code, used to
callback string No
solve cross-border problems.Callback
parameter values can only be
alphanumeric number and underscores.
$.ajax({
type:'POST',
url: 'https://www.mobilecam2.net/StandardApiAction_loginEx.action?callback=getData',
data: data,
cache:false,
dataType:'JSONP',
success: getData=function (data) {
if(data.result == 0){
alert('Success');
} else {
alert('Failure');
}
},
});
Login
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
account string Yes No Account
password string Yes No Password
Request Example
https://www.mobilecam2.net/StandardApiAction_login.action?account=admin&password=admin (https://www.mobilecam2.net/StandardApiAction_login.action?account=admin&password=admin)
Return Param Desc
Param Name Param Type Desc
jsession string Jsession
Correctly Returns Examples
{
"result": 0,
"jsession": "cf6b70a3-c82b-4392-8ab6-bbddce336222",
"account_name": "admin",
"JSESSIONID": "cf6b70a3-c82b-4392-8ab6-bbddce336222"
}
Way 1:
Login to the background interface Include video and other interfacesSee Also:https://www.mobilecam2.net/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&clientLogin=2
(https://www.mobilecam2.net/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&clientLogin=2)
Input Param Desc: userSession represents the session number returned by the user login; clientLogin means whether it contains location, video, track playback and other functions (2 means included),Higher priority than menuIds,menuIds
represents the menu ID (use, separate) 25 real-time video 26 historical playback
Method 2:
Input Param Desc: userSession represents the session number returned by the user logging in; menuKey represents the group key of the custom group, with the highest priority.
MenuKey setting method: add in operation management-custom menu management, menuKey is the group key.
Logout
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_logout.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222 (https://www.mobilecam2.net/StandardApiAction_logout.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222)
Return Param Desc
Param Name Param Type Desc
Query Vehicle
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_queryUserVehicle.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&language=zh (https://www.mobilecam2.net/StandardApiAction_queryUserVehicle.action?jsession=cf6b70a3-
c82b-4392-8ab6-bbddce336222&language=zh)
Return Param Desc
a.Vehicle Information
Get DevIdno
(2)Private Param
(2)Private Param
(2)Private Param
Bit0: forward collision alarm, bit1: lane departure alarm, bit2: vehicle distance
adas1 number
over alarm, bit3: pedestrian collision alarm
bit4: frequent lane change alarm, bit5: road sign over limit alarm, bit6: obstacle
alarm, Bit7: Curved speed warning
Valid when lg=2,Active safety adas alarm status bit Lv2
Bit0: forward collision alarm, bit1: lane departure alarm, bit2: vehicle distance
adas2 number
over alarm, bit3: pedestrian collision alarm
bit4: frequent lane change alarm, bit5: road sign over limit alarm, bit6: obstacle
alarm, Bit7: Curved speed warning
Valid when lg=2,Active safety dsm alarm status bit Lv1
Bit0: fatigue driving alarm, bit1: call alarm, bit2: smoking alarm 3: long time no
dsm1 number visual alarm, bit4: system can not work normally alarm
bit5: driver does not wear seat belt alarm, bit6: driving The member is not in
the driver's seat alarm, bit7: the driver's hands are off the steering wheel
alarm, bit8: distracted driving alarm (Su), bit9: driver abnormal alarm (Su)
Valid when lg=2,Active safety dsm alarm status bit Lv2
Bit0: fatigue driving alarm, bit1: call alarm, bit2: smoking alarm 3: long time no
dsm2 number visual alarm, bit4: system can not work normally alarm
bit5: driver does not wear seat belt alarm, bit6: driving The member is not in
the driver's seat alarm, bit7: the driver's hands are off the steering wheel
alarm, bit8: distracted driving alarm (Su), bit9: driver abnormal alarm (Su)
Valid when lg=2
bsd1 number
Active safety bsd alarm status bit bit0: left blind zone alarm, bit1: right blind
zone alarm, bit2: rear approaching alarm
Front vehicle speed (Km/h). The asas alarm status bit is valid when bit0 =1
fvs number
and bit1=1
Front vehicle/pedestrian distance (100ms). The asas alarm status bits are
dst number
valid for bit0 = 1, bit1=1 and bit3 = 1
rfd number Road sign identification data. asas alarm type
dvt number Deviation type (0: left 1: right).asas alarm status bit is valid for bit1=1
Road marker identification type (0: speed limit flag 1: limit height flag 2: weight
rft number
limit flag) is valid when the asas alarm type is bit5 = 1.
fl number Fatigue degree. dsm alarm type
yn number Number of yawns. The dsm alarm status bit is valid when bit0 = 1.
cet number Closed eye duration (100ms). The dsm alarm status bit is valid when bit0 = 1.
wc number Number of consecutive blinks. The dsm alarm status bit is valid when bit0 = 1.
tp number Tire pressure data, formatted as hex. dsm alarm type
ef number Additional information flag 0-Bus OBD 1-Video Department 2-UAE School Bus
ef=1: video loss flag, ef=2: hard disk 3 status 0 is invalid, 1 exists, 2 does not
p1 number
exist
p2 number ef=1:Video occlusion flag, ef=2: Hard disk 3 type 1sd, 2hd, 3ssd
ef=1:Disk error flag, ef=2: Hard disk 4 status 0 is invalid, 1 exists, 2 does not
p3 number
exist
p4 number ef=1:Abnormal driving flag, ef=2: Hard disk 4 type 1sd, 2hd, 3ssd
p5 number ef=1:Fatigue degree, ef=2: humidity 1 sensor
p6 number ef=2:Humidity 2 sensor
p7 number ef=2:Humidity 3 sensor
lid number Line id
drid number Driver id
dct number Line direction 0 Up 1 Down
sfg number Site identification 0 site 1 station
snm number Site index
sst number Site status 1 site 0 station
or number OBD collects engine speed
os number OBD capture engine speed
ov number OBD collecting battery voltage
ojt number OBD collecting battery voltage
ost number OBD acquisition status
ojm number OBD capture throttle position
driSw number Driver swipe card timestamp
driJn string Driver Qualification Certificate Number
driSwStr string Driver swiping time
dinfo string Driver Information
Correctly Returns Examples
{
"result": 0,
"status":[
{
"id":"500000",
"vid": null,
"lng":113921858,
"lat":22568745,
"ft":0,
"sp":520,
"ol":0,
"gt":"2015-12-14 18:54:58.0",
"pt":1,
"dt":1,
"ac":1,
"fdt":0,
"net":0,
"gw":"G1",
"s1":805310851,
"s2":1280,
"s3":0,
"s4":0,
"t1":-321,
"t2":350,
"t3":-200,
"t4":0,
"hx":137,
"mlng":"113.926720",
"mlat":"22.565703",
"pk":0,
"lc":161446267,
"yl":101,
"jn":null,
"dn":null,
"ps":"113.926720,22.565703",
"abbr":null,
"adas1":null,
"adas2":null,
"aq":null,
"bsd1":null,
"bsd2":null,
"cet":null,
"ct":null,
"dct":null,
"drid":null,
"dsm1":null,
"dsm2":null,
"dst":null,
"dvt":null,
"ef":null,
"es":null,
"fl":null,
"fvs":null,
"glat":null,
"glng":null,
"hv":null,
"imei":null,
"imsi":null,
"ios":null,
"lg":null,
"lid":null,
"ls":null,
"lt":null,
"ojm":null,
"ojt":0,
"or":0,
"os":0,
"ost":0,
"ov":0,
"p1":0,
"p2":0,
"p3":0,
"p4":0,
"p5":0,
"p6":0,
"p7":0,
"p8":0,
"p9":0,
"p10":0,
"po":null,
"pss":null,
"rfd":null,
"rft":null,
"rt":null,
"sfg":0,
"sn":null,
"snm":0,
"sst":0,
"sv":null,
"tp":null,
"tsp":0,
"ust":null,
"wc":null,
"yn":null
}
]
}
Map Example
(1)URL
https://www.mobilecam2.net/808gps/open/map/vehicleMap.html?account=admin&password=admin&devIdno=500000 (https://www.mobilecam2.net/808gps/open/map/vehicleMap.html?account=admin&password=admin&devIdno=500000)
(2)Param Desc
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
jsession string No No If it is empty, it is determined that the
account and password.
Account
If jsession is empty, it is determined
that the account and password.
account string No No
If user name and password is empty, it
is judged background configuration
username and password.
password string No No Password
Device No.
devIdno string No No If it is empty, it is determined that the
vehiIdno.
Plate Number
vehiIdno string No No If the devIdno is empty, it is judged that
the vehiIdno.
Language Settings
lang string No zh
en means English, otherwise Chinese.
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
devIdno string Yes No Device No.
begintime string Yes No Start Time
End Time
endtime string Yes No Start time is not greater than the end
time
Distance
distance number No No
Unit: KM.
Parking Time
parkTime number No No
Unit: sec.
Analysis of geographical position
1 provides resolution geographic
geoaddress number No No location services
If you don't pass it, don't analysis the
location
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Map Coordinates Conversion
1 shows Coordinates converted to
toMap number No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Request Example
https://www.mobilecam2.net/StandardApiAction_queryTrackDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30
23:59:59&distance=0&parkTime=0¤tPage=1&pageRecords=50&toMap=1 (https://www.mobilecam2.net/StandardApiAction_queryTrackDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30 23:59:59&distance=0&parkTime=0¤tPage=1&pageRecords=50&toMap=1)
Return Param Desc
Param Name Param Type Desc
Track Detail
Details See also:Get Device Status(GPS)Return
tracks Array
Param Desc (webApi.html#sec-vehicle-device-
gps)
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"tracks":[
{
"id":"500000",
"lng":113921858,
"lat":22568745,
"ft":0,
"sp":520,
"ol":null,
"gt":"2015-12-14 18:54:58.0",
"pt":1,
"dt":1,
"ac":1,
"fdt":0,
"net":0,
"gw":"G1",
"s1":805310851,
"s2":1280,
"s3":0,
"s4":0,
"t1":-321,
"t2":350,
"t3":-200,
"t4":0,
"hx":137,
"mlng":"113.926720",
"mlat":"22.565703",
"pk":0,
"lc":161446267,
"yl":101
}
],
"pagination":
{
"totalPages": 42
"currentPage": 1
"pageRecords": 50
"totalRecords": 2078
"sortParams": null
"hasNextPage": true
"hasPreviousPage": false
"nextPage": 2
"previousPage": 1
"startRecord": 0
}
}
Map Example
(1)URL
(2)Param Desc
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
jsession string Yes No If it is empty, it is determined that the
account and password.
Plate Number
vehiIdno string Yes No If the devIdno is empty, it is judged that
the vehiIdno.
begintime string Yes No Start Time
endtime string Yes No End Time
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
Device No.
devIdno string No No It may be more than one, in order to ',' separation.
If it is empty, it is determined that the vehiIdno.
Plate Number
It may be more than one, in order to ',' separation.
If the devIdno is empty, it is judged that the vehiIdno.
vehiIdno string No No
Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
begintime string Yes No Start Time
End Time
endtime string Yes No Start time is not greater than the end time, and the number of query
days must not be greater than 90 days.
Alarm Type
armType string Yes No
In ',' split, Can't be empty.
Handle Status
handle number No No
1 shows Handled, 0 shows unhandled, other query all the status.
currentPage number No 1 Current Page
pageRecords number No 10 Page Record
Analysis of geographical position
geoaddress number No No 1 provides resolution geographic location services
If you don't pass it, don't analysis the location
Map Coordinates Conversion
toMap number No No 1 shows Coordinates converted to Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu map Coordinates
Request Example
https://www.mobilecam2.net/StandardApiAction_queryAlarmDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30
23:59:59&armType=2,9,11&handle=0¤tPage=1&pageRecords=50&toMap=2 (https://www.mobilecam2.net/StandardApiAction_queryAlarmDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30 23:59:59&armType=2,9,11&handle=0¤tPage=1&pageRecords=50&toMap=2)
Return Param Desc
Param
Param Name Desc
Type
info number Alarm Info
desc string Alarm Desc
Alarm Type
atp number Details See also:Alarm Type Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
did string Device No.
Plate Number
vid string
If you are using the devIdno query, it is null.
etm number Alarm End Time (UTC) in seconds
stm number Alarm Start Time (UTC) in seconds
guid string Alarm Unique Number
Alarm Param 1
p1 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 2
p2 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 3
p3 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 4
p4 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Image Info
img string
split by ;, and http path, and can be multiple image info.
Handle Status
hd number
1 shows Handled, 0 shows unhandled.
hdu number Handle User Id
hdc string Handle Content
hdt string Handle Time
Alarm Start Status 1
Details See also:Alarm Status Desc
ss1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm Start Status 2
Details See also:Alarm Status Desc
ss2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 1
Details See also:Alarm Status Desc
es1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 2
Details See also:Alarm Status Desc
es2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
slng number Alarm Start Lng
slat number Alarm Start Lat
elng number Alarm End Lng
elat number Alarm End Lat
Alarm Start Speed
ssp number
Unit: km/h, you must first use divided by 10.
Alarm End Speed
esp number
Unit: km/h, you must first use divided by 10.
Alarm Start Mileage
slc number
Unit: m.
Alarm End Mileage
elc number
Unit: m.
Alarm Start Map Lng
smlng string
Get the lng through the conversion
Alarm Start Map Lat
smlat string
Get the lat through the conversion
Alarm End Map Lng
emlng string
Get the lng through the conversion
Alarm End Map Lat
emlat string
Get the lat through the conversion
Alarm start location
sps string The geographic location after analysis or (alarm start map longitude, alarm
start map latitude)
Alarm end location
eps string The geographic location after the analysis (or the end of the map, the
longitude of the alarm, the latitude of the end of the map)
createtime string Update time
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"alarms":[
{
"info": 0,
"desc":"",
"atp":11,
"did":"500000",
"vid":null,
"etm":1451374197000,
"stm":1451374197000,
"guid":"500000EB9B109898F74ADCB1B4446B9FFD2",
"p1":12000,
"p2":6000,
"p3":10000,
"p4":0,
"img":"",
"hd":1,
"hdu":"admin",
"hdc":"vcxvcvcxv",
"hdt":"2015-12-29 16:50:50",
"ss1":805327235,
"ss2":0,
"es1":805327235,
"es2":0,
"slng":113850504,
"slat":22628389,
"elng":113850504,
"elat":22628389,
"ssp":990,
"esp":990,
"slc":164338463,
"elc":164338463,
"smlng":"113.861938",
"smlat":"22.631491",
"emlng":"113.861938",
"emlat":"22.631491",
"sps":"113.861938,22.631491",
"eps":"113.861938,22.631491",
"createtime":"2020-08-08 16:50:50"
}
],
"pagination":
{
"totalPages": 42
"currentPage": 1
"pageRecords": 50
"totalRecords": 2078
"sortParams": null
"hasNextPage": true
"hasPreviousPage": false
"nextPage": 2
"previousPage": 1
"startRecord": 0
}
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
DevIDNO string No No Device No.
Map Coordinates Conversion
1 shows Coordinates converted to
toMap number No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Request Example
https://www.mobilecam2.net/StandardApiAction_vehicleAlarm.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&toMap=2 (https://www.mobilecam2.net/StandardApiAction_vehicleAlarm.action?
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&toMap=2)
Return Param Desc
Param Param
Desc
Name Type
info number Alarm Info
guid string Alarm Unique Number
desc string Alarm Desc
Alarm Type
type number Details See also:Alarm Type Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
DevIDNO string Device No.
Handle Status
hd number
1 shows Handled, 0 shows unhandled.
Image Info
img string
split by ;, and http path, and can be multiple image info.
Alarm Param 1
p1 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 2
p2 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 3
p3 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 4
p4 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Lng
lng number If the device location is invalid, the value of 0.
For example: 113231258, the true value is 113.231258
Lat
lat number If the device location is invalid, the value of 0.
For example: 39231258, the true value is 39.231258
Speed
sp number
Unit: km/h, you must first use divided by 10.
Parking Time
pk number
Unit: sec.
Network Type
net number
0 means 3G, 1 means WIFI, 2 means wired, 3 means 4G, 4 means 5G.
Map Lng
mlng string
Get the lng through the conversion
Map Lat
mlat string
Get the lat through the conversion
Status 1
Details See also:Device Status Desc
s1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Status 2
Details See also:Device Status Desc
s2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Status 3
Details See also:Device Status Desc
s3 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Status 4
Details See also:Device Status Desc
s4 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
t1 number Temp Sensor 1
t2 number Temp Sensor 2
t3 number Temp Sensor 3
t4 number Temp Sensor 4
mileage
lc number
Unit: m.
Direction
hx number North direction is 0 degrees, clockwise increases, the maximum value of 360
degrees.
gt string GPS Upload Time
Fuel
yl number
Unit: L, you must first use divided by 100.
srcAt number Type of source alarm
srcTm string Source alarm time
Type of source alarm started
stType number
The alarm is used when the start and end alarm types are used
time string Alarm time
dct number Bus use, 0 uplink, 1 down
lid number Bus use, Line number
sfg number Bus use, Site sign 0- site 1- station yard
snm number Bus use, Site index
tsp number Bus use, Site status 0- station 1- next stop
sst number Speed of traveling data recorder
Correctly Returns Examples
{
"result": 0,
"alarmlist":[
{
"DevIDNO":500000,
"desc":"",
"guid":"C0C580F6E5094FDF8710289627676075",
"hd":0,
"img":"",
"info":0,
"p1":0,
"p2":0,
"p3":0,
"p4":0,
"rve":0,
"srcAt":0,
"srcTm":"2000-00-00 00:00:00",
"stType":0,
"type":48,
"time":2017-10-24 18:20:48,
"Gps":{
"dct":0,
"gt":"2017-10-24 18:20:48",
"hx":71,
"lat":22649633,
"lc":7503761,
"lid":4,
"lng":113827278,
"mlat":"22.652409",
"mlng":"113.838835",
"net":0,
"pk":0,
"s1":805310851,
"s2":0,
"s3":0,
"s4":0,
"sfg":0,
"snm":0,
"sp":540,
"sst":0,
"t1":-321,
"t2":350,
"t3":-200,
"t4":0,
"tsp":0,
"yl":10644
}
}
]
}
Vehicle Mileage
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
It may be more than one, in order to ',' separation.
vehiIdno string No No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Start Time
begintime string Yes No
Start time is not greater than the end time
endtime string Yes No End Time
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_runMileage.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25&endtime=2018-3-30¤tPage=1&pageRecords=50
(https://www.mobilecam2.net/StandardApiAction_runMileage.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25&endtime=2018-3-30¤tPage=1&pageRecords=50)
Return Param Desc
Param Name Param Type Desc
mileage
mile number
Unit: m.
vehIdno string Plate Number
Correctly Returns Examples
{
"result": 0,
"infos":[
{,
"vehIdno":50000,
"mile":161446267
}
],
"pagination":
{
"totalPages": 1
"currentPage": 1
"pageRecords": 50
"totalRecords": 1
"sortParams": null
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"startRecord": 0
}
}
Vehicle Parked
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
It may be more than one, in order to ',' separation.
vehiIdno string No No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Start Time
begintime string Yes No
Start time is not greater than the end time
endtime string Yes No End Time
Parking Time
parkTime string Yes No
Unit: sec.
Map Coordinates Conversion
toMap number Yes No 1 shows Coordinates converted to Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu map Coordinates
Analysis of geographical position
geoaddress number No No 1 provides resolution geographic location services
If you don't pass it, don't analysis the location
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_parkDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25 00:00:00&endtime=2018-3-30
23:59:59&parkTime=0&toMap=2¤tPage=1&pageRecords=50 (https://www.mobilecam2.net/StandardApiAction_parkDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25
00:00:00&endtime=2018-3-30 23:59:59&parkTime=0&toMap=2¤tPage=1&pageRecords=50)
Return Param Desc
Param Name Param Type Desc
vehiIdno string Plate Number
companyName string Company Name
Parking Time
alarmTotalTime number
Unit: sec.
startPosition string Geographical Position
armTimeStart number Start Time(millisecond)
armTimeEnd number End Time(millisecond)
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"guid":"E41DED6D027E47879AE11C8E0AD977B0",
"vehIdno":50000,
"companyName":"test",
"startPosition":"Sinopec Xinqiao Gas Station, No.184, Guangshen Road, Shajing Street, Baoan District, Shenzhen City, Guangdong Province",
"armTimeStart":1522393426000,
"armTimeEnd":1522393984000,
"alarmTotalTime":558
}
],
"pagination":
{
"totalPages": 1
"currentPage": 1
"pageRecords": 50
"totalRecords": 1
"sortParams": null
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"startRecord": 0
}
}
Vehicle Latest Location
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
It may be more than one, in order to ',' separation.
vehiIdno string No No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Map Coordinates Conversion
toMap number No No 1 shows Coordinates converted to Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu map Coordinates
Analysis of geographical position
geoaddress number No No 1 provides resolution geographic location services
If you don't pass it, don't analysis the location
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_vehicleStatus.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&toMap=2¤tPage=1&pageRecords=50&geoaddress=0
(https://www.mobilecam2.net/StandardApiAction_vehicleStatus.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&toMap=2¤tPage=1&pageRecords=50&geoaddress=0)
Return Param Desc
Param Name Param Type Desc
vi string Plate Number
tm number Start Time(millisecond)
jd number Lng
wd number Lat
pos string Geographical Position
Correctly Returns Examples
{
"result": 0,
"infos":[
{,
"vi":50000,
"tm":1523609431000,
"jd":113873128,
"wd":22618579,
"pos":"Pingluanshan Park, Jinghong Kong-Macao Expressway, Xixiang Street, Baoan District, Shenzhen City, Guangdong Province"
}
],
"pagination":
{
"totalPages": 1
"currentPage": 1
"pageRecords": 50
"totalRecords": 1
"sortParams": null
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"startRecord": 0
}
}
https://www.mobilecam2.net/808gps/open/vehicleStatus.html?userSession=1bd49f53-8e49-4cad-972c-bf48cc4b3c83&vehiIdno=50000 (https://www.mobilecam2.net/808gps/open/vehicleStatus.html?userSession=1bd49f53-8e49-4cad-972c-
bf48cc4b3c83&vehiIdno=50000)
(2)Param Desc
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
userSession string No No If it is empty, it is determined that the
account and password.
Plate Number
vehiIdno string No No It may be more than one, in order to ','
separation.
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
begintime string Yes No Start Time
End Time
endtime string Yes No Start time is not greater than the end
time
Plate Number
vehiIdno string No No It may be more than one, in order to ','
separation.
Map Coordinates Conversion
1 shows Coordinates converted to
toMap number No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Query Type, 1-Fuel Volume Details
byOil number No No Report Others - Mileage Details
Report
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_getOilTrackDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=1111111&begintime=2020-05-18 00:00:00&endtime=2020-06-17
23:59:59&toMap=2¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_getOilTrackDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=1111111&begintime=2020-05-18
00:00:00&endtime=2020-06-17 23:59:59&toMap=2¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
vehiIdno string Plate Number
companyName string Company Name
plateType number Plate Type
bTimeStr number Start Time
eTimeStr number End Time
liCheng number Total mileage, unit: m
youLiang number Total fuel consumption, 100=1 litre
startPosition string Start position
endPosition string End position
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"pagination": {
"endRecord": 0,
"pagin": null,
"totalPages": 1,
"hasPreviousPage": false,
"sortParams": null,
"currentPage": 1,
"pageRecords": 10,
"totalRecords": 1,
"startRecord": 0,
"page": false,
"previousPage": 1,
"nextPage": 1,
"directQuery": false,
"hasNextPage": false,
"primaryKey": "id"
},
"infos": [
{
"companyName":"xxx",
"vehiIdno":"A205050500001",
"liCheng":0,
"youLiang":0,
"startPosition":"489 meters south of Phoenix Police Station, G 107(Guangshen Highway), Baoan District, Shenzhen City, Guangdong Province",
"endPosition":"489 meters south of Phoenix Police Station, G 107(Guangshen Highway), Baoan District, Shenzhen City, Guangdong Province",
"eTimeStr":"2022-04-13 23:59:30",
"bTimeStr":"2022-04-12 00:00:02",
"vehiCount":null,
"clockCount":null,
"noGps":null,
"startGaoDu":null,
"liChengLong":0,
"driftRate":null,
"date":null,
"uploadWifiLiuLiang":null,
"downWifiLiuLiang":null,
"uploadSimLiuLiang":null,
"gpsDriftLicheng":null,
"runStopType":null,
"downSimLiuLiang":null,
"dateI":null,
"startTime":1649692802853,
"haulDistanceDistributed":null,
"noPhoto":null,
"runStop":null,
"endTime":1649865570253,
"companyId":null,
"workTime":null,
"vehiId":null,
"driver":null,
"industryType":null,
"plateType":1,
"speedLimit":null,
"endTimeStr":null,
"startTimeStr":null,
"driverId":null,
"startLiCheng":105600,
"endLiCheng":105600,
"areaSpeedLimit":null,
"drivingAlarmSum":null,
"gpsDateStr":null,
"trackDisconNum":null,
"posPassRate":null,
"onlineVehiCount":null,
"endYouLiang":0,
"startYouLiang":0,
"addYouLiang":0,
"hundredYouLiang":0.0,
"reduceYouLiang":0,
"endGaoDu":null,
"gpsDate":null,
"alarmSum":null,
"did":null,
"gpsLatLngErrNum":null,
"gpsTotal":null,
"trackGPSLiCheng":null,
"gpsSpeedErrNum":null,
"gpsUnlocatedNum":null,
"gpsDriftNum":null,
"startWeiDu":22692464,
"startJingDu":113828043,
"endJingDu":113828043,
"onlineStatus":null,
"endWeiDu":22692464,
"enterNetwork":null,
"integrityRate":null,
"vehiName":null,
"gpsAltitudeErrNum":null,
"gpsDirectionErrNum":null,
"trackDisconLiCheng":null,
"qualifiedGpsTotal":null
},
]
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
It may be more than one, in order to ',' separation.
vehiIdno string Yes No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Start Time
begintime string Yes No
Start time is not greater than the end time
endtime string Yes No End Time
Map Coordinates Conversion
toMap number Yes No 1 shows Coordinates converted to Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu map Coordinates
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryAccessAreaInfo.action?jsession=dd8575726c6244e28fe796924907080a&vehiIdno=10001&begintime=2023-2-14 00:00:00&endtime=2023-2-14
23:59:59&toMap=2¤tPage=1&pageRecords=5 (https://www.mobilecam2.net/StandardApiAction_queryAccessAreaInfo.action?jsession=dd8575726c6244e28fe796924907080a&vehiIdno=10001&begintime=2023-2-14
00:00:00&endtime=2023-2-14 23:59:59&toMap=2¤tPage=1&pageRecords=5)
Return Param Desc
Param Name Param Type Desc
vehicle string Plate Number
gpsTime number Positioning time
lat string Lat
lon string Lng
customArea string Area Name
passType number In and out status (in: 1, out: 2)
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"vehicle":"10001",
"gpsTime":1676346074000,
"lat":"22.638488",
"lon":"113.853973",
"customArea":"xi an distribution point",
"passType":2
}
],
"pagination":
{
"totalPages": 1
"currentPage": 1
"pageRecords": 50
"totalRecords": 1
"sortParams": null
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"startRecord": 0
"page": false
"endRecord": 5
"rp": null
"primaryKey": "id"
"directQuery": false
"pagin": null
"qtype": null
}
}
Video Business
Param Whether
Param Type Defaults Desc
Name Must
Page HTML tag id
domId string Yes No
Usually cmsv6flash.
For h5 player, if isVodMode is
configured as true when initializing,
there can be a playback toolbar and
drag operation can be performed. The
h5 player can also support multi-
isVodMode number Yes No channel synchronous playback
startVodM(url, "0,1,2,3"), and the
device needs to support multi-channel
synchronous playback. The second
parameter "0,1,2,3" Indicates the
playback channel
width number Yes No Video plug-width
height number Yes No Video plug-height
lang string No en Language type
Whether
Param Name Param Type Defaults Desc
Must
Chinese
language language package path
languagePath string No
pack: Relative path or absolute path.
cn.xml
Param Whether
Param Type Defaults Desc
Name Must
The number of windows (not more
windowNum number Yes No
than 36)
Param Whether
Param Type Defaults Desc
Name Must
ip string Yes No Login server ip
port number Yes No Login server port
Operation Example
(1)Operation Example
Param Whether
Param Type Defaults Desc
Name Must
Page HTML tag id
cmsv6flash string Yes No
Usually cmsv6flash.
width number Yes No Video plug-width
height number Yes No Video plug-height
Video plug-in init param
params object No No
lang, and so on.
Video plugin type
playerType string No auto
flash、h5、auto
(2)Change the video plugin type method, it only takes effect when the initialization method 'playerType = auto', it will refresh the page ttxVideoAll.switchType('flash')
Param Whether
Param Type Defaults Desc
Name Must
playerType string No auto flash、h5、auto
Whether
Param Name Param Type Defaults Desc
Must
Chinese
language language package path
languagePath string No
pack: Relative path or absolute path.
cn.xml
Param Whether
Param Type Defaults Desc
Name Must
The number of windows (not more
windowNum number Yes No
than 36)
Operation Example
(1)Operation Example
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
jsession string No No If it is empty, it is determined that the
account and password.
Account
If jsession is empty, it is determined
that the account and password.
account string No No
If user name and password is empty, it
is judged background configuration
username and password.
password string No No Password
Device No.
devIdno string No No If it is empty, it is determined that the
vehiIdno.
Plate Number
vehiIdno string No No If the devIdno is empty, it is judged that
the vehiIdno.
The number of channels to preview the
channel number No No video.
Maximum support 9 window Play.
stream number No 1 0 main stream, 1 sub stream
close number No No Video preview time, Units sec.
Language Settings
lang string No zh
en means English, otherwise Chinese.
Operation Example
(1)Operation Example
Call Method
(1)Set the video window title setVideoInfo(index, title)
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
title string No No Window Title
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
jsession string Yes No After user login returning jsession
devIdno string Yes No Device No.
channel number Yes No Device Channel(starting from 0)
Video Stream
stream number Yes No 1 represents sub-stream, 0 represents
main stream.
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
(5)Set the minimum buffer time of video setBufferTime(index, time)
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
It's mainly used for the adjustment of
2(Unit: video lazy load. When the video buffers
time number Yes
sec.) the minimum buffer time of video, then
it will play the video.
Param Whether
Param Type Defaults Desc
Name Must
index number Yes No Window Index(starting from 0)
It's mainly used for the adjustment of
6(Unit: video lazy load. When the video buffers
time number Yes
sec.) the maximum buffer time of video, then
it will play the video fast-forward.
Caption In the current video JS corresponding file, add new function: function onTtxVideoMsg(index, type){}
example:http://www.mobilecam2.net:6604/hls/1_10000_0_1.m3u8?JSESSIONID=cf6b70a3-c82b-4392-8ab6-bbddce336222
Param Whether
Param Name Defaults Desc
Type Must
stream media Ip string Yes No stream media Ip
streaming media client
streaming media client service port string Yes No
service port
request type(1
video)_equipment
number_channel
requestType_deviceNumber_channelNumber_bitstreamType string Yes No number_stream type
(0 primary bit stream 1
bitstream)
example:1_10000_0_1
JSESSIONID string Yes No Jsession
Operation Example
(1)Operation Example
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
jsession string No No If it is empty, it is determined that the
account and password.
Account
If jsession is empty, it is determined
that the account and password.
account string No No
If user name and password is empty, it
is judged background configuration
username and password.
password string No No Password
Device No.
devIdno string No No If it is empty, it is determined that the
vehiIdno.
Plate Number
vehiIdno string No No If the devIdno is empty, it is judged that
the vehiIdno.
channel number No No Device Channel(starting from 0)
close number No No Video preview time, Units sec.
Language Settings
lang string No zh
en means English, otherwise Chinese.
Operation Example
(1)Operation Example
Monitor(PC/mobile JS)
Reference File
See Also:Init Video Plug(PC/mobile WEB) (webApi.html#sec-video-init)
Call Method
(1)Start Listening startListen(jsession, devIdno, channel)
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No After user login returning jsession
devIdno string Yes No Device No.
channel number Yes No Device Channel(starting from 0)
Operation Example
(1)Operation Example
Talkback(PC/mobile JS)
Call Method
(1)Start Talkback startTalkback(jsession, devIdno, 0)
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No After user login returning jsession
devIdno string Yes No Device No.
Operation Example
(1)Operation Example
// The flash player is judged by the return value of startTalkback, Return 0 success, 1 means talking, 2 means no mic, 3 means mic is disabled
// The h5 player judges through the onTtxVideoMsg message callback. type=isTalking means the intercom is in progress, type=showDownLoadDialog means the pcm collection tool needs to be downloaded
if (ret == 0) {
} else if (ret == 1) {
} else if (ret == 2) {
alert(lang.nullMic);
} else if (ret == 3) {
//alert(lang.micStop);
alert(lang.talkback_openMic);
} else {}
}
function onTtxVideoMsg(index, type) {
// ......
if (type == "showDownLoadDialog") {
alert("down pcm tool");
downPcmTool();
} else if (type == ‘isTalking’) {
alert(“is talking”);
}
// ......
}
URL
rtsp://www.mobilecam2.net:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1
Call Method
(1)URL Request Parameter Explain
Param Whether
Param Type Defaults Desc
Name Must
1 means real-time video, 2 means
AVType string Yes No
monitoring
jsession string Yes No jsession
DevIDNO string Yes No Indicates the device number
Indicates the channel number, starting
Channel string Yes No
from 0
Stream string Yes No 0 main stream, 1 sub stream
Operation Example
(1)Operation Example
rtsp://www.mobilecam2.net:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1
URL
http://www.mobilecam2.net:6604/3/3?AVType=1&jsession=CDF32EFB37E799293C2657BD804B1327&DevIDNO=60000004&Channel=0&Stream=1
Call Method
(1)URL Request Parameter Explain
Param Whether
Param Type Defaults Desc
Name Must
1 means real-time video, 2 means
AVType string Yes No
monitoring
jsession string Yes No jsession
DevIDNO string Yes No Indicates the device number
Indicates the channel number, starting
Channel string Yes No
from 0
Stream string Yes No 0 main stream, 1 sub stream
Operation Example
(1)Operation Example
http://www.mobilecam2.net:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1
URL
rtmp://www.mobilecam2.net:6604/3/3?AVType=1&jsession=CDF32EFB37E799293C2657BD804B1327&DevIDNO=60000004&Channel=0&Stream=1
Call Method
(1)URL Request Parameter Explain
Param Whether
Param Type Defaults Desc
Name Must
1 means real-time video, 2 means
AVType string Yes No
monitoring
jsession string Yes No jsession
DevIDNO string Yes No Indicates the device number
Indicates the channel number, starting
Channel string Yes No
from 0
Stream string Yes No 0 main stream, 1 sub stream
Operation Example
(1)Operation Example
rtmp://www.mobilecam2.net:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1
RealTime Video
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
DevIDNO string Yes No Device No.
Device ChannelThe channel begins
with the maximum support of 15. from
Chn string Yes No 0 (0 for channel 1 and 1 for channel 2).
It may be more than one, in order to ','
separation.
Video length (range from 0 to 1800, 0
Sec number Yes No
to stop)
Label string Yes No Label
Request Example
https://www.mobilecam2.net/StandardApiAction_realTimeVedio.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&DevIDNO=50000&Chn=1&Sec=300&Label=test
(https://www.mobilecam2.net/StandardApiAction_realTimeVedio.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&DevIDNO=50000&Chn=1&Sec=300&Label=test)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Query Video
(2)Private Param
a.Query Video
Param Whether
Param Type Defaults Desc
Name Must
Device No.
DevIDNO string Yes No When the query a video on server, it
means the license plate number.
Search Location
1 indicates the device, 2 denotes a
LOC number Yes No
storage server, 4 indicates download
server.
Search Channel(starting from 0)
CHN number Yes No 0 means channel 1, 1 means channel
2, -1 means all channel.
YEAR string Yes No Search Year
MON string Yes No Search Month
DAY string Yes No Search Day
Record Type
RECTYPE number Yes No 0 means General, 1 means alarm, -1
means all.
File Type
FILEATTR number Yes No 1 indicates an image
2 means a video.
Start Seconds
BEG number Yes No
The unit is second (0-86399)
End Seconds
END number Yes No
The unit is second (0-86399)
Non 1078 equipment fill 0
Alarm identification 1, binary
corresponding decimal integer, binary
digit alarm
1 emergency alarm 2 overspeed alarm
3 fatigue driving 4 early warning
5GNSS module malfunction
The 6GNSS module is not connected
to or is cut off by the 7GNSS antenna
short circuit 8 terminal main power
supply under voltage
9 terminal main power supply power off
ARM1 number Yes No 10 terminal LCD or display failure
11TTS module fault
12 camera failure 19, driving overtime
on the same day, 20 overtime parking
21 in and out of the area
22 out of route 23 of route of import
and export line / over 24 route
deviation from alarm 25 vehicle VSS
fault
26 vehicles oil volume abnormal 27
vehicles stolen 28 vehicles illegal
ignition 29 vehicles illegal displacement
30 collision rollover alarm
Non 1078 equipment fill 0
Alarm identification 2, binary
corresponding decimal integer, binary
digit alarm,
1 video signal loss alarm, 2 video
ARM2 number Yes No signal occlusion alarm, 3 memory unit
failure alarm
.4 other video equipment fault alarm 5
bus overcrowding alarm 6 alarm
abnormal driving behavior7 special
alarm video to store threshold alarm
Non 1078 equipment fill 0
Media type 0: audio and video, 1:
RES number Yes No
audio, 2: video, 3: video or audio and
video
Non 1078 equipment fill 0
STREAM number Yes No Stream type -1: master or sub stream,
0: master stream, 1: sub stream
Non 1078 equipment fill 0
The main storage type 0: or 1: backup
STORE number Yes No
memory, main memory, 2: memory
backup
LABEL string No No Label
Request Example
https://www.mobilecam2.net/StandardApiAction_getVideoFileInfo.action?DevIDNO=500000&LOC=2&CHN=0&YEAR=2014&MON=12&DAY=10&
RECTYPE=-1&FILEATTR=2&BEG=0&END=86399&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa (https://www.mobilecam2.net/StandardApiAction_getVideoFileInfo.action?
DevIDNO=500000&LOC=2&CHN=0&YEAR=2014&MON=12&DAY=10&RECTYPE=-1&FILEATTR=2&BEG=0&END=86399&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa)
Return Param Desc
a.Query Video
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
Device No.
DevIDNO string Yes No When the query a video on server, it
means the license plate number.
Search Location
1 indicates the device, 2 denotes a
LOC number Yes No
storage server, 4 indicates download
server.
Search Channel(starting from 0)
CHN number Yes No 0 means channel 1, 1 means channel
2, -1 means all channel.
YEAR string Yes No Search Year
MON string Yes No Search Month
DAY string Yes No Search Day
Record Type
RECTYPE number Yes No 0 means General, 1 means alarm, -1
means all.
File Type
FILEATTR number Yes No 1 indicates an image
2 means a video.
Start Seconds
BEG number Yes No
The unit is second (0-86399)
End Seconds
END number Yes No
The unit is second (0-86399)
Non 1078 equipment fill 0
Alarm identification 1, binary
corresponding decimal integer, binary
digit alarm
1 emergency alarm 2 overspeed alarm
3 fatigue driving 4 early warning
5GNSS module malfunction
The 6GNSS module is not connected
to or is cut off by the 7GNSS antenna
short circuit 8 terminal main power
supply under voltage
9 terminal main power supply power off
ARM1 number Yes No 10 terminal LCD or display failure
11TTS module fault
12 camera failure 19, driving overtime
on the same day, 20 overtime parking
21 in and out of the area
22 out of route 23 of route of import
and export line / over 24 route
deviation from alarm 25 vehicle VSS
fault
26 vehicles oil volume abnormal 27
vehicles stolen 28 vehicles illegal
ignition 29 vehicles illegal displacement
30 collision rollover alarm
Non 1078 equipment fill 0
Alarm identification 2, binary
corresponding decimal integer, binary
digit alarm,
1 video signal loss alarm, 2 video
ARM2 number Yes No signal occlusion alarm, 3 memory unit
failure alarm
.4 other video equipment fault alarm 5
bus overcrowding alarm 6 alarm
abnormal driving behavior7 special
alarm video to store threshold alarm
Non 1078 equipment fill 0
Media type 0: audio and video, 1:
RES number Yes No
audio, 2: video, 3: video or audio and
video
Non 1078 equipment fill 0
STREAM number Yes No Stream type -1: master or sub stream,
0: master stream, 1: sub stream
Non 1078 equipment fill 0
The main storage type 0: or 1: backup
STORE number Yes No
memory, main memory, 2: memory
backup
LABEL string No No Label
Search End Year
YEARE string No No Yeare, mone, and daye are not empty,
and the query is made across the day
Search End Month
MONE string No No Yeare, mone, and daye are not empty,
and the query is made across the day
Search End Day
DAYE string No No Yeare, mone, and daye are not empty,
and the query is made across the day
Request Example
https://www.mobilecam2.net/StandardApiAction_getVideoHistoryFile.action?DevIDNO=500000&LOC=2&CHN=0&YEAR=2014&
MON=12&DAY=10&RECTYPE=-1&FILEATTR=2&BEG=0&END=86399&ARM1=0&ARM2=0&RES=0&STREAM=0
&STORE=0&YEARE=2014&MONE=12&DAYE=13&jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa (https://www.mobilecam2.net/StandardApiAction_getVideoHistoryFile.action?
DevIDNO=500000&LOC=2&CHN=0&YEAR=2014&MON=12&DAY=10&RECTYPE=-1&FILEATTR=2&BEG=0&END=86399&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&YEARE=2014&MONE=12&DAYE=13&jsession=649b7687-
6792-41a2-b9be-7806f2a0d3fa)
Return Param Desc
a.Query Video
Download Video
https://www.mobilecam2.net/StandardApiAction_addDownloadTask.action?
HTTP Request Method
GET/POST
Input Param Desc
(1)Common Param
(2)Private Param
Segment Download
Param Whether
Param Type Defaults Desc
Name Must
did string Yes No Device No.
File Start Time
Greater than or equal to the source file
fbtm string Yes No
start time, Less than or equal to the
source file end time.
File End Time
Greater than or equal to the source file
fetm string Yes No
start time, Less than or equal to the
source file end time.
sbtm string Yes No Source Files Start Time
setm string Yes No Source Files End Time
lab string No No File Tag
fph string Yes No File Path
Record Type
vtp number Yes No
0 means General, 1 means alarm.
len number Yes No File Size
chn number Yes No Channel
Download Type
dtp number Yes No 1 means the whole file to download, 2
means segment downloaded.
Request Example
Segment Download
Remote Playback(PC/mobile)
Call Method
(1)Start Playback startVod(url, index)
Operation Example
(1)Operation Example
https://www.mobilecam2.net/808gps/open/player/videoExample.html?lang=en (https://www.mobilecam2.net/808gps/open/player/videoExample.html?lang=en)
https://www.mobilecam2.net/808gps/open/player/VideoSearchDemo.html?lang=en (https://www.mobilecam2.net/808gps/open/player/VideoSearchDemo.html?lang=en)
https://www.mobilecam2.net/808gps/open/player/PlayBackVideo.html?account=admin&password=admin&PlateNum=11111&lang=en (https://www.mobilecam2.net/808gps/open/player/PlayBackVideo.html?
account=admin&password=admin&PlateNum=11111&lang=en)
Call Method
(1)Start Playback startVodM(url, channel)
Param Whether
Param Type Defaults Desc
Name Must
Query VideoWhen returning
(PlaybackUrlWs is preferred)
Single-channel playback: url is
PlaybackUrlWS
Multi-channel synchronous playback:
url string/array Yes No
url is PlaybackUrlWS
Multi-channel simultaneous playback:
url is an array
url.push(file1.PlaybackUrlWS);
url.push(file2.PlaybackUrlWS);
Single-channel playback: channel is ""
Multi-channel synchronous playback:
channel string Yes No channel, "0,1,2,3"
Multi-channel simultaneous playback:
channel is ""
Operation Example
(1)Operation Example
1. When returning to PlaybackUrlWs, the playback link will take priority to PlaybackUrlWs.
cmsv6Player.startVodM(playUrl, '');
b. mulChn represents the channel that can be played back in multiple channels, expressed in bits. mulChn has two situations:
-1 type is 0 (808 protocol) If mulChn is 0, it is necessary to determine which channels have recording information according to the time period (customization is required), and select these channels.
c. Play call:
cmsv6Player.startVodM(playUrl, '0,1,3');
4. Multi-channel non-synchronous playback, after getting the returned videoFileList, form an array and call the startVodM method to play
5. When a video file has multiple channels, replace the channel number of the playback link
// How to replace the playback channel number with the playback link
playUrl = playUrl.replace('PLAYCHN=0', 'PLAYCHN=' + chnIndex);
Img Capture
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
DevIDNO string Yes No Device No.
Device Channel(starting from 0)
Chn string Yes No 0 means channel 1, and 1 means
channel 2.
Type number Yes No Please fill in the 1
resolution
1 means 320*240, 2 means 640*480, 3
Resolution number No 1 means 800*600, 4 means 1024*768, 5
means 176*144, 6 means 352*288, 7
means 704*288, 8 means 704*576
Request Example
https://www.mobilecam2.net/StandardApiAction_capturePicture.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&Type=1&Resolution=1&DevIDNO=50000&Chn=1
(https://www.mobilecam2.net/StandardApiAction_capturePicture.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&Type=1&Resolution=1&DevIDNO=50000&Chn=1)
Return Param Desc
Param Name Param Type Desc
FPATH string picture path
FOFFSET string deviation
FLENGTH string File Size(Unit byte)
DownUrl string URL address for image download
Correctly Returns Examples
{
"result": 0,
"cmsserver": 1,
"FPATH": "\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile",
"FOFFSET": "4258170",
"FLENGTH": "608310",
"DownUrl": ""
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
Type number Yes No Please fill in 3
File Size(Unit byte)
FLENGTH number Yes No
Snap back size
deviation
FOFFSET number No No
Snap back offset
MTYPE number Yes No Please fill in the 1
picture path
FPATH string Yes No
Snapshot return path
SAVENAME string No No After download the saved name
Request Example
//www.mobilecam2.net:6611/3/5?Type=3&FLENGTH=608310&FOFFSET=4258170&FPATH=\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile&MTYPE=1&SAVENAME=downImage (//www.mobilecam2.net:6611/3/5?
Type=3&FLENGTH=608310&FOFFSET=4258170&FPATH=\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile&MTYPE=1&SAVENAME=downImage)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
devIdno string Yes No Device No.
File Start Time
Greater than or equal to the source
begintime string Yes No
file start time, Less than or equal to
the source file end time.
File End Time
Greater than or equal to the source
endtime string Yes No
file start time, Less than or equal to
the source file end time.
taskTag string No No File Tag
Downloading Status
status number No No 1 undownloaded, 2 downloads, 3
downloads failed, 4 downloaded
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_downloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&status=1&taskTag=123&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_downloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&status=1&taskTag=123&begintime=2017-11-10
12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
Device No.
did string When the query a video on server, it means the
license plate number.
err string The cause of failure when downloading fails
User ID, submitting and downloading the
uid number corresponding user ID, that is, the current
jsession login user ID
Device Channel(starting from 0)
chn number
0 means channel 1, and 1 means channel 2.
dbtm number Download Start TimeUnit: sec.
detm number Download End TimeUnit: sec.
dph string Downloading Path
svr number Storage Server Number
1 means the whole file to download, 2 means
dtp number
segment downloaded.
lab string File Tag
sbtm number Source Files Start TimeUnit: sec.
setm number Source Files End TimeUnit: sec.
nfbtm number File Start TimeUnit: sec.
nfetm number File End TimeUnit: sec.
stu number Downloading Status
Video type 0 represents a routine, and 1 is an
vtp number
alarm.
fph string File Path
len number File Size
ftp number File type 1 picture file, 2 for video
ctm number Task generation timeUnit: sec.
fbtm number File Start TimeUnit: sec.
fetm number File End TimeUnit: sec.
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"id":"18",
"len":9096588,
"err":0,
"did":50000,
"uid":1,
"chn":2,
"lab":"1234",
"stu":4,
"ftp":2,
"fph":"/Demo/demo/bin/record/upload/H20171109-103026P3A1P0.avi",
"ctm":1510194626000,
"fbtm":1510194656000,
"fetm":1510194716000,
"vtp":1,
"dbtm":1510194628000,
"detm":1510194630000,
"dph":"gStorage/RECORD_FILE/2233/2017-11-09/2233_2-171109-103056-103156-20020300.grec",
"svr":6,
"dtp":2,
"sbtm":1510194626000,
"setm":1510194868000,
"nfbtm":1510194656,
"nfetm":1510194716
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
devIdno string Yes No Device No.
taskTag string No No File Tag
Request Example
https://www.mobilecam2.net/StandardApiAction_delDownloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&taskTag=123 (https://www.mobilecam2.net/StandardApiAction_delDownloadTasklist.action?
jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&taskTag=123)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Insert\Video\Audio\Picture Record
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
devIdno string Yes No Device No.
channel number Yes No Channel
Media Types 0: Pictures, 1: Audio and
mediaType number Yes No Video, 2: Audio, 3: Video, 4: Text, 5:
Other
fileType number Yes No 0-Ordinary 1-Alarm Trigger
filePath string Yes No File Path
fileOffset number Yes No File offset position
fileSize number Yes No File Size
fileSTime string Yes No File Start Time
fileETime string Yes No File End Time
Label string Yes No Label
svrIDNO string Yes No Storage Server Number
Request Example
https://www.mobilecam2.net/StandardApiAction_addMediaInformation.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&channel=2&mediaType=1&fileType=0&filePath=D:/gStorage/RECORD_FILE/60002/2019-
09-02/H20190902-165958P3A1P0_1.mp4&fileOffset=1&fileSize=447888&fileSTime=2019-09-02 12:00:00&fileETime=2019-09-02 12:30:00&Label=60002F13BAD42F4877D04&svrIDNO=U1
(https://www.mobilecam2.net/StandardApiAction_addMediaInformation.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&channel=2&mediaType=1&fileType=0&filePath=D:/gStorage/RECORD_FILE/60002/2019-
09-02/H20190902-165958P3A1P0_1.mp4&fileOffset=1&fileSize=447888&fileSTime=2019-09-02 12:00:00&fileETime=2019-09-02 12:30:00&Label=60002F13BAD42F4877D04&svrIDNO=U1)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
Device No.
DevIDNO string Yes No When the query a video on server, it
means the license plate number.
Search Channel(starting from 0)
CHN number Yes No 0 means channel 1, 1 means channel
2, -1 means all channel.
BEGYEAR number Yes No Start Year
BEGMON number Yes No Start Month
BEGDAY number Yes No Start Date
BEGSEC number Yes No Start Seconds(0-86339)
ENDYEAR number Yes No End Year
ENDMON number Yes No End Month
ENDDAY number Yes No End Date
ENDSEC number Yes No End Seconds(0-86339)
Alarm identification 1, binary
corresponding decimal integer, binary
digit alarm
1: emergency alarm 2: overspeed
alarm 4: fatigue driving 8: early warning
16:GNSS module malfunction
32:The GNSS module is not connected
to or is cut off by the 64:GNSS antenna
short circuit 128: terminal main power
supply under voltage
256: terminal main power supply power
off 512: terminal LCD or display failure
1024:TTS module fault
ARM1 number Yes No 2048: camera failure 262144: driving
overtime on the same day, 524288:
overtime parking 1048576: in and out
of the area
2097152: out of route 4194304: of
route of import and export line / over
8388608: route deviation from alarm
16777216: vehicle VSS fault
33554432: vehicles oil volume
abnormal 67108864: vehicles stolen
134217728: vehicles illegal ignition
268435456: vehicles illegal
displacement 536870912: collision
rollover alarm
Alarm identification 2, binary
corresponding decimal integer, binary
digit alarm,
1: video signal loss alarm, 2: video
signal occlusion alarm, 4: memory unit
ARM2 number Yes No
failure alarm
.8: other video equipment fault alarm
16: bus overcrowding alarm 32: alarm
abnormal driving behavior64: special
alarm video to store threshold alarm
Media type 0: audio and video, 1:
RES number Yes No audio, 2: video, 3: video or audio and
video
Stream type -1: master or sub stream,
STREAM number Yes No
0: master stream, 1: sub stream
The main storage type 0: or 1: backup
STORE number Yes No memory, main memory, 2: memory
backup
1:WIFI,1 For WIFI Downloadable
2:LAN,2 For LAN Downloadable
NETMASK number Yes No
4:3G/4G,4 For 3G/4G Downloadable
Multiple Selection
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_ftpUpload.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&DevIDNO=60002&CHN=1&BEGYEAR=2019&BEGMON=8&BEGDAY=12&BEGSEC=40407&ENDYEAR=2019&ENDMON=8&ENDDAY=12&ENDSEC=40423&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&NETMASK=7
(https://www.mobilecam2.net/StandardApiAction_ftpUpload.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&DevIDNO=60002&CHN=1&BEGYEAR=2019&BEGMON=8&BEGDAY=12&BEGSEC=40407&ENDYEAR=2019&ENDMON=8&ENDDAY=12&ENDSEC=40423&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&NETMASK=7)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
SEQUENCE number Task Flow Number
Correctly Returns Examples
{
"result": 0,"SEQUENCE":1,"cmsserver":1
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
seq number Yes No Task Flow Number
devIdno string Yes No Device No.
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_queryFtpStatus.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=11111 (https://www.mobilecam2.net/StandardApiAction_queryFtpStatus.action?
jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=11111)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Task Status
0:Pause State
1:Downloading
status number
2:Cancel
3:Fail
4:Success
downloadUrl string Download Link
playUrl string Play Link
Correctly Returns Examples
{
"result": 0,
"info":{
"status":4,
"downloadUrl":http://127.0.0.1:6611/3/5?DownType=3&DevIDNO=11111&FLENGTH=206580&FOFFSET=0&MTYPE=0&FPATH=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-160534-160554-20000700%2FCH7_
0_0_0_0_200617-160534_200617-160554.avi&SAVENAME=CH7_0_0_0_0_200617-160534_200617-160554.avi&jsession=9325B71EFA12AF162B1232849F327391,
"playUrl":http://127.0.0.1:6611/3/5?DownType=5&DevIDNO=11111&FILELOC=2&FILESVR=1&FILECHN=0&FILEBEG=0&FILEEND=0&PLAYIFRM=0&PLAYFILE=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-16
0534-160554-20000700%2FCH7_0_0_0_0_200617-160534_200617-160554.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0&jsession=9325B71EFA12AF162B1232849F327391
}
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
devIdno string Yes No Device No.
begintime string Yes No Start Time
endtime string Yes No End Time
Task Status
0:Pause State
1:Downloading
status string No No
2:Cancel
3:Fail
4:Success
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_queryDownLoadReplayEx.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&status=1&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_queryDownLoadReplayEx.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&status=1&begintime=2017-11-10
12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
vehiID number Vehicle ID
devIDNO string Device No.
sequence number Task Flow Number
chnMask number Channel
upLoadPath string Upload Ftp Path
filePath string File Path
fileBegTime number File Start Time
fileEndTime number File End Time
arm1 number Alarm Identification 1
arm2 number Alarm Identification 2
alarmParam number Alarm Param
Media type 0: audio and video, 1: audio, 2: video,
resourceType number
3: video or audio and video
Stream type -1: master or sub stream, 0: master
streamType number
stream, 1: sub stream
The main storage type 0: or 1: backup memory,
storeType number
main memory, 2: memory backup
1:WIFI,1 For WIFI Downloadable 2:LAN,2 For
networkMask number LAN Downloadable 4:3G/4G,4 For 3G/4G
Downloadable Multiple Selection
Task Status
0:Pause State
1:Downloading
taskStatus number
2:Cancel
3:Fail
4:Success
uploadSpeed number Upload Speed (BYTE/per second)
uploadProgress number Upload progress 0-100
estimateFileSize number Estimated File Size (BYTE)
userID number User Id
taskSTime number Task Generation Time
taskETime number Mission End Time
downloadUrl string Download Link
playUrl string Play Link
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"vehiID":1,
"devIDNO":018000032595,
"sequence":1,
"chnMask":3,
"upLoadPath":null,
"filePath":/GPS_FTP//RECORD_FILE/018000032595/2019-10-17/FA0-191017-000001-014220-20000400,
"upLoadPath":/RECORD_FILE/018000032595/2019-10-17/FA0-191017-000001-014220-20000400,
"fileBegTime":1571241601000,
"fileEndTime":1571247740000,
"arm1":0,
"arm2":0,
"alarmParam":0,
"resourceType":0,
"streamType":0,
"storeType":1,
"networkMask":7,
"taskStatus":1,
"userID":1,
"taskSTime":1571281317000,
"taskETime":null,
"downloadUrl":http://127.0.0.1:6611/3/5?DownType=3&DevIDNO=11111&FLENGTH=206580&FOFFSET=0&MTYPE=0&FPATH=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-160534-160554-20000700%2FCH
7_0_0_0_0_200617-160534_200617-160554.avi&SAVENAME=CH7_0_0_0_0_200617-160534_200617-160554.avi&jsession=9325B71EFA12AF162B1232849F327391,
"playUrl":http://127.0.0.1:6611/3/5?DownType=5&DevIDNO=11111&FILELOC=2&FILESVR=1&FILECHN=0&FILEBEG=0&FILEEND=0&PLAYIFRM=0&PLAYFILE=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-
160534-160554-20000700%2FCH7_0_0_0_0_200617-160534_200617-160554.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0&jsession=9325B71EFA12AF162B1232849F327391
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
seq number Yes No Task Flow Number
devIdno string Yes No Device No.
taskType number Yes No 0: Pause 1: Continue 2: Cancel
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_controllDownLoad.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=10001&taskType=0 (https://www.mobilecam2.net/StandardApiAction_controllDownLoad.action?
jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=10001&taskType=0)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
SEQUENCE number Task Flow Number
Correctly Returns Examples
{
"result": 0,"SEQUENCE":1,"cmsserver":1
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
Request Example
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
It may be more than one, in order to ',' separation.
vehiIdno string Yes No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
begintime string Yes No Start Time
End Time
endtime string Yes No
Start time is not greater than the end time
Alarm Type
alarmType string Yes No
In ',' split, Can't be empty.
Multimedia Type
mediaType number No No
0 Means Picture, 1 Means Video
Map Coordinates Conversion
toMap number No No 1 shows Coordinates converted to Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu map Coordinates
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_performanceReportPhotoListSafe.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&begintime=2018-11-29 00:00:00&endtime=2018-11-30
00:00:00&alarmType=605&mediaType=0&toMap=2&vehiIdno=30009¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_performanceReportPhotoListSafe.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&begintime=2018-11-29 00:00:00&endtime=2018-11-30 00:00:00&alarmType=605&mediaType=0&toMap=2&vehiIdno=30009¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
Multimedia Type
mediaType number
0 Means Picture, 1 Means Video
Video status 0- is videotaping 1- video to
status number
complete the abnormal end of 2-
fileETime string Video File Start Time
fileSTime string Video File End Time
channel number Channel
position string Position
devIdno string Device No.
vehiIdno string Plate Number
jingDu number Lng
weiDu number Lat
fileSize number File Size
alarmType string Alarm Type
fileUrl string File Path
videoFile string Remote playback url
fileTime number File Start Time
fileOffset number File offset position
alarmParam number Alarm Param
label string guid
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"mediaType":0,
"status":null,
"fileETime":null,
"fileSTime":null,
"id":null,
"fileName":null,
"channel":3,
"updateTime":1543560950000,
"position":"",
"devIdno":"123456",
"vehiIdno":"testlinux",
"jingDu":0,
"weiDu":0,
"fileType":1,
"fileSize":35977,
"svrId":6,
"alarmType":605,
"fileTimeI":null,
"videoFile":null,
"encode":null,
"fileUrl":"http://127.0.0.1:6611/3/5?Type=3&FLENGTH=35977&FOFFSET=0&FPATH=/gStorage/JPEG_FILE/123456/2018-11-29/20181129-225450.jpg&MTYPE=1&SAVENAME=2018-11-29 22:54:50.JPEG",
"fileTime":1543503290000,
"gpsstatus":null,
"fileOffset":0,
"vehiId":null,
"filePath":"/gStorage/JPEG_FILE/123456/2018-11-29/20181129-225450.jpg",
"alarmParam":188,
"label":"123456636DEA544CB6D911"
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
Evidence Query
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
File Start Time
Greater than or equal to the source file
begintime string Yes No
start time, Less than or equal to the
source file end time.
alarmType string Yes No Alarm Type
guid string Yes No Alarm Unique Number
Map Coordinates Conversion
1 shows Coordinates converted to
toMap number No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
md5 number No 0 File md5, 0 does not return 1 returns
Request Example
https://www.mobilecam2.net/StandardApiAction_alarmEvidence.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=633&begintime=2018-09-19
11:56:37&toMap=2 (https://www.mobilecam2.net/StandardApiAction_alarmEvidence.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=633&begintime=2018-09-19 11:56:37&toMap=2)
Return Param Desc
a. Base Info infos
Evidence Download
(1)URL
https://www.mobilecam2.net/StandardApiAction_zipAlarmEvidence.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=600&begintime=2017-11-10
12:00:00&toMap=2 (https://www.mobilecam2.net/StandardApiAction_zipAlarmEvidence.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=600&begintime=2017-11-10 12:00:00&toMap=2)
(2)Param Desc
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
File Start Time
Greater than or equal to the source file
begintime string Yes No
start time, Less than or equal to the
source file end time.
alarmType string No No Alarm Type
guid string No No Alarm Unique Number
Map Coordinates Conversion
1 shows Coordinates converted to
toMap number Yes No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Video 1078 Business
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
File Start Time
Greater than or equal to the source
begintime string Yes No
file start time, Less than or equal to
the source file end time.
File End Time
Greater than or equal to the source
endtime string Yes No
file start time, Less than or equal to
the source file end time.
Query the user ID (multiple users ID
userIds string Yes No
use English, partition)
User operation types (1; video
preview (channel) 2; audio monitoring
type string No No (channel) 3; two-way dialogue 4;
picture capture 5; video search 6;
video download 12; remote playback)
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_userMediaRateOfFlow.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&userIds=1,2,3&type=1,3&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_userMediaRateOfFlow.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&userIds=1,2,3&type=1,3&begintime=2017-11-10
12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
name string User name
devIdno string Equipment number
User operation types (1; video preview (channel)
2; audio monitoring (channel) 3; two-way dialogue
subType number
4; picture capture 5; video search 6; video
download 12; remote playback)
totalTime number Length of time (second)
startTime number Start Time(millisecond)
endTime number End Time(millisecond)
flowUsed string Traffic use information
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"name":"admin",
"id":null,
"type":null,
"count":null,
"startTime":1510285460000,
"endTime":1510285482000,
"vehiIdno":null,
"devIdno":"22222",
"companyName":"admin",
"plateType":null,
"vehiId":null,
"param1":1,
"param2":1,
"param3":"",
"param4":"",
"userId":null,
"ip":"127.0.0.1:61345",
"account":"admin",
"mainType":3,
"subType":1,
"totalTime":22,
"flowUsed":1.56253
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
Resource Catalog Summary
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
devIdno string Yes No Device No.
File Start Time
Greater than or equal to the
begintime string Yes No
source file start time, Less than or
equal to the source file end time.
File End Time
Greater than or equal to the
endtime string Yes No
source file start time, Less than or
equal to the source file end time.
Alarm source 0 equipment 1
alarmSourceType string No No
Platform
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_catalogSummaryApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&alarmSourceType=0,1&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_catalogSummaryApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&alarmSourceType=0,1&begintime=2017-11-10
12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
vn string Equipment number
sr number Alarm source 0 equipment 1 Platform
fs number File Size(bytes)
ft number File Lengthsecond
sum number Number Of Documents
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
devIdno string Yes No Device No.
File Start Time
Greater than or equal to the source
begintime string Yes No
file start time, Less than or equal to
the source file end time.
File End Time
Greater than or equal to the source
endtime string Yes No
file start time, Less than or equal to
the source file end time.
Alarm source 0 equipment 1
alarmSourceType string No No
Platform
Media type 0: audio and video, 1:
mediatype string No No audio, 2: video, 3: video or audio
and video
The main storage type 0: or 1:
storetype string No No backup memory, main memory, 2:
memory backup
Stream type -1: master or sub
bittype string No No stream, 0: master stream, 1: sub
stream
Alarm identification 1, binary
corresponding decimal integer,
binary digit alarm
1 emergency alarm 2 overspeed
alarm 3 fatigue driving 4 early
warning 5GNSS module
malfunction
The 6GNSS module is not
connected to or is cut off by the
7GNSS antenna short circuit 8
terminal main power supply under
voltage
9 terminal main power supply
power off 10 terminal LCD or
arlamtype string No No
display failure 11TTS module fault
12 camera failure 19, driving
overtime on the same day, 20
overtime parking 21 in and out of
the area
22 out of route 23 of route of
import and export line / over 24
route deviation from alarm 25
vehicle VSS fault
26 vehicles oil volume abnormal 27
vehicles stolen 28 vehicles illegal
ignition 29 vehicles illegal
displacement 30 collision rollover
alarm
Alarm identification 2, binary
corresponding decimal integer,
binary digit alarm,
1 video signal loss alarm, 2 video
signal occlusion alarm, 3 memory
unit failure alarm
arlamtype2 string No No
.4 other video equipment fault
alarm 5 bus overcrowding alarm 6
alarm
abnormal driving behavior7 special
alarm video to store threshold
alarm
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_catalogDetailApi.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&devIdno=50000&bittype=&alarmSourceType=0,1&mediatype=&storetype=&arlamtype=&arlamtype2=&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
(https://www.mobilecam2.net/StandardApiAction_catalogDetailApi.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&devIdno=50000&bittype=&alarmSourceType=0,1&mediatype=&storetype=&arlamtype=&arlamtype2=&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
vn string Equipment number
Device Channel
cn string
0 means channel 1, and 1 means channel 2.
sr number Alarm source 0 equipment 1 Platform
st number Start Time
et number End Time
pl number Storage location
Alarm identification 1, binary corresponding
decimal integer, binary digit alarm
1 emergency alarm 2 overspeed alarm 3 fatigue
driving 4 early warning 5GNSS module
malfunction
The 6GNSS module is not connected to or is cut
off by the 7GNSS antenna short circuit 8 terminal
main power supply under voltage
9 terminal main power supply power off 10
terminal LCD or display failure 11TTS module
a1 number
fault
12 camera failure 19, driving overtime on the
same day, 20 overtime parking 21 in and out of
the area
22 out of route 23 of route of import and export
line / over 24 route deviation from alarm 25
vehicle VSS fault
26 vehicles oil volume abnormal 27 vehicles
stolen 28 vehicles illegal ignition 29 vehicles
illegal displacement 30 collision rollover alarm
Alarm identification 2, binary corresponding
decimal integer, binary digit alarm,
1 video signal loss alarm, 2 video signal occlusion
alarm, 3 memory unit failure alarm
a2 number
.4 other video equipment fault alarm 5 bus
overcrowding alarm 6 alarm
abnormal driving behavior7 special alarm video to
store threshold alarm
Stream type -1: master or sub stream, 0: master
bt number
stream, 1: sub stream
Media type 0: audio and video, 1: audio, 2: video,
tp number
3: video or audio and video
ft number File Length
fs number File Size
sjd number Alarm Start Lng
swd number Alarm Start Lat
ejd number Alarm End Lng
ewd number Alarm End Lat
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"name":"admin",
"id":null,
"type":null,
"count":null,
"startTime":1510285460000,
"endTime":1510285482000,
"vehiIdno":null,
"devIdno":"22222",
"companyName":"admin",
"plateType":null,
"vehiId":null,
"param1":1,
"param2":1,
"param3":"",
"param4":"",
"userId":null,
"ip":"127.0.0.1:61345",
"account":"admin",
"mainType":3,
"subType":1,
"totalTime":22,
"flowUsed":1.56253
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
Picture Query
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
devIdno string No No Device No.,If blank, check all devices
File Start Time
begintime string Yes No Greater than or equal to the source file start time, Less than or
equal to the source file end time.
File End Time
endtime string Yes No Greater than or equal to the source file start time, Less than or
equal to the source file end time.
filetype number No No 0- common 1- alarm trigger
Alarm Type
Details See also:Alarm Type Desc
alarmType number No No
(https://www.mobilecam2.net/808gps/open/example/explain.html?
lang=en)
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryPhoto.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&filetype=2&alarmType=67&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_queryPhoto.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&filetype=2&alarmType=67&begintime=2017-11-10
12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
devIdno string Equipment number
channel number 0 means channel 1, and 1 means channel 2.
fileType number 0- common 1- alarm trigger
filePath string File Path
fileSize number File Size(bytes)
svrId number Server Number
alarmType number Alarm Type
alarmParam number Alarm Param
updateTime string Update time
encode number Encoding format 0-JPEG 1-TIF
fileOffset number File offset position
fileTime number File Time(millisecond)
gpsstatus number GPS state information
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
reservChar1 string Remark
reservInt4 number User Id
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"devIdno":"50000",
"channel":1,
"fileType":0,
"filePath":"/gStorage/STOMEDIA/2017-11-02/20171102-105922.picfile",
"fileSize":608310,
"svrId":6,
"alarmType":67,
"alarmParam":0,
"updateTime":"2017-11-02",
"encode":0,
"fileOffset":0,
"fileTime":1509591562000,
"gpsstatus":null,
"reservChar1":"note content",
"reservInt4":1
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
devIdno string Yes No Device No.
File Start Time
begintime string Yes No Greater than or equal to the source file start time, Less than or
equal to the source file end time.
File End Time
endtime string Yes No Greater than or equal to the source file start time, Less than or
equal to the source file end time.
Alarm Type
Details See also:Alarm Type Desc
alarmType string No No
(https://www.mobilecam2.net/808gps/open/example/explain.html?
lang=en)
type number Yes No 1- audio and video 2- audio 3- video
filetype number No No File Type 0-ordinary 1-Alarm trigger
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryAudioOrVideo.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&type=1&filetype=2&alarmType=67&begintime=2017-11-10 12:00:00&endtime=2017-11-11
12:00:00¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_queryAudioOrVideo.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&devIdno=50000&type=1&filetype=2&alarmType=67&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
devIdno string Equipment number
channel number 0 means channel 1, and 1 means channel 2.
fileType number 0- common 1- alarm trigger
filePath string File Path
fileSize number File Size(bytes)
svrId number Server Number
alarmType number Alarm Type
alarmParam number Alarm Param
updateTime string Update time
mediaType number Type 1- audio and video 2- audio 3- video
fileSTime number File Start Time(millisecond)
fileETime number File End Time(millisecond)
Video status 0- is videotaping 1- video to
status number
complete the abnormal end of 2-
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"devIdno":"50000",
"channel":3,
"fileType":1,
"filePath":"/gStorage/RECORD_FILE/2233/2017-11-09/2233_2-171109-103056-103156-20020300.grec",
"fileSize":9096588,
"svrId":6,
"alarmType":67,
"alarmParam":0,
"updateTime":"2017-11-09",
"mediaType":1,
"fileSTime":1510194656000,
"fileETime":1510194716000,
"status":1
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Rule name
Chinese reference, format reference
name string No No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Alarm Type
Details See also:Alarm Type Desc
armType string No No
(https://www.mobilecam2.net/808gps/open/example/explain.html?
lang=en)
ruleType number Yes No Fixed transmission 13
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_loadRules.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=13&name=12351&alarmType=67¤tPage=1&pageRecords=10
(https://www.mobilecam2.net/StandardApiAction_loadRules.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=13&name=12351&alarmType=67¤tPage=1&pageRecords=10)
Return Param Desc
Param
Param Name Desc
Type
id number Rule ID
name string Rule name
type number Rule type 13- alarm linkage rules
beginTime number Start TimeUnit: sec.
endTime number End TimeUnit: sec.
armType number Alarm Type
text string Hint information
The parameter format is: "P1, P2, P3, P4, P5, p6"
P1 takes pictures 1, 0 is not; P2 allows photo taking to set up
camera channel (support 16 channels), for example:
1010000000000000 indicates opening channel 1, 3;
.P3 video is long (0-1800 seconds); P4 sets video channels
param string
(supporting 16 channels), for example, 1010000000000000 for
opening channel 1, 3;
P5 phone number, P6 mailbox;
example:
1,1010000000000000,10,1010000000000000,0000000000,xxx
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"id":"1",
"type":13,
"name":"12351",
"endTime":44430,
"text":"text",
"armType":67,
"param":"1,11000000,0,00000000,,",
"beginTime":37230
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Rule ID
Request Example
https://www.mobilecam2.net/StandardApiAction_delRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1 (https://www.mobilecam2.net/StandardApiAction_delRule.action?jsession=649b7687-6792-41a2-b9be-
7806f2a0d3fa&id=1)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
ruleId number Yes No Rule ID
The device number does not allocate
the rule (the Jian Yixian execution -
devIdno string Yes No query rule device Association - avoid
the abnormality of the repeating
distribution) multiple use, segmentation
Request Example
https://www.mobilecam2.net/StandardApiAction_devRulePermit.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&&ruleId=1 (https://www.mobilecam2.net/StandardApiAction_devRulePermit.action?
jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&&ruleId=1)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
ruleId number Yes No Rule ID
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_loadDevRuleByRuleId.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleId=1¤tPage=1&pageRecords=10
(https://www.mobilecam2.net/StandardApiAction_loadDevRuleByRuleId.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleId=1¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
Regular device association ID (Jian Yixian
execution - query rule and device Association -
id number
get corresponding ID), multiple comma
segmentation
devIdno string Equipment number
ruleId number Rule ID
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"id":"1",
"devIdno":50000,
"ruleId":1
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Regular device association ID (Jian
Yixian execution - query rule and
id number No No
device Association - get corresponding
ID), multiple comma segmentation
devIdno string Yes No Device No.
ruleId number No No Rule ID
Request Example
https://www.mobilecam2.net/StandardApiAction_delDevRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1&ruleId=1&devIdno=50000 (https://www.mobilecam2.net/StandardApiAction_delDevRule.action?
jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1&ruleId=1&devIdno=50000)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
ruleType number Yes No Rule Type
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryRuleList.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=7¤tPage=1&pageRecords=10
(https://www.mobilecam2.net/StandardApiAction_queryRuleList.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=7¤tPage=1&pageRecords=10)
Return Param Desc
Param Name Param Type Desc
name string Rule name
id number Rule ID
type number Rule Type
utm number Update time
Extended parameter, when the rule type is 7, the
expand string
parameter is the offset width
cName string Company Name
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"id":1,
"name":"11",
"type":7,
"utm":1631524160000,
"expand":50,
"cName":"Company"
}
],
"pagination":
{
"totalPages": 1
"directQuery": false
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"currentPage": 1
"pageRecords": 10
"totalRecords": 1
"startRecord": 0
"sortParams": null
"endRecord": 0
}
}
Control Business
Vehicle Control
https://www.mobilecam2.net/StandardApiAction_vehicleControlGPSReport.action?
(2)Other Vehicle Control
https://www.mobilecam2.net/StandardApiAction_vehicleControlOthers.action?
HTTP Request Method
GET/POST
Input Param Desc
(1)Common Param
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
DevIDNO string Yes No Device No.
Interval Time
Time number Yes No Unit second, 0-3600, 0 means did not
upload the GPS.
b.Other Vehicle Control
Param Whether
Param Type Defaults Desc
Name Must
DevIDNO string Yes No Device No.
Control Type
1 means Disconnect oil;2 means oil
recovery;3 means turn off power;4
means turn on power;5 means restart
device;6 means restore factory
settings;7 means sleep;8 means
wake;9 means opening devices
recording(High two bytes are recording
channel, low two bytes are instruction,
such as channel 1 to send command
are Number(0<<16) + Number(9));10
means turn off the device video(High
two bytes are recording channel, low
two bytes are instruction);11 means
client started to channel polling (two
bytes to two bytes for the channel
number, low order) 12 means said the
client stops this channel polling (two
bytes to two bytes for the channel
number, low order). 13 indicates the
logging function of boot record (two
bytes higher than 0), and 0 means no
CtrlType number Yes No
log.14 means formatting the hard disk
(High means hard number, hard
number start with 0, low means
instruction, such as hard 1 to send
command are Number(0<<16) +
Number(14));15 means mileage
clear;16 indicates positive turn (high
two bytes as channel number, low two
byte as instruction). 17 represents
reversal flip (high two bytes for channel
number, low two bytes for
instruction).18 means clear alarm.19
stands for switching cameras. 20
indicates the beginning of recording
(high two bytes for the recording
channel number, low two bytes for
instructions).21 means stop recording
(two bytes high for recording channel
number, low two bytes for instruction).
22 indicates the end of WiFi download.
23 means equipment to take photos.
24 means device video
Usr string Yes No Account
Password
Pwd string Yes No
Md5 encrypted password is required.
Request Example
(1)GPS Reporting Interval
https://www.mobilecam2.net/StandardApiAction_vehicleControlGPSReport.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Start=1&Type=1&Distance=0&Time=5
(https://www.mobilecam2.net/StandardApiAction_vehicleControlGPSReport.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Start=1&Type=1&Distance=0&Time=5)
(2)Other Vehicle Control
https://www.mobilecam2.net/StandardApiAction_vehicleControlOthers.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&
CtrlType=1&Usr=admin&Pwd=21232f297a57a5a743894a0e4a801fc3 (https://www.mobilecam2.net/StandardApiAction_vehicleControlOthers.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&DevIDNO=500000&CtrlType=1&Usr=admin&Pwd=21232f297a57a5a743894a0e4a801fc3)
Return Param Desc
a.GPS Reporting Interval
TTS
(2)Private Param
PTZ control
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
DevIDNO string Yes No Device No.
Device Channel(starting from 0)
Chn number Yes No 0 means channel 1, and 1 means
channel 2.
Control Type
0 left; 1 right; 2 upper; 3 lower; 4 left
upper; 5 right upper; 6 left lower; 7 right
lower; 8 focal length smaller; 9 focal
length larger;
Command number Yes No 10 aperture becomes smaller; 11
aperture becomes larger; 12 focus
after adjustment (multiples); 13 focus
forward tune; 14 lights; 16 wipers; 18
automatic cruise; 19 stop; 21 call; 22
settings; 23 delete
Speed, when moving in the direction,
Speed number Yes No
the speed is valid, range 0-255
When the preset bit is operated, the
Param is valid, indicating the ordinal
Param number Yes No
number of the preset bits (21 calls; 22
settings; and 23 deletion)
Request Example
https://www.mobilecam2.net/StandardApiAction_sendPTZControl.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Chn=1&Command=1&Speed=1&Param=1
(https://www.mobilecam2.net/StandardApiAction_sendPTZControl.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Chn=1&Command=1&Speed=1&Param=1)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Device Management
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
devIdno string Yes No Device No.
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_getLoadDeviceInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000 (https://www.mobilecam2.net/StandardApiAction_getLoadDeviceInfo.action?
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000)
Return Param Desc
Param Name Param Type Desc
Version string Version Number
WLanActive number Wireless Module (1: active)
Wireless Module Type(0:2G, 1:3G-EVDO, 2:3G-
WLanType number WCDMA, 3:TD-WCDMA, 4:TD-WCDMA, 5:TD-
WCDMA )
WLanAddr string Wireless Network Address
WifiActive number wifi Module (1: active)
WifiAddr string Wifi Network Address
WifiAP string Wifi Name(cVersion > 0)
Number of channels (channel index 0,
ChanNum number
corresponding to CH1)
Recording status (bit corresponding to channel
Record number
index, 1 means valid)
Video loss status (bit corresponding to channel
VideoLost number
index, 1 means lost)
DiskNum number Number of hard drives
DiskInfo number Hard drive information
All capacity
AllVolume number
Unit: G, please divide by 100 before use.
Remaining capacity
LeftVolume number
Unit: G, divide by 100 before use.
Correctly Returns Examples
{
"result": 0,
"devstaus":
[{
"ChanNum":4,
"DevIDNO":"50000",
"DevType":1,
"DiskNum":1,
"IMEI":"123456",
"NetworkType":1,
"Record":15,
"Version":"V2.0.0.2 20110311",
"VideoLost":0,
"VideoTran":2,
"WLanActive":1,
"WLanAddr":"localhost",
"WLanType":2,
"WifiAP":"wkp-test-wifi",
"WifiActive":1,
"WifiAddr":"localhost",
"cVersion":1,
"gpsState":1,
"gpsTime":"2020-03-05 11:52:40",
"jingDu":113921451,
"weiDu":22570585,
"DiskInfo":{[
"AllVolume":16000,
"LeftVolume":"8800",
]}
}]
}
Add Device
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
The 1: standard (2011) standard 2: (Compass) 3: standard 1078
protocol string Yes No
(video)
Device type
devType string Yes No
7 for video device, 5 for GPS device
Company Name
If it doesn't exsist,it will be added.
companyName string Yes No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Master account: the existence of the company does not need an
account string No No
account, the company does not exist must account
Manufacturer type
0 unknown, 17 GM, 20 HD
factoryType number Yes No
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
channelNum number No No Number of Channels
Request Example
https://www.mobilecam2.net/StandardApiAction_addDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&protocol=1&devType=1&factoryType=0&companyName=9999&account=9999&channelNum=2
(https://www.mobilecam2.net/StandardApiAction_addDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&protocol=1&devType=1&factoryType=0&companyName=9999&account=9999&channelNum=2)
Return Param Desc
Param Name Param Type Desc
Modification of Equipment
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
Device type
devType string Yes No
7 for video device, 5 for GPS device
The 1: standard (2011) standard 2:
protocol string No No
(Compass) 3: standard 1078 (video)
0:UNKOWN 1:G726_40KBPS
2:ADPCM 3:G726_MEDIA_40KBPS
4:G726_MEDIA_32KBPS
5:G726_MEDIA_24KBPS
6:G726_MEDIA_16KBPS
7:G726_32KBPS 8:G726_24KBPS
9:G726_16KBPS 10:G711A 11:G711U
audioCodec string No No
12:AAC_8KBPS 13:AAC_16KBPS
14:AMR 15:AAC_24KBPS
16:ADPCM_IMA 17:G711A_EX
18:G711U_EX 19:NELLY_8KBPS
20:PCM_8K 21:PCM_16K
22:AAC_32KBPS 23:AAC_40KBPS
24:AAC_44KBPS 25:AAC_48KBPS
Manufacturer type
0 unknown, 17 GM, 20 HD
factoryType number No No
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
channelNum number No No Number of Channels
Request Example
https://www.mobilecam2.net/StandardApiAction_editDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&devType=1&factoryType=0&protocol=1&audioCodec=1&channelNum=2
(https://www.mobilecam2.net/StandardApiAction_editDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&devType=1&factoryType=0&protocol=1&audioCodec=1&channelNum=2)
Return Param Desc
Param Name Param Type Desc
Add Vehicle
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
Plate Number
Perform the modification operation if it exists
vehiIdno string Yes No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Device No.
devIdno string Yes No
If it doesn't exsist,it will be added.
Device type
devType string Yes No 7 indicates video equipment, 5 indicates GPS equipment, 11 PTT
terminals
Company Name
If it doesn't exsist,it will be added.
companyName string Yes No Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Master account: the existence of the company does not need an
account string No No
account, the company does not exist must account
License plate color: 1 blue, 2 yellow, 3 black, 4 white, 5 green, 93
plateType number No 2 yellow green, 224 yellow green FJ, 225 white green FJ, 91 yellow, 92
green, 94 gradient green, 0 for none, 9 for others
Manufacturer type
0 unknown, 17 GM, 20 HD
factoryType number Yes No
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
11 PTT terminal is valid, the default value is vehiIdno field.
Chinese reference, format reference
name string No No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
area string No No Area
Fleet
If it doesn't exsist,it will be added.
If it exists, the team is not supported to change its company!
fleetName string No No
Chinese reference, format reference
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
SIM Card
simCard string No No
If it doesn't exsist,it will be added.
Request Example
https://www.mobilecam2.net/StandardApiAction_addVehicle.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&devIdno=1111&devType=1&factoryType=0&companyName=9999&account=9999
(https://www.mobilecam2.net/StandardApiAction_addVehicle.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&devIdno=1111&devType=1&factoryType=0&companyName=9999&account=9999)
Return Param Desc
Param Name Param Type Desc
Delete Device
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Device No. If the device has been used
devIdno string Yes No by vehicle,then it will fail to delete the
device.
Request Example
https://www.mobilecam2.net/StandardApiAction_deleteDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=7777 (https://www.mobilecam2.net/StandardApiAction_deleteDevice.action?jsession=d4683751-3b6b-49d8-
a779-9fa52ca70109&devIdno=7777)
Return Param Desc
Param Name Param Type Desc
Delete Vehicle
(2)Private Param
Installation equipment
(2)Private Param
Uninstall device
(2)Private Param
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
Request Example
https://www.mobilecam2.net/StandardApiAction_getFlowInfo.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=50000 (https://www.mobilecam2.net/StandardApiAction_getFlowInfo.action?jsession=d4683751-3b6b-49d8-
a779-9fa52ca70109&devIdno=50000)
Return Param Desc
a. Traffic configuration information fconfig
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
Traffic statistics switch 0- closes
monitorOpen number Yes No
and 1- opens
settlementDay number Yes No Monthly knot day
monthLimit number Yes No Monthly flow limit (MB)
Monthly traffic reminder 0- does
monthRemindOpen number Yes No
not remind 1- reminding
Monthly flow reminder
monthRemind number Yes No
(percentage), 20% or 20
dayLimit number Yes No Daily flow limit (MB)
Daily traffic reminding 0- not to
dayRemindOpen number Yes No
remind 1- reminding
A daily flow reminder
dayRemind number Yes No
(percentage), 20% or 20
Monthly flow exceeding limit: 0
overlooked after exceeding the
overLimitOpen number Yes No
limit, 1 disable media service
after exceeding the limit
Request Example
https://www.mobilecam2.net/StandardApiAction_saveFlowConfig.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&devIdno=1&monitorOpen=1&settlementDay=20&monthLimit=1200&dayLimit=500&dayRemindOpen=1&dayRemind=50&monthRemindOpen=1&monthRemind=30&overLimitOpen=1
(https://www.mobilecam2.net/StandardApiAction_saveFlowConfig.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&devIdno=1&monitorOpen=1&settlementDay=20&monthLimit=1200&dayLimit=500&dayRemindOpen=1&dayRemind=50&monthRemindOpen=1&monthRemind=30&overLimitOpen=1)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
Area Information
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Request Example
https://www.mobilecam2.net/StandardApiAction_getUserMarkers.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109 (https://www.mobilecam2.net/StandardApiAction_getUserMarkers.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109)
Return Param Desc
Param Name Param Type Desc
i number Area ID
n string Area Name
cl string Color
Area Type 1:point 2:rectangle 3:polygon 4:Route
m number
10:circle
r number Radius
Area Sharing 0:Do not share 1:packet sharing
s number
2:all share
c number Create Area User ID
u number Company ID
mt number Map Type 0:Google 3:Baidu 4:Gaode
Geographic Type 2:Village 3:Factory
4:Construction Site 5:Warehouse 6:Pier
tp number
7:Logistics Park 8:Fee Station 9:Tracking Point
10:Work Area 11:Patrol Area 12:Other
j string Lng
w string Lat
Correctly Returns Examples
{
"result": 0,
"infos":[
{
"p": 0,
"t": 0,
"s": 0,
"c": 1,
"i": 110038,
"n": "test,"
"cl": "FF0000"
"a": ,
"m": 1,
"r": 111,
"j": 113.829487,
"w": 22.652397,
"mt": 4,
"tp": 7
}
]
}
Add Area
Request Example:
var param = {}
param.name = xxx
$.ajax({
url: "/xxx/xxx.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222"
data: {json: JSON.stringify(param)},
cache:false,
dataType:'json',
success: function (json) {
if(json.result == 0){
alert('Success');
} else {
alert('Failure');
}
},error:function(XMLHttpRequest, textStatus, errorThrown){
}
});
URL
https://www.mobilecam2.net/MapMarkerAction_addMark.action?
HTTP Request Method
GET/POST
Input Param Desc
(1)Common Param
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
name string Yes No Marker Name
mapType number No No Map Type 0:Google 3:Baidu 4:Gaode
Area Type 1:point 2:rectangle
markerType number Yes No
3:polygon 4:Route 10:circle
Radius(m), Area Type( 10; circle), pass
radius number No No
parameter, other pass 0
Area Sharing 0:Do not share 1:packet
share number No No
sharing 2:all share
2:Village 3:Factory 4:Construction Site
5:Warehouse 6:Pier 7:Logistics Park
type number No No
8:Fee Station 9:Tracking Point
10:Work Area 11:Patrol Area 12:Other
Map Lng
jingDu string Yes No It may be more than one, in order to ','
separation.
Map Lat
weiDu string Yes No It may be more than one, in order to ','
separation.
Color
color string No No
FF0000
remark string No No Remark
Request Example
https://www.mobilecam2.net/MapMarkerAction_addMark.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&name=mark1&mapType=3&markerType=1&radius=0&share=0&type=2&jingDu=117.145786&weiDu=39.017903&color=FF0000 (https://www.mobilecam2.net/MapMarkerAction_addMark.action?jsession=d4683751-3b6b-49d8-
a779-9fa52ca70109&name=mark1&mapType=3&markerType=1&radius=0&share=0&type=2&jingDu=117.145786&weiDu=39.017903&color=FF0000)
Return Param Desc
Param Name Param Type Desc
markId number Area ID
Correctly Returns Examples
{
"result": 0
"markId": 1000062
}
Modify Area
Request Example:
var param = {}
param.name = xxx
$.ajax({
url: "/xxx/xxx.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222"
data: {json: JSON.stringify(param)},
cache:false,
dataType:'json',
success: function (json) {
if(json.result == 0){
alert('Success');
} else {
alert('Failure');
}
},error:function(XMLHttpRequest, textStatus, errorThrown){
}
});
URL
https://www.mobilecam2.net/MapMarkerAction_editMark.action?
HTTP Request Method
GET/POST
Input Param Desc
(1)Common Param
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Area ID
name string Yes No Marker Name
mapType number No No Map Type 0:Google 3:Baidu 4:Gaode
Area Type 1:point 2:rectangle
markerType number Yes No
3:polygon 4:Route 10:circle
Radius(m), Area Type( 10; circle), pass
radius number No No
parameter, other pass 0
Area Sharing 0:Do not share 1:packet
share number No No
sharing 2:all share
2:Village 3:Factory 4:Construction Site
5:Warehouse 6:Pier 7:Logistics Park
type number No No
8:Fee Station 9:Tracking Point
10:Work Area 11:Patrol Area 12:Other
Map Lng
jingDu string Yes No It may be more than one, in order to ','
separation.
Map Lat
weiDu string Yes No It may be more than one, in order to ','
separation.
Color
color string No No
FF0000
remark string No No Remark
Request Example
https://www.mobilecam2.net/MapMarkerAction_editMark.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&id=1&name=mark1&mapType=3&markerType=1&radius=0&share=0&type=2&jingDu=117.145786&weiDu=39.017903&color=FF0000 (https://www.mobilecam2.net/MapMarkerAction_editMark.action?jsession=d4683751-3b6b-
49d8-a779-9fa52ca70109&id=1&name=mark1&mapType=3&markerType=1&radius=0&share=0&type=2&jingDu=117.145786&weiDu=39.017903&color=FF0000)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
View Area
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Area ID
Request Example
https://www.mobilecam2.net/MapMarkerAction_findMark.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/MapMarkerAction_findMark.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
i number Area ID
n string Area Name
cl string Color
Area Type 1:point 2:rectangle 3:polygon 4:Route
m number
10:circle
r number Radius
Area Sharing 0:Do not share 1:packet sharing
s number
2:all share
c number Create Area User ID
u number Company ID
mt number Map Type 0:Google 3:Baidu 4:Gaode
Geographic Type 2:Village 3:Factory
4:Construction Site 5:Warehouse 6:Pier
tp number
7:Logistics Park 8:Fee Station 9:Tracking Point
10:Work Area 11:Patrol Area 12:Other
j string Lng
w string Lat
Correctly Returns Examples
{
"result": 0,
"marker":
{
"p": 0,
"t": 0,
"s": 0,
"c": 1,
"i": 110038,
"n": "test,"
"cl": "FF0000"
"a": ,
"m": 1,
"r": 111,
"j": 113.829487,
"w": 22.652397,
"mt": 4,
"tp": 7
}
}
Delete Area
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Area ID
Request Example
https://www.mobilecam2.net/MapMarkerAction_deleteMark.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/MapMarkerAction_deleteMark.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
Correctly Returns Examples
{
"result": 0
}
Organization Management
New Organization
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
name string Yes No Organization Name
New
account string No Organization master account
Required
New
parentId number No Superior organization id (default 0)
Required
Account password (MD5
encryptPwd string No No
encryption)
Clear text password [Priority use
encryptPwd, if both encryptPwd
password string No No
and password are empty, default
000000]
Organization id (can only modify
the company name [recommended
parameter transfer method and
id number No No
new agreement, if you can not
query according to id, perform new
operations]
Whether to enable the validity
isEabnleValidity number No No
period 0 not enabled 1 enabled
Validity period yyyy-MM-dd
validity string No No
HH:mm:ss
organizationCode string No No Road transport permit
Request Example
https://www.mobilecam2.net/StandardApiAction_mergeCompany.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&name=test&parentId=0&account=test&password=000000
(https://www.mobilecam2.net/StandardApiAction_mergeCompany.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&name=test&parentId=0&account=test&password=000000)
Return Param Desc
Param Name Param Type Desc
result number 0
id number Organization id
Correctly Returns Examples
{
"result": 0
}
Find Organization
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number No No Organization id
name string No No Organization Name
Request Example
https://www.mobilecam2.net/StandardApiAction_findCompany.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_findCompany.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
name string Organization Name
id number Organization id
Organization type: 1-Company, 12-Department,
level number
15-Administrative Region
accountID number Organization master account Id
parentId number Superior organization id (default 0)
Correctly Returns Examples
{
"result": 0,
"company":
{
"id":2,
"name":"test",
"level":1,
"parentId":0,
"companyId":0
}
}
Delete Organization
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Organization id
name string No No Organization Name
Request Example
https://www.mobilecam2.net/StandardApiAction_deleteCompany.action?jsession=83751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_deleteCompany.action?jsession=83751-3b6b-49d8-a779-
9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
result number 0
Correctly Returns Examples
{
"result": 0
}
Role Management
New Role
(2)Private Param
Find Role
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
name string No No Role Name
id number No No Role Id
Request Example
https://www.mobilecam2.net/StandardApiAction_findUserRole.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_findUserRole.action?jsession=d4683751-3b6b-49d8-a779-
9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
name string Role Name
id number Role Id
privilege string Role Permissions
The organization to which the role belongs,
company object
parsing the reference company query
Correctly Returns Examples
{
"result": 0,
"role":
[{
"id":1,
"name":"role1",
"privilege":"613,24",
"company":{
"id":2,
"name":"test",
"level":1,
"parentId":0,
"companyId":0,
}
}]
}
Delete Role
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Role Id
Request Example
https://www.mobilecam2.net/StandardApiAction_deleteUserRole.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_deleteUserRole.action?jsession=d4683751-3b6b-49d8-
a779-9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
result number 0
Correctly Returns Examples
{
"result": 0
}
User Management
New User
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
account string Yes No User Account
Role permission Id (multiple use
roleId string Yes No
English, split)
cid number Yes No Organization Id
Account password (MD5
encryptPwd number No No
encryption)
Clear text password [Priority use
encryptPwd, if both encryptPwd and
password number No No
password are empty, default
000000]
name string No No User name (default account name)
status number No No undefined
Whether to prohibit the modification
modifyPassword number No No of the password 0-No 1-Yes;
Default 0
Single sign-on: 0-no 1-yes; default
singleLogin number No No
0
User level: 0-4 [corresponding to I-
level number No No
V]; default 0
Account validity period [Format:
validity string No No
2019-04-02]
Used when modifying user
information. If the id does not query
id string No No the user, add a new operation.
[Recommended to read first, then
modify]
Request Example
https://www.mobilecam2.net/StandardApiAction_mergeUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&account=test1&cid=1&roleId=1&password=000000
(https://www.mobilecam2.net/StandardApiAction_mergeUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&account=test1&cid=1&roleId=1&password=000000)
Return Param Desc
Param Name Param Type Desc
result number 0
id number User Id
Correctly Returns Examples
{
"result": 0
}
Find User
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
name string No No User name (default account name)
id number No No User Id
Request Example
https://www.mobilecam2.net/StandardApiAction_findUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_findUserAccount.action?jsession=d4683751-3b6b-49d8-
a779-9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
user object User Info
user.id number User Id
user.act number User Account
user.nm number User name (default account name)
user.isSingleLogin number Single sign-on: 0-no 1-yes; default 0
user.stu number undefined
Account validity period [Format: 2019-04-02]
user.vld number
(millisecond)
user.at number Whether the main account is 0-no, 1- is
Whether to prohibit the modification of the
user.cps number
password 0-No 1-Yes; Default 0
user.lv number User level: 0-4 [corresponding to I-V]; default 0
User Type: 0-Normal User 1-Scheduled User;
user.dis number
Default 0
user.rid string Role Id
Role Name,Multiple corresponding to the role id
user.rnm number
order
user.pid number Organization Id
user.pnm number Organization Name
That is, the current jsession login user belongs to
company object the organization, parsing the reference company
query
Correctly Returns Examples
{
"result": 0,
"user":
{
"id":1,
"lv":0,
"dis":0
"vld":null,
"isSingleLogin":0,
"cps":0
"rid":1,
"rnm":"role",
"pid":1
"pnm":"company1",
"act":"diao4",
"nm":"diaodu4"
"at":0,
"stu":1,
"dis":0
}
}
Delete User
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No User Id
Request Example
https://www.mobilecam2.net/StandardApiAction_deleteUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1 (https://www.mobilecam2.net/StandardApiAction_deleteUserAccount.action?jsession=d4683751-3b6b-
49d8-a779-9fa52ca70109&id=1)
Return Param Desc
Param Name Param Type Desc
result number 0
Correctly Returns Examples
{
"result": 0
}
Driver Management
Inquire whether the driver of the vehicle has changed according to the equipment number
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
Date of most recent driver list
lastUpdateTime date Yes No
download
Request Example
https://www.mobilecam2.net/StandardApiAction_findDriverInfoByDeviceId.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b&lastUpdateTime=2018-11-29 00:00:00
(https://www.mobilecam2.net/StandardApiAction_findDriverInfoByDeviceId.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b&lastUpdateTime=2018-11-29 00:00:00)
Return Param Desc
Param Name Param Type Desc
0: indicates that update is required; 1: no update
needUpdate object
is required.
Correctly Returns Examples
{
"result":"0",
"needUpdate":"0"
}
(1)URL
https://www.mobilecam2.net/StandardApiAction_findDriverInfoByDeviceId.action?jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b&lastUpdateTime=2018-04-27 09:54:42
(https://www.mobilecam2.net/StandardApiAction_findDriverInfoByDeviceId.action?jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b&lastUpdateTime=2018-04-27 09:54:42)
(1)Param Desc
Whether
Param Name Param Type Defaults Desc
Must
After user login returning jsession
jsession string Yes No If it is empty, it is determined that the
account and password.
Device No.
devIdno string Yes No If the devIdno is empty, it is judged
that the vehiIdno.
Date of most recent driver list
lastUpdateTime string Yes No
download
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
devIdno string Yes No Device No.
Request Example
https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceId.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b (https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceId.action?
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b)
Return Param Desc
Param Name Param Type Desc
id number Driver id
jn string Driver's Work Number
dn string person name
sx number Gender 1 male 2 female
dt string Contact
cn string ID number
bt date date of birth
ln string Driver's license number
pid number Company ID
rd date Driver's license date
vd date Driver's License Expiration Date
pst number Job ID 1 driver 2 flight attendant
crd number IC card ID
rmk string Remark
updateTime date Update time
licenseSrc string document photo
qltSrc string Qualification photo
transportStatus number Transport status 0 not transported 1 transported
qltNum string Driver's Work Number
startTime date Start Date
reminderDays number Days Ahead Of Schedule
licenseType string Type Of Driver's License
companyId number Company ID
companyStr string Company Name
birthplace string Birthplace
area string Area
nuclearAuthority string NuclearAuthority
address string address
drivingTime numer Total Driving Time(h)
drivingScore numer Grade
drivingLiCheng number Cumulative Driving Mileage(Km)
idNumberImgUrl string undefined
rdt string Transport certificate
rdtUrl string Transport certificate Photo
alipayUrl string Ali Pay QR Code
wechatpayUrl string Wechat Pay QR Code
vehiIDNO string Plate Number
licenseNumImgUrl string Driver license photo
facePhotoUrl string face library
Information complete status 0 not complete 1
perfectStatus string
complete
isMain boolean Is main driver?
Correctly Returns Examples
{
"result":0,
"drivers":[
{
"address":"",
"id":3,
"startTime":1262361600000,
"licenseType":"C1",
"companyId":4,
"area":"",
"updateTime":1596765277000,
"vehiIDNO":"S12345",
"nuclearAuthority":"",
"qltNum":null,
"rd":1357056000000,
"jn":"123123123",
"drivingTime":null,
"bt":1596384000000,
"facePhotoUrl":"/upload/whdriver/175252151680100_face.png",
"birthplace":"",
"vd":1546358400000,
"reminderDays":123,
"ln":"242019197702208205",
"etQltSrc":null,
"qltSrc":null,
"cn":"12312312312312",
"sx":1,
"drivingScore":null,
"licenseSrc":"/upload/whdriver/175254206338500_face.jpg",
"dn":"12312321",
"dt":"123123123",
"idNumberImgUrl":"/upload/cardNumberImgUrl/237987344706000_cardNumberImgUrl.jpg",
"drivingLiCheng":null,
"licenseNumImgUrl":"/upload/licenseNumUrl/175249118379800_licenseNumUrl.png",
"companyStr":"xxx",
"rdt":"",
"pst":1,
"pid":4,
"transportStatus":0,
"rmk":null,
"rdtUrl":"/upload/jobNumImgUrl/175245778401400_jobNumImgUrl.png",
"perfectStatus":0,
"etQltNum":null,
"alipayUrl":null,
"wechatpayUrl":null,
"crd":null,
"isMain":false
},
{
"address":"",
"id":4,
"startTime":1278864000000,
"licenseType":"C1",
"companyId":4,
"area":"",
"updateTime":1596421396000,
"vehiIDNO":"S12345",
"nuclearAuthority":"",
"qltNum":null,
"rd":1278864000000,
"jn":"driver C",
"drivingTime":null,
"bt":1596384000000,
"facePhotoUrl":"",
"birthplace":"",
"vd":1468252800000,
"reminderDays":1,
"ln":"258241197007142515",
"etQltSrc":null,
"qltSrc":null,
"cn":"C",
"sx":1,
"drivingScore":null,
"licenseSrc":null,
"dn":"driver C",
"dt":"C",
"idNumberImgUrl":null,
"drivingLiCheng":null,
"licenseNumImgUrl":"/upload/licenseNumUrl/238087260796700_licenseNumUrl.jpg",
"companyStr":"xxx",
"rdt":"",
"pst":1,
"pid":4,
"transportStatus":0,
"rmk":null,
"rdtUrl":null,
"perfectStatus":0,
"etQltNum":null,
"alipayUrl":"/upload/alipay/240350059311800_alipay.png",
"wechatpayUrl":"/upload/wechatpay/240352520592400_wechatpay.png",
"crd":null,
"isMain":false
}
]
}
(1)URL
https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceId.action?jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b (https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceId.action?
jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b)
(1)Param Desc
Param Whether
Param Type Defaults Desc
Name Must
After user login returning jsession
jsession string Yes No If it is empty, it is determined that the
account and password.
Device No.
devIdno string Yes No If the devIdno is empty, it is judged that
the vehiIdno.
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
1 Query according to the license code
type string Yes No 2 Query according to the driver's
license number
Driver's Work Number/Driver's license
content string Yes No
number
Request Example
https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceJn.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&type=2&content=212121
(https://www.mobilecam2.net/StandardApiAction_findVehicleInfoByDeviceJn.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&type=2&content=212121)
Return Param Desc
Param Name Param Type Desc
id number Driver id
jn string Driver's Work Number
dn string person name
sx number Gender 1 male 2 female
dt string Contact
cn string ID number
bt date date of birth
ln string Driver's license number
pid number Company ID
rd date Driver's license date
vd date Driver's License Expiration Date
pst number Job ID 1 driver 2 flight attendant
crd number IC card ID
rmk string Remark
updateTime date Update time
licenseSrc string document photo
qltSrc string Qualification photo
transportStatus number Transport status 0 not transported 1 transported
qltNum string Driver's Work Number
startTime date Start Date
reminderDays number Days Ahead Of Schedule
licenseType string Type Of Driver's License
companyId number Company ID
companyStr string Company Name
birthplace string Birthplace
area string Area
nuclearAuthority string NuclearAuthority
address string address
drivingTime numer Total Driving Time(h)
drivingScore numer Grade
drivingLiCheng number Cumulative Driving Mileage(Km)
idNumberImgUrl string undefined
rdt string Transport certificate
rdtUrl string Transport certificate Photo
alipayUrl string Ali Pay QR Code
wechatpayUrl string Wechat Pay QR Code
vehiIDNO string Plate Number
licenseNumImgUrl string Driver license photo
facePhotoUrl string face library
Information complete status 0 not complete 1
perfectStatus string
complete
isMain boolean Is main driver?
Correctly Returns Examples
{
"result":0,
"drivers":[
{
"address":"",
"id":3,
"startTime":1262361600000,
"licenseType":"C1",
"companyId":4,
"area":"",
"updateTime":1596765277000,
"vehiIDNO":"S12345",
"nuclearAuthority":"",
"qltNum":null,
"rd":1357056000000,
"jn":"123123123",
"drivingTime":null,
"bt":1596384000000,
"facePhotoUrl":"/upload/whdriver/175252151680100_face.png",
"birthplace":"",
"vd":1546358400000,
"reminderDays":123,
"ln":"242019197702208205",
"etQltSrc":null,
"qltSrc":null,
"cn":"12312312312312",
"sx":1,
"drivingScore":null,
"licenseSrc":"/upload/whdriver/175254206338500_face.jpg",
"dn":"12312321",
"dt":"123123123",
"idNumberImgUrl":"/upload/cardNumberImgUrl/237987344706000_cardNumberImgUrl.jpg",
"drivingLiCheng":null,
"licenseNumImgUrl":"/upload/licenseNumUrl/175249118379800_licenseNumUrl.png",
"companyStr":"xxx",
"rdt":"",
"pst":1,
"pid":4,
"transportStatus":0,
"rmk":null,
"rdtUrl":"/upload/jobNumImgUrl/175245778401400_jobNumImgUrl.png",
"perfectStatus":0,
"etQltNum":null,
"alipayUrl":null,
"wechatpayUrl":null,
"crd":null,
"isMain":false
},
{
"address":"",
"id":4,
"startTime":1278864000000,
"licenseType":"C1",
"companyId":4,
"area":"",
"updateTime":1596421396000,
"vehiIDNO":"S12345",
"nuclearAuthority":"",
"qltNum":null,
"rd":1278864000000,
"jn":"driver C",
"drivingTime":null,
"bt":1596384000000,
"facePhotoUrl":"",
"birthplace":"",
"vd":1468252800000,
"reminderDays":1,
"ln":"258241197007142515",
"etQltSrc":null,
"qltSrc":null,
"cn":"C",
"sx":1,
"drivingScore":null,
"licenseSrc":null,
"dn":"driver C",
"dt":"C",
"idNumberImgUrl":null,
"drivingLiCheng":null,
"licenseNumImgUrl":"/upload/licenseNumUrl/238087260796700_licenseNumUrl.jpg",
"companyStr":"xxx",
"rdt":"",
"pst":1,
"pid":4,
"transportStatus":0,
"rmk":null,
"rdtUrl":null,
"perfectStatus":0,
"etQltNum":null,
"alipayUrl":"/upload/alipay/240350059311800_alipay.png",
"wechatpayUrl":"/upload/wechatpay/240352520592400_wechatpay.png",
"crd":null,
"isMain":false
}
]
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
Plate Number
vehiIdno string No No It may be more than one, in order to ','
separation.
Driver id
dids string No No It may be more than one, in order to ','
separation.
begintime string Yes No Start Time
endtime string Yes No undefined
Map Coordinates Conversion
1 shows Coordinates converted to
toMap string No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Analysis of geographical position
1 provides resolution geographic
geoaddress string No No location services
If you don't pass it, don't analysis the
location
Current Page
currentPage string No No
If empty, no paging.
Page Record
pageRecords string No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryPunchCardRecode.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=1111111&begintime=2020-05-18 00:00:00&endtime=2020-06-17
23:59:59&toMap=2¤tPage=1&pageRecords=10 (https://www.mobilecam2.net/StandardApiAction_queryPunchCardRecode.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=1111111&begintime=2020-05-18
00:00:00&endtime=2020-06-17 23:59:59&toMap=2¤tPage=1&pageRecords=10)
Return Param Desc
Param
Param Name Desc
Type
guid string Alarm Unique Number
vid number Vehicle ID
vehi string Plate Number
cnm string Company Name
dev string Device No.
stm number Alarm Start Time (UTC) in seconds
etm number Alarm End Time (UTC) in seconds
atp number Alarm Type
info number Alarm Info
Alarm Param 1
p1 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 2
p2 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 3
p3 string Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Alarm Param 4
p4 number Details See also:Alarm Param Desc
(https://www.mobilecam2.net/808gps/open/example/explain.html?lang=en)
Punch information, use';' to split. Driver name|Issuing authority|ID
desc string
number|Qualification code
ddinfo string Punch driver name
issu string Card issuing authority
idCard string Punch driver ID number
cert string Code for the driver's qualification card
Alarm Start Status 1
Details See also:Alarm Status Desc
ss1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm Start Status 2
Details See also:Alarm Status Desc
ss2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 1
Details See also:Alarm Status Desc
es1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 2
Details See also:Alarm Status Desc
es2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
slng number Alarm Start Lng
slat number Alarm Start Lat
elng number Alarm End Lng
elat number Alarm End Lat
Alarm Start Map Lat
smlat string
Get the lat through the conversion
Alarm End Map Lat
emlat string
Get the lat through the conversion
Alarm start location
sps string The geographic location after analysis or (alarm start map longitude, alarm
start map latitude)
Alarm end location
eps string The geographic location after the analysis (or the end of the map, the
longitude of the alarm, the latitude of the end of the map)
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
vehicleList array Vehicle list
Correctly Returns Examples
{
"result": 0,
"pagination": {
"sortParams": null,
"primaryKey": "id",
"hasPreviousPage": false,
"previousPage": 1,
"startRecord": 0,
"currentPage": 1,
"totalPages": 7,
"endRecord": 2,
"hasNextPage": true,
"nextPage": 2,
"directQuery": false,
"pageRecords": 2,
"totalRecords": 14
},
"infos": [
{
"issu": "",
"ddinfo": "",
"cert": "111111111111111111",
"idCard": "",
"vehi": "test1111",
"dev": "11111111",
"desc": "",
"info": 0,
"p3": 0,
"p2": 2,
"p1": 6,
"p4": 51,
"vid": 12530,
"cnm": "test",
"elng": null,
"elat": null,
"slat": 30187469,
"slng": 120204966,
"ss1": -2147469949,
"ss2": 17305600,
"es1": null,
"es2": null,
"guid": "B0ADB4B9C1F94C4E84EF7AE9D9C7AB20",
"emlat": null,
"smlat": "30.187469,120.204966",
"stm": 1591790591000,
"etm": null,
"atp": 442,
"eps": "",
"sps": "30.187469,120.204966"
}]
}
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
Plate Number
vehiIdno string No No It may be more than one, in order to ','
separation.
Driver id
dids string No No It may be more than one, in order to ','
separation.
begintime string Yes No Start Time
endtime string Yes No undefined
Map Coordinates Conversion
1 shows Coordinates converted to
toMap string No No Google Maps Coordinates, 2 shows
the Coordinates converted to Baidu
map Coordinates
Analysis of geographical position
1 provides resolution geographic
geoaddress string No No location services
If you don't pass it, don't analysis the
location
Current Page
currentPage string No No
If empty, no paging.
Page Record
pageRecords string No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_queryIdentifyAlarm.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=11111111&begintime=2020-05-1 00:00:00&endtime=2020-06-19 23:59:59&toMap=2
(https://www.mobilecam2.net/StandardApiAction_queryIdentifyAlarm.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=11111111&begintime=2020-05-1 00:00:00&endtime=2020-06-19 23:59:59&toMap=2)
Return Param Desc
Param
Param Name Desc
Type
guid string Alarm Unique Number
vid number Vehicle ID
vehi string Plate Number
cnm string Company Name
dev string Device No.
stm number Alarm Start Time (UTC) in seconds
etm number Alarm End Time (UTC) in seconds
atp number Alarm Type
Alarm Info
info number
Recognition result, 0: recognition failure 1: recognition success
Alarm Param 1
p1 number
Recognition success means contrast, zoom in 100
Alarm Param 2
p2 number The lower 16 bits indicate failure similarity, and the higher 16 bits indicate
passing similarity
Alarm Param 3
p3 string Recognition failure means failure type 0: invalid 1: recognition failure 2:
unrecognizable 3: comparison failure
Alarm Param 4
p4 number
Driver id
desc string Alarm Info
Alarm Start Status 1
Details See also:Alarm Status Desc
ss1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm Start Status 2
Details See also:Alarm Status Desc
ss2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 1
Details See also:Alarm Status Desc
es1 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
Alarm End Status 2
Details See also:Alarm Status Desc
es2 number
(https://www.mobilecam2.net/808gps/open/example/VehicleStateExplain.html?
lang=en)
slng number Alarm Start Lng
slat number Alarm Start Lat
elng number Alarm End Lng
elat number Alarm End Lat
Alarm Start Map Lat
smlat string
Get the lat through the conversion
Alarm End Map Lat
emlat string
Get the lat through the conversion
Alarm start location
sps string The geographic location after analysis or (alarm start map longitude, alarm
start map latitude)
Alarm end location
eps string The geographic location after the analysis (or the end of the map, the
longitude of the alarm, the latitude of the end of the map)
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"pagination": {
"sortParams": null,
"primaryKey": "id",
"hasPreviousPage": false,
"previousPage": 1,
"startRecord": 0,
"currentPage": 1,
"totalPages": 1,
"endRecord": 0,
"hasNextPage": false,
"nextPage": 1,
"directQuery": false,
"pageRecords": 10,
"totalRecords": 6
},
"infos": [
{
"vehi": "015800098111",
"dev": "015800098111",
"desc": "",
"info": 0,
"p3": 33,
"p2": 12189696,
"p1": 48550,
"p4": 0,
"vid": 14667,
"cnm": "test",
"elng": null,
"elat": null,
"slat": -859058943,
"slng": 1073739000,
"ss1": -2147447551,
"ss2": 33099776,
"es1": null,
"es2": null,
"guid": "C121EB7B3E8E4377849D6899ED1CD553",
"emlat": null,
"smlat": "-859.058943,1073.739000",
"stm": 1589961877000,
"etm": null,
"atp": 646,
"eps": "",
"sps": "-859.058943,1073.739000"
}]
}
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
dName string No No Driver name, Fuzzy search
Request Example
https://www.mobilecam2.net/StandardApiAction_queryDriverList.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&dName=ABC (https://www.mobilecam2.net/StandardApiAction_queryDriverList.action?jsession=cf6b70a3-c82b-
4392-8ab6-bbddce336222&dName=ABC)
Return Param Desc
Param Name Param Type Desc
id number Driver id
jn number Driver's Work Number
dn string Driver Name
sx string Gender 1 male 2 female
dt string Contact
cn number ID number
bt number date of birth
ln number Driver's license number
pid number Company ID
rd number Driver's license date
vd number Driver's License Expiration Date
reminderDays string Days Ahead Of Schedule
licenseType number Type Of Driver's License
birthplace string Birthplace
area number Area
nuclearAuthority number NuclearAuthority
address number address
Correctly Returns Examples
{
"result": 0,
"infos": [
{
"address": null,
"id": 30,
"startTime": 1557128971000,
"reminderDays": 3,
"licenseType": "A1",
"rdt": "",
"rdtUrl": "",
"qltNum": null,
"etQltNum": null,
"sx": 1,
"cn": "ABCD1111111111",
"vd": 111111111111111,
"pst": 1,
"rmk": null,
"birthplace": null,
"bt": 1557128971000,
"rd": 1557128971000,
"companyId": null,
"area": null,
"updateTime": 1571980168000,
"qltSrc": "",
"perfectStatus": 0,
"etQltSrc": "",
"drivingScore": 0,
"facePhotoUrl": "",
"drivingTime": 0,
"pid": 4,
"nuclearAuthority": null,
"jn": "ABCD1111111111",
"dn": "ABCD1111",
"dt": "33333333",
"ln": "ABCD1111111111111",
"transportStatus": 0,
"idNumberImgUrl": "",
"drivingLiCheng": 0
}
]
}
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
It is used when modifying
the driver information. If the
ID cannot find the driver,
id number No No
the driver will be added. [it
is recommended to read
before modifying]
jobNum string Yes No Driver's Work Number
name string Yes No Driver Name
contact string Yes No Contact
cardNumber string Yes No ID number
sex number Yes No Gender 1 male 2 female
licenseNum string Yes No Driver's license number
licenseType string Yes No Type Of Driver's License
birth string Yes No date of birth
rushDate string Yes No Driver's license date
Start time of the valid date
startTime string Yes No
of the certificate
Driver's License Expiration
validity string Yes No
Date
reminderDays number Yes No Days Ahead Of Schedule
companyName string Yes No Company Name
Job ID 1 driver 2 flight
postId number No No
attendant
remark string No No Remark
enable number No No Is it used
Driver's license photo
licenseSrc string No No
address
Photo address of
qltSrc string No No
qualification certificate
Transport status 0 not
transportStatus number No No
transported 1 transported
Information complete status
perfectStatus number No No
0 not complete 1 complete
Photo address of escort
etQltSrc string No No
qualification certificate
qltNum string No No Driver's license number
birthplace string No No Birthplace
area string No No Area
nuclearAuthority string No No NuclearAuthority
vehiIDNO string No No Plate Number
address string No No address
face library,Call the upload
facePhotoUrl string No No image interface to get the
return value
drivingTime number No No Cumulative driving time
drivingScore number No No Grade
Accumulated driving
drivingLiCheng number No No
mileage
ID photo address,Call the
idNumberImgUrl string No No upload image interface to
get the return value
Road transportation
roadTransport string No No
qualification certificate
Photo address of road
transportation qualification
roadTransportImgUrl string No No certificate,Call the upload
image interface to get the
return value
complaintsNumbers number No No Number of complaints
processedNumbers number No No Processed times
supervisionCardNum string No No Supervision Card Number
Supervision Card Validity
supervisionCardReviewTime date No No
Period
supervisionCardStatus number No No Supervision Card Status
Request Example
https://www.mobilecam2.net/DriverAction_mergeDriver.action?jsession=979e77bc272e45ed803fb990aea83dba&jobNum=lll456&name=name&contact=&cardNumber=8125456&sex=2&licenseNum=898989&licenseType=B&birth=1999-10-
21&rushDate=2019-12-12&startTime=2020-10-21&validity=2020-10-21&reminderDays=7&companyName=lwm (https://www.mobilecam2.net/DriverAction_mergeDriver.action?
jsession=979e77bc272e45ed803fb990aea83dba&jobNum=lll456&name=name&contact=&cardNumber=8125456&sex=2&licenseNum=898989&licenseType=B&birth=1999-10-21&rushDate=2019-12-12&startTime=2020-10-21&validity=2020-
10-21&reminderDays=7&companyName=lwm)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
id number Driver id
Correctly Returns Examples
{
"result": 0
}
find Driver
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No Driver id
Request Example
https://www.mobilecam2.net/DriverAction_loadDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1 (https://www.mobilecam2.net/DriverAction_loadDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1)
Return Param Desc
Param Name Param Type Desc
id number Driver id
jobNum number Driver's Work Number
name string Driver Name
sex string Gender 1 male 2 female
contact string Contact
cardNumber number ID number
birth number date of birth
licenseNum number Driver's license number
companyId number Company ID
companyName string Company Name
rushDate number Driver's license date
validity number Driver's License Expiration Date
postId string Job ID 1 driver 2 flight attendant
cardId number IC card ID
remark string Remark
enable number Is it used
licenseSrc number Driver's license photo address
qltSrc number Photo address of qualification certificate
transportStatus string Transport status 0 not transported 1 transported
Information complete status 0 not complete 1
perfectStatus number
complete
etQltSrc string Photo address of escort qualification certificate
qltNum number Driver's license number
startTime number Start time of the valid date of the certificate
reminderDays number Days Ahead Of Schedule
licenseType string Type Of Driver's License
birthplace number Birthplace
area string Area
nuclearAuthority number NuclearAuthority
vehiId number Vehicle ID
vehiIDNO number Plate Number
address string address
facePhotoUrl number face library
drivingTime string Cumulative driving time
drivingScore number Grade
drivingLiCheng number Accumulated driving mileage
idNumberImgUrl number ID photo address
roadTransport number Road transportation qualification certificate
Photo address of road transportation qualification
roadTransportImgUrl number
certificate
complaintsNumbers number Number of complaints
processedNumbers number Processed times
clock number Whether to check in the driver
Correctly Returns Examples
{
"result": 0{
"result":0,
"driver":{
"address":"address",
"name":"name",
"id":2,
"startTime":1262361600000,
"licenseType":"driver s license type",
"nuclearAuthority":"issuing authority",
"vehiIDNO":null,
"companyId":5,
"area":"area",
"validity":1514822400000,
"updateTime":1603966552000,
"remark":null,
"contact":"",
"jobNum":"certificate code",
"sex":1,
"processedNumbers":null,
"complaintsNumbers":null,
"vehiId":null,
"company":null,
"companyName":"222",
"cardId":1,
"card":null,
"licenseSrc":"/upload/whdriver/291904389262300_face.png",
"alipayQrCodeUrl":"/upload/alipay/291907711081600_alipay.png",
"drivingLiCheng":null,
"wechatpayQrCodeUrl":"/upload/wechatpay/291910758997800_wechatpay.png",
"idNumberImgUrl":"",
"licenseNumImgUrl":"/upload/licenseNumUrl/291962842501900_licenseNumUrl.png",
"roadTransportImgUrl":"/upload/jobNumImgUrl/291938388698100_jobNumImgUrl.png",
"licenseNum":"242521197001102412",
"cardNumber":"233512",
"enable":null,
"birth":1598889600000,
"qltNum":null,
"qltSrc":null,
"delPhotoUrl":null,
"facePhotoUrl":"/upload/whdriver/291898523468800_face.png;/upload/whdriver/291898583437800_face.png",
"etQltSrc":null,
"postId":1,
"drivingTime":null,
"birthplace":"nativePlace",
"reminderDays":21,
"roadTransport":"road transport qualification certificate",
"drivingScore":null,
"transportStatus":0,
"etQltNum":null,
"clock":false,
"rushDate":1325433600000,
"perfectStatus":0
}
}
}
Delete driver
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Driver id
id number Yes No It may be more than one, in order to ','
separation.
Request Example
https://www.mobilecam2.net/DriverAction_deleteDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1 (https://www.mobilecam2.net/DriverAction_deleteDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&id=1)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
upload image
No
JavaScript code:
function loadPage() {
//Upload pictures to the server
loadUploader();
}
function loadUploader() {
var $ = jQuery,
$list = $('#fileList'),
//Optimize retina, under retina this value is 2
ratio = window.devicePixelRatio || 1,
allMaxSize = 10,
//Thumbnail size
thumbnailWidth = 80 * ratio,
thumbnailHeight = 80 * ratio,
$list.append($li);
//Create thumbnail
uploader.makeThumb(file, function (error, src) {
if (error) {
$img.replaceWith('' + "Cannot preview" + '');
return;
}
$img.attr('src', src);
}, thumbnailWidth, thumbnailHeight);
});
//A progress bar is created and displayed in real time during the file upload process.
uploader.on('uploadProgress', function (file, percentage) {
var $li = $('#' + file.id),
$percent = $li.find('.progress span');
});
$error.text("Upload failed");
});
//When the upload is complete, whether successful or failed, delete the progress bar first.
uploader.on('uploadComplete', function (file) {
$('#' + file.id).find('.progress').remove();
});
SIM Management
Add SIM
(2)Private Param
Param Whether
Param Name Defaults Desc
Type Must
jsession string Yes No Jsession
SIM ID
id number No No
When modifying the SIM, the parameters must be passed!
cardNum string Yes No SIM Card
Company Name
Chinese reference, format reference
companyName string Yes No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Registration time (default current time, old time will not be transmitted
registrationTime string No No when modified)
2020-03-03 10:10:10
status number No No Use status 0 is not enabled, 1 is enabled, default 1
Remark
Chinese reference, format reference
remark string No No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Issuing City
Chinese reference, format reference
city string No No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Operator
Chinese reference, format reference
operator string No No
(https://www.mobilecam2.net/808gps/open/example/codeExplain.html?
lang=en)
Bind the device number (the company of the device and the company
devIdno string No No
of the sim are the same to bind successfully)
Request Example
https://www.mobilecam2.net/StandardApiAction_mergeSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&cardNum=1000000&companyName=9889 (https://www.mobilecam2.net/StandardApiAction_mergeSIMInfo.action?
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&cardNum=1000000&companyName=9889)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Find SIM
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No SIM ID
Request Example
https://www.mobilecam2.net/StandardApiAction_findSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1 (https://www.mobilecam2.net/StandardApiAction_findSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&id=1)
Return Param Desc
Param Name Param Type Desc
id string SIM ID
vehiIDNO string Plate Number
remark string Remark
Use status 0 is not enabled, 1 is enabled, default
status number
1
registrationTime number Registration (milliseconds)
companyName string Company Name
install number Bound device 0 means unbound, 1 means bound
devId number Device ID
companyID number Company ID
cardNum string SIM Card
devIDNO string Equipment number
operator string Operator
city string Issuing City
Correctly Returns Examples
{
"result": 0,
"sim": {
"id": 25,
"remark": null,
"updateTime": null,
"status": 1,
"vehiIDNO": "1002",
"company": null,
"registrationTime": 1617868459000,
"companyName": "9889",
"simCard": null,
"install": 1,
"devId": 1,
"companyID": 38,
"cardNum": "222"
"devIDNO": "1002"
"operator": null,
"city": null,
"oldDevId": null
}
Delete SIM
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
id number Yes No SIM ID
Request Example
https://www.mobilecam2.net/StandardApiAction_deleteSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1 (https://www.mobilecam2.net/StandardApiAction_deleteSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&id=1)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Query SIM (paged)
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/StandardApiAction_loadSIMInfos.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222 (https://www.mobilecam2.net/StandardApiAction_loadSIMInfos.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222)
Return Param Desc
Param Name Param Type Desc
id string SIM ID
vehiIDNO string Plate Number
remark string Remark
Use status 0 is not enabled, 1 is enabled, default
status number
1
registrationTime number Registration (milliseconds)
companyName string Company Name
install number Bound device 0 means unbound, 1 means bound
devId number Device ID
companyID number Company ID
cardNum string SIM Card
devIDNO string Equipment number
operator string Operator
city string Issuing City
totalPages number Total Page
currentPage number Current Page
pageRecords number Page Record
totalRecords number Total Records
Correctly Returns Examples
{
"result": 0,
"pagination": {
"sortParams": null,
"primaryKey": "id",
"hasPreviousPage": false,
"previousPage": 1,
"startRecord": 0,
"currentPage": 1,
"totalPages": 1,
"endRecord": 0,
"hasNextPage": false,
"nextPage": 1,
"directQuery": false,
"pageRecords": 10,
"totalRecords": 6
},
"infos": [
{
"id": 25,
"remark": null,
"updateTime": null,
"status": 1,
"vehiIDNO": "1002",
"company": null,
"registrationTime": 1617868459000,
"companyName": "9889",
"simCard": null,
"install": 1,
"devId": 1,
"companyID": 38,
"cardNum": "222"
"devIDNO": "1002"
"operator": null,
"city": null,
"oldDevId": null
}]
}
Unbind sim
(2)Private Param
Param Whether
Param Type Defaults Desc
Name Must
jsession string Yes No Jsession
Flag, if the parameter is empty, the
default value is 0.
flag number No 0
0: Unbind through SIM ID, 1: Unbind
through device number
id string Yes No SIM ID/Device No.
Request Example
https://www.mobilecam2.net/StandardApiAction_unbindingSIM.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1 (https://www.mobilecam2.net/StandardApiAction_unbindingSIM.action?jsession=cf6b70a3-c82b-4392-8ab6-
bbddce336222&id=1)
Return Param Desc
Param Name Param Type Desc
Return Code
result number
0 means success, the other means failure.
Correctly Returns Examples
{
"result": 0
}
Reports
Passenger Summary
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
begintime string Yes No Start Time
End Time
Start time is not greater than the end
endtime string Yes No
time, and the number of query days
must not be greater than 7 days.
Plate Number
vehiIdnos string No No It may be more than one, in order to ','
separation.
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/PeopleAction_peopleSummary.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&begintime=2022-09-09 00:00:00&endtime=2022-09-09 23:59:59&vehiIdnos=50000000000,50000000001
(https://www.mobilecam2.net/PeopleAction_peopleSummary.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&begintime=2022-09-09 00:00:00&endtime=2022-09-09 23:59:59&vehiIdnos=50000000000,50000000001)
Return Param Desc
Param Name Param Type Desc
vehiIdno string Plate Number
plateType number Plate Color
companyName string Company Name
startTimeStr string Start Time
endTimeStr string End Time
downPeople number Total Getting Off
incrPeople number Incremental Staff
upPeople number Total Boarding
Correctly Returns Examples
{
"result": 0,
"pagination": {
"query": null,
"previousPage": 1,
"hasPreviousPage": false,
"nextPage": 1,
"currentPage": 1,
"pageRecords": 10,
"qtype": null,
"sortParams": null,
"totalRecords": 1,
"directQuery": false,
"hasNextPage": false,
"totalPages": 1,
"pagin": null,
"endRecord": 0,
"startRecord": 0,
"page": false,
"primaryKey": "id",
"rp": null
},
"infos": [
{
"vehiIdno": "10001",
"devIdno": null,
"plateType": 2,//License plate color
"companyName": "test company",
"endTimeStr": "2022-09-09 16:59:04",
"startTimeStr": "2022-09-09 01:28:00",
"downPeople": 4,
"incrPeople": 0,
"upPeople": 4
}
]
}
Passenger Detail
(2)Private Param
Whether
Param Name Param Type Defaults Desc
Must
jsession string Yes No Jsession
begintime string Yes No Start Time
End Time
Start time is not greater than the end
endtime string Yes No
time, and the number of query days
must not be greater than 7 days.
Plate Number
vehiIdnos string No No It may be more than one, in order to ','
separation.
Current Page
currentPage number No No
If empty, no paging.
Page Record
pageRecords number No No
If empty, no paging.
Request Example
https://www.mobilecam2.net/PeopleAction_peopleDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&begintime=2022-09-09 00:00:00&endtime=2022-09-09 23:59:59&vehiIdnos=50000000000,50000000001
(https://www.mobilecam2.net/PeopleAction_peopleDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&begintime=2022-09-09 00:00:00&endtime=2022-09-09 23:59:59&vehiIdnos=50000000000,50000000001)
Return Param Desc
Param Name Param Type Desc
vehiIdno string Plate Number
devIdno string Device No.
bTimeStr number Start Time
companyName string Company Name
plateType number Plate Type
weidu number Lat
jindu number Lng
curPeople string Number Of Passengers
downPeople1 string Front Getting Off
downPeople2 string Back Getting Off
downPeople3 string Middle Getting Off
upPeople1 string Front Boarding
upPeople2 string Back Boarding
upPeople3 string Middle Boarding
Correctly Returns Examples
{
"result": 0,
"pagination": {
"currentPage": 1,
"pageRecords": 10,
"qtype": null,
"totalRecords": 2,
"sortParams": null,
"hasPreviousPage": false,
"previousPage": 1,
"nextPage": 1,
"startRecord": 0,
"page": false,
"endRecord": 0,
"rp": null,
"directQuery": false,
"hasNextPage": false,
"totalPages": 1,
"pagin": null,
"primaryKey": "id",
"query": null
},
"infos": [
{
"vehiIdno": "10001",
"devIdno": "10001",
"bTimeStr": "2022-09-09 01:28:00",
"startPosition": "22.515410,113.916914",
"companyName": "test company",
"plateType": 2,
"weidu": 22515410,
"statisticsTime": 1662658080000,
"curPeople": 1,
"downPeople1": 1,
"upPeople4": 1,
"downPeople2": 1,
"jindu": 113916914,
"upPeople2": 1,
"downPeople3": 1,
"upPeople3": 1,
"incrPeople": 1,
"upPeople1": 1,
"downPeople4": 1,
"id": 20
},
{
"vehiIdno": "10001",
"devIdno": "10001",
"bTimeStr": "2022-09-09 17:22:08",
"startPosition": "22.515410,113.916914",
"companyName": "test company",
"plateType": 2,
"weidu": 22515410,
"statisticsTime": 1662715328000,
"curPeople": 1,
"downPeople1": 1,
"upPeople4": 1,
"downPeople2": 1,
"jindu": 113916914,
"upPeople2": 1,
"downPeople3": 1,
"upPeople3": 1,
"incrPeople": 1,
"upPeople1": 1,
"downPeople4": 1,
"id": 10
}
]