All requests and responses data are both of encoding utf-8 format, all parameter values in the url please do URLEncode coding;
parameter please do URL encoding(UTF-8), comply with RFC 1738 when coding.
Param Name | Param Type | Whether Must | Desc |
jsession | string | Yes | Return session after user logged |
callback | string | No | When a third-party call Open API by JS, by specifying the callback parameter, the platform will return JSONP code, used to solve cross-border problems.Callback parameter values can only be alphanumeric number and underscores. |
Universal Return Param Desc(json):
Param Name | Param Type | Desc |
retult | number | 0: Correctly returns Other: failure.Details See also:Error Code Desc |
callback | string | Callback is carried when requesting |
Error Code | Caption |
1 | Username does not exist |
2 | wrong password |
3 | The user has disabled |
4 | The user has expired |
5 | Session does not exist |
6 | System exception |
7 | Request parameter is incorrect |
8 | No authority to operate the vehicle or device |
9 | Start time is not greater than the end time |
10 | The time Longer than the range |
11 | Video download tasks already exist |
12 | Account already exists |
13 | No operating authority |
14 | The amount of device was limited(The amount of device reaches maximum). |
15 | The device is already exsist. |
16 | The vehicle is already exsist. |
17 | The device has been used. |
18 | Vehicle does not exist |
19 | Device does not exist |
20 | Equipment is not current company |
21 | The number of device registration does not match, please check the number of equipment exceeds the number of registration! |
24 | Network connection exception |
25 | The name of the rule already exists |
26 | Rules do not exist |
27 | Information does not exist |
28 | userSession already exists |
29 | Company does not exist |
32 | Equipment is not online |
34 | Single sign-on user, already logged in |
Error Code | Caption |
2 | No user permissions |
3 | Request parameter is incorrect |
4 | Operating database error |
5 | Information does not exist |
6 | unknown error |
7 | The name has been used |
21 | Device does not exist |
22 | No feedback information received from the device |
23 | Equipment is not online |
26 | Device connection interruption |
27 | Undefined storage path |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
account | string | Yes | No | Account |
password | string | Yes | No | Password |
Param Name | Param Type | Desc |
jsession | string | Jsession |
{ "result": 0, "jsession": "cf6b70a3-c82b-4392-8ab6-bbddce336222" }
Way 1:
Login to the background interface Do not contain video interfaceSee Also:http://47.88.8.31/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&clientLogin=1
Login to the background interface Include video and other interfacesSee Also:http://47.88.8.31/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&clientLogin=2
Login to the background interface Specify PageSee Also:http://47.88.8.31/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&menuIds=25,26
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:
Login to the background interface Specify menu, pageSee Also:http://47.88.8.31/808gps/index.html?userSession=cf6b70a3-c82b-4392-8ab6-bbddce336222&menuKey=key1
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.
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
a.Vehicle Information
Param Name | Param Type | Desc |
id | number | Vehicle ID |
nm | string | Plate Number |
ic | number | Vehicle Icon |
pid | number | Vehicle Company Or Team |
pt | string | Plate Type |
dl | Array | Device List The following are device info |
id | string | Device No. |
pid | number | Device Company |
ic | number | Number of IO |
io | string | IO Name Separated by ',' |
cc | number | Number of Channels |
cn | string | Channel Name Separated by ',' |
tc | number | Number of Temperature Sensors |
tn | string | Temperature sensor Name Separated by ',' |
md | number | Module Param Bitwise representation, each shows a module, The first is support for video, The second is control oil, The third is control circuit, The fourth is tts voice, The fifth is digital intercom, The sixth is capture support, The seventh is monitor support, The eighth is fuel sensor, The ninth is support intercom, The tenth is ODB peripherals. |
sim | string | SIM Card |
vt | string | Vehicle type: 1 Dangerous Goods Transporter, 2 Ordinary Passenger Transport Vehicle, 3 Rural Passenger Transport Vehicle, 4 Taxi, 5 Freight Vehicle, 6 Waste Truck, 7 Sanitation Vehicle, 8 Concrete Vehicle, 9 Excavator, 10 Engineering Vehicle |
nflt | number | Monthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit |
did | string | Device No. |
isb | number | Device protocol |
us | number | Device usage status |
payEnd | number | Service expiration time (time stamp type) |
b.Organization Information
Param Name | Param Type | Desc |
id | number | Organization ID |
nm | string | Organization Name |
pid | number | Higher Party Organization ID |
{ "result": 0, "vehicles":[ { "id":34, "nm":"50000000001", "ic":11, "pid":1, "dl":[ { "id":"500000", "pid":2, "ic":3, "io":"IO_1,IO_2,IO_3", "cc":4, "cn":"CH1,CH2,CH3,CH4", "tc":3, "vt":null, "tn":"TEMP_1,TEMP_2,TEMP_3", "md":1568, "sim":null } ] } ], "companys":[ { "id":1 "nm":"测试", "pid":0 }, { "id":2 "nm":"测试子部门", "pid":1 } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
vehiIdno | string | Yes | No | Plate Number It may be more than one, in order to ',' separation. Chinese reference, format reference |
Param Name | Param Type | Desc |
did | string | Device No. |
vid | string | Plate Number |
type | number | Device type 1 means video device, 0 means gps device, if only one device, it is video device or gps device. |
{ "result": 0, "devices":[ { "vid":"50000000000", "type":1, "did":"1234" }, { "vid":"50000000000", "type":0, "did":"dsdasd21116" } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | No | No | Device No. It may be more than one, in order to ',' separation. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. If the devIdno is empty, it is judged that the vehiIdno. Chinese reference, format reference |
status | number | No | No | Online status, 0 not online 1 online, empty query all |
Param Name | Param Type | Desc |
did | string | Device No. |
vid | string | Plate Number If you are using the devIdno query, it is null. |
online | number | Online Status 1 means online, or offline. |
{ "result": 0, "onlines":[ { "did":"500000", "vid": null, "online":1 } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | No | No | Device No. It may be more than one, in order to ',' separation. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. If the devIdno is empty, it is judged that the vehiIdno. Chinese reference, format reference |
geoaddress | number | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
driver | number | No | No | Whether to query driver information (name + work number) 1: query; other or not: not querying |
toMap | number | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
language | string | No | No | Analysis of geographical position, Chinese environment pass on: zh |
Param Name | Param Type | Desc |
id | string | Device No. |
vid | string | Plate Number If you are using the devIdno query, it is null. |
lng | number | Lng If the device location is invalid, the value of 0. For example: 113231258, the true value is 113.231258 |
lat | number | Lat If the device location is invalid, the value of 0. For example: 39231258, the true value is 39.231258 |
ft | number | Factory Type |
sp | number | Speed Unit: km/h, you must first use divided by 10. |
ol | number | Online Status 1 means online, or offline. |
gt | string | GPS Upload Time |
pt | number | Protocol Type |
dt | number | Hard Type 1 means a SD card, 2 means a hard disk, and 3 means SSD card. |
ac | number | Audio Type |
fdt | number | Factory Subtype |
net | number | Network Type 0 means 3G, 1 means WIFI, 2 means wired, 3 means 4G, 4 means 5G. |
gw | string | Gateway Server Number |
s1 | number | Status 1 Details See also:Device Status Desc |
s2 | number | Status 2 Details See also:Device Status Desc |
s3 | number | Status 3 Details See also:Device Status Desc |
s4 | number | Status 4 Details See also:Device Status Desc |
t1 | number | Temp Sensor 1 |
t2 | number | Temp Sensor 2 |
t3 | number | Temp Sensor 3 |
t4 | number | Temp Sensor 4 |
hx | number | Direction North direction is 0 degrees, clockwise increases, the maximum value of 360 degrees. |
mlng | string | Map Lng Get the lng through the conversion |
mlat | string | Map Lat Get the lat through the conversion |
pk | number | Parking Time Unit: sec. |
lc | number | mileage Unit: m. |
yl | number | Fuel Unit: L, you must first use divided by 100. |
ps | string | Geographical Position The geographical position after analysis (or converted longitude, converted latitude) |
tsp | number | Speed of traveling data recorder Unit: km/h, you must first use divided by 10. V9:Electric Quantity |
dn | string | Driver Name |
jn | string | Driver's Work Number |
lt | number | Login type:0-linux, 1-windows, 2-web, 3-Android, 4-ios |
ust | number | Use status:0-normal, 1-maintenance, 2-deactivated, 3-arrears |
sn | number | Number of satellites |
lg | number | 2 hours means long GPS(Refer to the 808-2019 agreement) |
rt | string | Valid when lg=2,Receive GPS server time |
ls | number | Valid when lg=2 Bit0: compartment temperature, bit1: IO status bit, bit2: extended vehicle signal status, bit3: analog quantity bit4: tire pressure, bit5: active safety ADAS, bit6: active safety DSM, bit7: active safety BSD |
ct | number | Valid when lg=2,Compartment temperature (0x06)(Refer to the 808-2019 agreement) |
ios | number | Valid when lg=2,IO status bit (0x2A)(Refer to the 808-2019 agreement) |
es | number | Valid when lg=2,Extended vehicle signal status bit (0x25)(Refer to the 808-2019 agreement) |
aq | number | Valid when lg=2,Analog quantity (0x2B)(Refer to the 808-2019 agreement) |
adas1 | number | Valid when lg=2,Active safety adas alarm status bit Lv1 Bit0: forward collision alarm, bit1: lane departure alarm, bit2: vehicle distance over alarm, bit3: pedestrian collision alarm bit4: frequent lane change alarm, bit5: road sign over limit alarm, bit6: obstacle alarm, Bit7: Curved speed warning |
adas2 | number | Valid when lg=2,Active safety adas alarm status bit Lv2 Bit0: forward collision alarm, bit1: lane departure alarm, bit2: vehicle distance over alarm, bit3: pedestrian collision alarm bit4: frequent lane change alarm, bit5: road sign over limit alarm, bit6: obstacle alarm, Bit7: Curved speed warning |
dsm1 | number | 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 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) |
dsm2 | number | 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 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) |
bsd1 | number | Valid when lg=2 Active safety bsd alarm status bit bit0: left blind zone alarm, bit1: right blind zone alarm, bit2: rear approaching alarm |
fvs | number | Front vehicle speed (Km/h). The asas alarm status bit is valid when bit0 =1 and bit1=1 |
dst | number | Front vehicle/pedestrian distance (100ms). The asas alarm status bits are 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 |
rft | number | Road marker identification type (0: speed limit flag 1: limit height flag 2: weight 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 |
p1 | number | ef=1: video loss flag, ef=2: hard disk 3 status 0 is invalid, 1 exists, 2 does not exist |
p2 | number | ef=1:Video occlusion flag, ef=2: Hard disk 3 type 1sd, 2hd, 3ssd |
p3 | number | ef=1:Disk error flag, ef=2: Hard disk 4 status 0 is invalid, 1 exists, 2 does not 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 |
{ "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 } ] }
(1)URL
http://47.88.8.31/808gps/open/map/vehicleMap.html?account=admin&password=admin&devIdno=500000
(2)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | No | No | After user login returning jsession If it is empty, it is determined that the account and password. |
account | string | No | No | Account If jsession is empty, it is determined that the account and password. If user name and password is empty, it is judged background configuration username and password. |
password | string | No | No | Password |
devIdno | string | No | No | Device No. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number If the devIdno is empty, it is judged that the vehiIdno. |
lang | string | No | zh | Language Settings en means English, otherwise Chinese. |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | Start Time |
endtime | string | Yes | No | End Time Start time is not greater than the end time, and the number of query days must not be greater than 7 days. |
distance | number | No | No | Distance Unit: KM. |
parkTime | number | No | No | Parking Time Unit: sec. |
geoaddress | number | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
toMap | number | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
Param Name | Param Type | Desc |
tracks | Array | Track Detail Details See also:Get Device Status(GPS)Return Param Desc |
totalPages | number | Total Page |
currentPage | number | Current Page |
pageRecords | number | Page Record |
totalRecords | number | Total Records |
{ "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 } }
(1)URL
(2)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | After user login returning jsession If it is empty, it is determined that the account and password. |
vehiIdno | string | Yes | No | Plate Number If the devIdno is empty, it is judged that the vehiIdno. |
begintime | string | Yes | No | Start Time |
endtime | string | Yes | No | End Time |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | No | No | Device No. It may be more than one, in order to ',' separation. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. If the devIdno is empty, it is judged that the vehiIdno. Chinese reference, format reference |
begintime | string | Yes | No | Start Time |
endtime | string | Yes | No | End Time Start time is not greater than the end time, and the number of query days must not be greater than 90 days. |
armType | string | Yes | No | Alarm Type In ',' split, Can't be empty. |
handle | number | No | No | Handle Status 1 shows Handled, 0 shows unhandled, other query all the status. |
currentPage | number | Yes | 1 | Current Page |
pageRecords | number | Yes | 10 | Page Record |
geoaddress | number | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
checkend | number | No | No | Judgement end time 1 represents the data at the end of the query at this interval If there is no pass, there is no end time judgment |
toMap | number | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
updatetime | string | No | No | Update time Filter data whose update time is after the incoming time |
Param Name | Param Type | Desc |
info | number | Alarm Info |
desc | string | Alarm Desc |
atp | number | Alarm Type Details See also:Alarm Type Desc |
did | string | Device No. |
vid | string | Plate Number 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 |
p1 | number | Alarm Param 1 Details See also:Alarm Param Desc |
p2 | number | Alarm Param 2 Details See also:Alarm Param Desc |
p3 | number | Alarm Param 3 Details See also:Alarm Param Desc |
p4 | number | Alarm Param 4 Details See also:Alarm Param Desc |
img | string | Image Info split by ;, and http path, and can be multiple image info. |
hd | number | Handle Status 1 shows Handled, 0 shows unhandled. |
hdu | number | Handle User Id |
hdc | string | Handle Content |
hdt | string | Handle Time |
ss1 | number | Alarm Start Status 1 Details See also:Alarm Status Desc |
ss2 | number | Alarm Start Status 2 Details See also:Alarm Status Desc |
es1 | number | Alarm End Status 1 Details See also:Alarm Status Desc |
es2 | number | Alarm End Status 2 Details See also:Alarm Status Desc |
slng | number | Alarm Start Lng |
slat | number | Alarm Start Lat |
elng | number | Alarm End Lng |
elat | number | Alarm End Lat |
ssp | number | Alarm Start Speed Unit: km/h, you must first use divided by 10. |
esp | number | Alarm End Speed Unit: km/h, you must first use divided by 10. |
slc | number | Alarm Start Mileage Unit: m. |
elc | number | Alarm End Mileage Unit: m. |
smlng | string | Alarm Start Map Lng Get the lng through the conversion |
smlat | string | Alarm Start Map Lat Get the lat through the conversion |
emlng | string | Alarm End Map Lng Get the lng through the conversion |
emlat | string | Alarm End Map Lat Get the lat through the conversion |
sps | string | Alarm start location The geographic location after analysis or (alarm start map longitude, alarm start map latitude) |
eps | string | Alarm end location 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
DevIDNO | string | No | No | Device No. |
toMap | number | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
Param Name | Param Type | Desc |
info | number | Alarm Info |
guid | string | Alarm Unique Number |
desc | string | Alarm Desc |
type | number | Alarm Type Details See also:Alarm Type Desc |
DevIDNO | string | Device No. |
hd | number | Handle Status 1 shows Handled, 0 shows unhandled. |
img | string | Image Info split by ;, and http path, and can be multiple image info. |
p1 | number | Alarm Param 1 Details See also:Alarm Param Desc |
p2 | number | Alarm Param 2 Details See also:Alarm Param Desc |
p3 | number | Alarm Param 3 Details See also:Alarm Param Desc |
p4 | number | Alarm Param 4 Details See also:Alarm Param Desc |
lng | number | Lng If the device location is invalid, the value of 0. For example: 113231258, the true value is 113.231258 |
lat | number | Lat If the device location is invalid, the value of 0. For example: 39231258, the true value is 39.231258 |
sp | number | Speed Unit: km/h, you must first use divided by 10. |
pk | number | Parking Time Unit: sec. |
net | number | Network Type 0 means 3G, 1 means WIFI, 2 means wired, 3 means 4G, 4 means 5G. |
mlng | string | Map Lng Get the lng through the conversion |
mlat | string | Map Lat Get the lat through the conversion |
s1 | number | Status 1 Details See also:Device Status Desc |
s2 | number | Status 2 Details See also:Device Status Desc |
s3 | number | Status 3 Details See also:Device Status Desc |
s4 | number | Status 4 Details See also:Device Status Desc |
t1 | number | Temp Sensor 1 |
t2 | number | Temp Sensor 2 |
t3 | number | Temp Sensor 3 |
t4 | number | Temp Sensor 4 |
lc | number | mileage Unit: m. |
hx | number | Direction North direction is 0 degrees, clockwise increases, the maximum value of 360 degrees. |
gt | string | GPS Upload Time |
yl | number | Fuel Unit: L, you must first use divided by 100. |
srcAt | number | Type of source alarm |
srcTm | string | Source alarm time |
stType | number | Type of source alarm started 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 |
{ "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 } } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. Chinese reference, format reference |
begintime | string | Yes | No | Start Time Start time is not greater than the end time |
endtime | string | Yes | No | End Time |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
mile | number | mileage Unit: m. |
vehIdno | string | Plate Number |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. Chinese reference, format reference |
begintime | string | Yes | No | Start Time Start time is not greater than the end time |
endtime | string | Yes | No | End Time |
parkTime | string | Yes | No | Parking Time Unit: sec. |
toMap | number | Yes | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
geoaddress | number | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
vehiIdno | string | Plate Number |
companyName | string | Company Name |
alarmTotalTime | number | Parking Time Unit: sec. |
startPosition | string | Geographical Position |
armTimeStart | number | Start Time(millisecond) |
armTimeEnd | number | End Time(millisecond) |
{ "result": 0, "infos":[ { "guid":"E41DED6D027E47879AE11C8E0AD977B0", "vehIdno":50000, "companyName":"测试", "startPosition":"广东省深圳市宝安区沙井街道广深公路辅路184号中国石化新桥加油站(沙井立交)", "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. Chinese reference, format reference |
toMap | number | Yes | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
geoaddress | number | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
vi | string | Plate Number |
tm | number | Start Time(millisecond) |
jd | number | Lng |
wd | number | Lat |
pos | string | Geographical Position |
{ "result": 0, "infos":[ {, "vi":50000, "tm":1523609431000, "jd":113873128, "wd":22618579, "pos":"广东省深圳市宝安区西乡街道G4京港澳高速平峦山公园" } ], "pagination": { "totalPages": 1 "currentPage": 1 "pageRecords": 50 "totalRecords": 1 "sortParams": null "hasNextPage": false "hasPreviousPage": false "nextPage": 1 "previousPage": 1 "startRecord": 0 } }
(1)URL
(2)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
userSession | string | No | No | After user login returning jsession If it is empty, it is determined that the account and password. |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. |
File | Caption |
http://47.88.8.31/808gps/open/player/js/cmsv6player.min.js | Video plug-in calls require JavaScript file |
http://47.88.8.31/libcmsv6decode.wasm | Video plug-in calls require JavaScript file |
(1)Video widget init method var swfobject = new Cmsv6Player(option):
Param Name | Param Type | Whether Must | Defaults | Desc |
domId | string | Yes | No | Page HTML tag id Usually cmsv6flash. |
isVodMode | number | Yes | No | 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-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 |
(3)Setting the language video widget(effective when 'playerType = flash') setLanguage(languagePath)
Param Name | Param Type | Whether Must | Defaults | Desc |
languagePath | string | No | Chinese language pack: cn.xml | language package path Relative path or absolute path. |
(4)Set the video plug-in the number of windows setWindowNum(windowNum)
Param Name | Param Type | Whether Must | Defaults | Desc |
windowNum | number | Yes | No | The number of windows (not more than 36) |
(5)Set the video plug-in server setServerInfo(ip, port)
Param Name | Param Type | Whether Must | Defaults | Desc |
ip | string | Yes | No | Login server ip |
port | number | Yes | No | Login server port |
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/videoExampleH5.html?lang=en
(2)Reference JavaScript Code
// Initialize video plugin function initPlayerExample() { for (var i = 0; i < 101; i++) { playingStatusArray.push(false); } var _isVodMode = getValue('vodMode'); // Assignment is initialized as incomplete isInitFinished = false; // Video plugin width var width = getValue('playerWidth'); if (width == '') { setFocus('playerWidth'); return; } // Video plugin height var hieght = getValue('playerHeight'); if (hieght == '') { setFocus('playerHeight'); return; } var strLang = getUrlParameter('lang'); var options = { domId: "cmsv6flash", isVodMode: _isVodMode == "1" ? true : false, width: width, height: hieght, lang: strLang == "" ? "en" : strLang } swfobject = new Cmsv6Player(options); initFlash(); } // Execute after plugin initialization is complete function initFlash() { if (typeof swfobject == "undefined" || typeof swfobject.setWindowNum == "undefined") { setTimeout(initFlash, 50); } else { // Initialize plugin language var language = getValue('languagePath'); if (!language) { return; } swfobject.setLanguage(language); // First create all windows swfobject.setWindowNum(36); // Reconfigure the current number of windows var windowNum = getValue('windowNumber'); if (windowNum == '') { setFocus('windowNumber'); return; } swfobject.setWindowNum(windowNum); // Set server information var serverIp = getValue('serverIp'); if (!serverIp) { setFocus('serverIp'); return; } var serverPort = getValue('serverPort'); if (!serverPort) { setFocus('serverPort'); return; } swfobject.setServerInfo(serverIp, serverPort); isInitFinished = true; } }
File | Caption |
http://47.88.8.31/808gps/open/player/swfobject-all.js | Video plug-in calls require JavaScript file |
http://47.88.8.31/808gps/open/player/player.swf | Video plug-in files |
http://47.88.8.31/808gps/open/player/swfobject.js | Video plug-in calls require JavaScript file |
http://47.88.8.31/808gps/open/player/cn.xml | Video plug Chinese language pack |
http://47.88.8.31/808gps/open/player/en.xml | Video plug English language pack |
http://47.88.8.31/808gps/open/player/js/cmsv6player.min.js | Video plug-in calls require JavaScript file |
http://47.88.8.31/libcmsv6decode.wasm | Video plug-in calls require JavaScript file |
(1)Video widget init method ttxVideoAll.init(cmsv6flash, width, height, params, playerType)
Param Name | Param Type | Whether Must | Defaults | Desc |
cmsv6flash | string | Yes | No | Page HTML tag id Usually cmsv6flash. |
width | number | Yes | No | Video plug-width |
height | number | Yes | No | Video plug-height |
params | object | No | No | Video plug-in init param lang, and so on. |
playerType | string | No | auto | Video plugin type 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 Name | Param Type | Whether Must | Defaults | Desc |
playerType | string | No | auto | flash、h5、auto |
(3)Setting the language video widget(effective when 'playerType = flash') setLanguage(languagePath)
Param Name | Param Type | Whether Must | Defaults | Desc |
languagePath | string | No | Chinese language pack: cn.xml | language package path Relative path or absolute path. |
(4)Set the video plug-in the number of windows setWindowNum(windowNum)
Param Name | Param Type | Whether Must | Defaults | Desc |
windowNum | number | Yes | No | The number of windows (not more than 36) |
(5)Set the video plug-in server setServerInfo(ip, port)
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/video-demo.html
http://47.88.8.31/808gps/open/player/videoExample.html?lang=en
http://47.88.8.31/808gps/open/player/RealPlayVideo.html?account=admin&password=admin&jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&PlateNum=11111&lang=en
(2)Reference JavaScript Code
//Old versions need to pay attention to the red partvar isInitFinished = false;//Are video plug loading complete//Init Video Plug(PC/mobile WEB)function initPlayerExample() { //Video plug-in init param var params = { lang: "zh-cn" //"en", "zh-cn", "zh-tw" }; //Init flash //swfobject.embedSWF("player.swf", "cmsv6flash", 400, 400, "11.0.0", null, null, params, null); //undefined ttxVideoAll.init("cmsv6flash", 400, 400, params, "auto"); initFlash();}//Are video plug loading completefunction initFlash() { if (typeof swfobject == "undefined" || swfobject.getObjectById("cmsv6flash") == null || typeof swfobject.getObjectById("cmsv6flash").setWindowNum == "undefined" ) { setTimeout(initFlash, 50); } else { //Setting the language video widget(effective when 'playerType = flash') swfobject.getObjectById("cmsv6flash").setLanguage("cn.xml"); //First of all windows created swfobject.getObjectById("cmsv6flash").setWindowNum(36); //Re-configure the current number of windows swfobject.getObjectById("cmsv6flash").setWindowNum(4); //Set the video plug-in server swfobject.getObjectById("cmsv6flash").setServerInfo("47.88.8.31", "6605"); isInitFinished = true; }}
Url Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | No | No | After user login returning jsession If it is empty, it is determined that the account and password. |
account | string | No | No | Account If jsession is empty, it is determined that the account and password. If user name and password is empty, it is judged background configuration username and password. |
password | string | No | No | Password |
devIdno | string | No | No | Device No. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number If the devIdno is empty, it is judged that the vehiIdno. |
channel | number | No | No | The number of channels to preview the 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. |
lang | string | No | zh | Language Settings en means English, otherwise Chinese. |
(1)Operation Example
a.Incoming jsession and devIdno
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&devIdno=500000&
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
b.Incoming jsession and vehiIdno
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&vehiIdno=50000000000&
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
c.Incoming account, password and devIdno
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&devIdno=500000&
&account=admin&password=admin
d.Incoming account, password and vehiIdno
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&vehiIdno=50000000000&
account=admin&password=admin
e.Incoming video auto-off time
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&vehiIdno=50000000000&
account=admin&password=admin&close=10
f.Incoming the number of preview window
See Also:http://47.88.8.31/808gps/open/player/video.html?lang=en&vehiIdno=50000000000&
account=admin&password=admin&channel=3&chns=0,1,2
(2)Reference JavaScript Code
See Also:Init Video Plug(PC/mobile WEB)
(1)Set the video window title setVideoInfo(index, title)
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
title | string | No | No | Window Title |
(2)Play Video startVideo(index, jsession, devIdno, channel, stream, true)
Param Name | Param Type | Whether Must | Defaults | Desc |
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) |
stream | number | Yes | No | Video Stream 1 represents sub-stream, 0 represents main stream. |
(3)Stop Video stopVideo(index)
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
(4)Reset Video reSetVideo(index)
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
(5)Set the minimum buffer time of video setBufferTime(index, time)
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
time | number | Yes | 2(Unit: sec.) | It's mainly used for the adjustment of video lazy load. When the video buffers the minimum buffer time of video, then it will play the video. |
(6)Set the maximum buffer time of video setBufferTimeMax(index, time)
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
time | number | Yes | 6(Unit: sec.) | It's mainly used for the adjustment of video lazy load. When the video buffers the maximum buffer time of video, then it will play the video fast-forward. |
(7)Video callback event onTtxVideoMsg(index, type)
Caption In the current video JS corresponding file, add new function: function onTtxVideoMsg(index, type){}
Param Name | Param Type | Whether Must | Defaults | Desc |
index | number | Yes | No | Window Index(starting from 0) |
type | string | Yes | No | Event type 1. window event: select: select window, full: full screen, norm: exit full screen 2. Video play event: start: start play, paus: pause, stop: stop, play: pause or stop after the re-play, sound: open sound, silent: mute, PicSave: screenshots 3. Intercom event:startRecive,uploadRecive,loadRecive: Open intercom,upload:Talk to talk,uploadfull:Talk to talk is over,stopTalk:Turn off intercom,reciveStreamStop,reciveNetError,reciveStreamNotFound:Intercom exception (network anomaly, etc.),uploadNetClosed,uploadNetError:Connection exception 4. Listen to events:startListen:Start listening,stopListen:Stop listening,listenNetError:network anomaly,playListen:Listening,loadListen,listenStreamNotFound,listenStreamStop:Wait for request to listen |
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/video-demo.html
http://47.88.8.31/808gps/open/player/videoExampleH5.html?lang=en
http://47.88.8.31/808gps/open/player/videoExample.html?lang=en
http://47.88.8.31/808gps/open/player/RealPlayVideo.html?account=admin&password=admin&jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&PlateNum=11111&lang=en
(2)Reference JavaScript Code
//After the video plug-in Init is complete Calls it//Play Videofunction playVideo() { //Stop Video swfobject.getObjectById("cmsv6flash").stopVideo(0); //Set the video window title swfobject.getObjectById("cmsv6flash").setVideoInfo(0, "vehicle1-CH1"); //Play Video swfobject.getObjectById("cmsv6flash").startVideo(0, "sdsd-dsad-sd-sd-ad", "123124", 0, 1, true);}//Stop Videofunction stopVideo() { swfobject.getObjectById("cmsv6flash").stopVideo(0);}//Reset Videofunction reSetVideo() { swfobject.getObjectById("cmsv6flash").reSetVideo(0);}//Video callback eventfunction onTtxVideoMsg(index,type) { if(type == "select"){ };}
(1)Send a request to the streaming server: //stream media Ip:streaming media client service port/hls/requestType_deviceNumber_channelNumber_bitstreamType.m3u8?JSESSIONID=cf6b70a3-c82b-4392-8ab6-bbddce336222
example:http://47.88.8.31:6604/hls/1_10000_0_1.m3u8?JSESSIONID=cf6b70a3-c82b-4392-8ab6-bbddce336222
Param Name | Param Type | Whether Must | Defaults | Desc |
stream media Ip | string | Yes | No | stream media Ip |
streaming media client service port | string | Yes | No | streaming media client service port |
requestType_deviceNumber_channelNumber_bitstreamType | string | Yes | No | request type(1 video)_equipment number_channel number_stream type (0 primary bit stream 1 bitstream) example:1_10000_0_1 |
JSESSIONID | string | Yes | No | Jsession |
(1)Operation Example
(1)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | No | No | After user login returning jsession If it is empty, it is determined that the account and password. |
account | string | No | No | Account If jsession is empty, it is determined that the account and password. If user name and password is empty, it is judged background configuration username and password. |
password | string | No | No | Password |
devIdno | string | No | No | Device No. If it is empty, it is determined that the vehiIdno. |
vehiIdno | string | No | No | Plate Number 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. |
lang | string | No | zh | Language Settings en means English, otherwise Chinese. |
(1)Operation Example
a.Incoming jsession and devIdno
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&devIdno=10000&
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
b.Incoming jsession and vehiIdno
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&vehiIdno=10000&
jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
c.Incoming account, password and devIdno
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&devIdno=10000&
&account=admin&password=admin
d.Incoming account, password and vehiIdno
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&vehiIdno=10000&
account=admin&password=admin
e.Incoming video auto-off time
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&vehiIdno=10000&
account=admin&password=admin&close=10
f.Incoming video device channel
See Also:http://47.88.8.31/808gps/open/hls/index.html?lang=en&vehiIdno=10000&
account=admin&password=admin&channel=3
See Also:Init Video Plug(PC/mobile WEB)
(1)Start Listening startListen(jsession, devIdno, channel)
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | After user login returning jsession |
devIdno | string | Yes | No | Device No. |
channel | number | Yes | No | Device Channel(starting from 0) |
(2)Stop Listening stopListen()
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/video-demo.html
http://47.88.8.31/808gps/open/player/videoExampleH5.html?lang=en
http://47.88.8.31/808gps/open/player/videoExample.html?lang=en
http://47.88.8.31/808gps/open/player/RealPlayVideo.html?account=admin&password=admin&jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&PlateNum=11111&lang=en
(2)Reference JavaScript Code
//After the video plug-in Init is complete Calls it//Start Listeningfunction startMonitor() { //Start Listening swfobject.getObjectById("cmsv6flash").startListen("2131-23-32", "23213", 0);}//Stop Listeningfunction stopMonitor() { swfobject.getObjectById("cmsv6flash").stopListen();}
See Also:Init Video Plug(PC/mobile WEB)
(1)Start Talkback startTalkback(jsession, devIdno, 0)
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | After user login returning jsession |
devIdno | string | Yes | No | Device No. |
(2)Stop Talkback stopTalkback()
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/video-demo.html
http://47.88.8.31/808gps/open/player/videoExampleH5.html?lang=en
http://47.88.8.31/808gps/open/player/videoExample.html?lang=en
http://47.88.8.31/808gps/open/player/RealPlayVideo.html?account=admin&password=admin&jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&PlateNum=11111&lang=en
(2)Reference JavaScript Code
var jsession = getValue('liveJsession'); if (jsession == '') { setFocus('talkbackJsession'); return; } var devIdno = getValue('talkbackDevIdno'); if (devIdno == '') { setFocus('talkbackDevIdno'); return; } swfobject.getObjectById("cmsv6flash").setTalkParam(1); var ret = swfobject.getObjectById("cmsv6flash").startTalkback(jsession, devIdno, 0); // 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”); } // ...... }
(1)URL Request Parameter Explain
Param Name | Param Type | Whether Must | Defaults | Desc |
AVType | string | Yes | No | 1 means real-time video, 2 means monitoring |
jsession | string | Yes | No | jsession |
DevIDNO | string | Yes | No | Indicates the device number |
Channel | string | Yes | No | Indicates the channel number, starting from 0 |
Stream | string | Yes | No | 0 main stream, 1 sub stream |
(1)Operation Example
rtsp://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1(1)URL Request Parameter Explain
Param Name | Param Type | Whether Must | Defaults | Desc |
AVType | string | Yes | No | 1 means real-time video, 2 means monitoring |
jsession | string | Yes | No | jsession |
DevIDNO | string | Yes | No | Indicates the device number |
Channel | string | Yes | No | Indicates the channel number, starting from 0 |
Stream | string | Yes | No | 0 main stream, 1 sub stream |
(1)Operation Example
http://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1(1)URL Request Parameter Explain
Param Name | Param Type | Whether Must | Defaults | Desc |
AVType | string | Yes | No | 1 means real-time video, 2 means monitoring |
jsession | string | Yes | No | jsession |
DevIDNO | string | Yes | No | Indicates the device number |
Channel | string | Yes | No | Indicates the channel number, starting from 0 |
Stream | string | Yes | No | 0 main stream, 1 sub stream |
(1)Operation Example
rtmp://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. |
Chn | string | Yes | No | Device ChannelThe channel begins with the maximum support of 15. from 0 (0 for channel 1 and 1 for channel 2). It may be more than one, in order to ',' separation. |
Sec | number | Yes | No | Video length (range from 0 to 1800, 0 to stop) |
Label | string | Yes | No | Label |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
a.Query Video
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. When the query a video on server, it means the license plate number. |
LOC | number | Yes | No | Search Location 1 indicates the device, 2 denotes a storage server, 4 indicates download server. |
CHN | number | Yes | No | Search Channel(starting from 0) 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 |
RECTYPE | number | Yes | No | Record Type 0 means General, 1 means alarm, -1 means all. |
FILEATTR | number | Yes | No | File Type 1 indicates an image 2 means a video. |
BEG | number | Yes | No | Start Seconds The unit is second (0-86399) |
END | number | Yes | No | End Seconds The unit is second (0-86399) |
ARM1 | number | Yes | No | 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 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 |
ARM2 | number | Yes | No | Non 1078 equipment fill 0 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 .4 other video equipment fault alarm 5 bus overcrowding alarm 6 alarm abnormal driving behavior7 special alarm video to store threshold alarm |
RES | number | Yes | No | Non 1078 equipment fill 0 Media type 0: audio and video, 1: audio, 2: video, 3: video or audio and video |
STREAM | number | Yes | No | Non 1078 equipment fill 0 Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
STORE | number | Yes | No | Non 1078 equipment fill 0 The main storage type 0: or 1: backup memory, main memory, 2: memory backup |
LABEL | string | No | No | Label |
a.Query Video
Param Name | Param Type | Desc |
result | string | Return Code 0 means success, the other means failure. |
devIdno | string | Device No. When the query a video on server, it means the license plate number. |
chnMask | number | Channel Mask When a file is stored in the video contains more than one channel is active, and bitwise representation, the first 0 indicates the video file contains video channel 1, and so on.First determine chnMask, if chnMask = 0, then resolve chn. |
chn | number | Device Channel(starting from 0) 0 means channel 1, and 1 means channel 2. |
beg | number | File Start Time Unit: sec., as 3600 = 1:00. |
end | number | File End Time Unit: sec., as 7200 = 2:00, end time may be greater than 86400, this represents a time span of days. |
year | number | Year We must first use add 2000. |
mon | number | Month |
day | number | Day |
mulPlay | number | When mulPlay>0, multi-channel video playback can be performed |
mulChn | number | If mulChn is not 0, display the channel information obtained by mulChn bitwise value, if mulChn is 0, it is necessary to determine which channels have recording information in the current time period. |
file | string | File Name |
len | number | File Size(Unit byte) |
loc | number | File Location 1 indicates the device, 2 denotes a storage server, 4 indicates download server. |
type | number | Record Type 0 means General, 1 means alarm. |
recing | number | Are Recording 0 means no Recording, 1 means is recording. |
svr | number | Server ID Effective when recording on the storage server and download server. |
arm | string | Alarm Info Effective when the alarm recording. loc == 1, bit0: emergency button alarm, bit1: overspeed alarm, bit2: low speed alarm, bit3: vibration alarm, bit4: temperature alarm, bit5: motion detection alarm, bit6: UPS thread cutting alarm , bit7: collision rollover alarm, bit8: fatigue driving alarm, bit9: IO_1, bit10: IO_2, bit11: IO_3, bit12: IO_4, bit13: IO_5, bit14: IO_6, bit15: IO_7, bit16: IO_8; loc != 1, the value of (arm & 0xFFFF). 2: Emergency button alarm, 11: Overspeed alarm, 3: Vibration alarm, 9: Temperature alarm, 15: Motion detection alarm, 49: Fatigue driving alarm, 19: IO_1, 20: IO_2, 21: IO_3, 22: IO_4, 23:IO_5,24:IO_6,25:IO_7,26:IO_8; |
arm1 | number | 1078 device return 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 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 |
arm2 | number | 1078 device return 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 .4 other video equipment fault alarm 5 bus overcrowding alarm 6 alarm abnormal driving behavior7 special alarm video to store threshold alarm |
res | number | 1078 device return Media type 0: audio and video, 1: audio, 2: video, 3: video or audio and video |
streamtype | number | Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
stream | number | If it is 1, the file can not be downloaded, and can only be downloaded in segments |
store | number | 1078 device return The main storage type 0: or 1: backup memory, main memory, 2: memory backup |
mediaType | number | Multimedia Type 0 Means Picture, 1 Means Video |
sourceId | number | When valid for download from the device, it indicates the ID in the corresponding task table |
label | string | Label |
DownTaskUrl | string | Segment DownloadURL,Server Video Returns Empty,User Required Parameters:jsession(Required)sbtm(Default Start Time)setm(Default End Time)lab(Default Is Empty) |
DownUrl | string | Direct downloadURL,1078 Device Returns Empty,User Required Parameters:jsession(Required)SAVENAME(Required) |
PlaybackUrl | string | Remote playbackURL,User Required Parameters:jsession(Required)PLAYBEG(Default Start Time)PLAYEND(Default End Time) |
PlaybackUrlWs | string | Remote playbackWebsocket URLWith PlaybackUrlWs, PlaybackUrlWs is preferred. PlaybackUrlWs does not support flash,User Required Parameters:jsession(Required)PLAYBEG(Default Start Time)PLAYEND(Default End Time) |
a.Query Video { "result": 0, "cmsserver":1, "files":[ { "arm": 0 "beg": 31044 "chn": 1 "chnMask": 0 "day": 11 "devIdno": "500000" "end": 32842 "file": "/MulMDVR/Record/H20100628-083724P2N2P0.264" "len": 23211837 "loc": 1 "mon": 1 "mulChn": 0 "mulPlay": 0 "recing": 0 "svr": 0 "type": 0 "year": 10 "mediaType": 1 "sourceId": 1 "label": "" "DownTaskUrl": "http://localhost:8080/StandardApiAction_addDownloadTask.action?jsession=&did=1235&fbtm=2010-09-04 08:37:24&fetm=2010-09-04 09:07:22&sbtm=2010-09-04 08:37:24&setm=2010-09-04 09:07:22&lab=&fph=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&vtp=0&len=23211837&chn=1&dtp=1" "DownUrl": "http://localhost:6604/3/5?DownType=3&jsession=&DevIDNO=1235&FLENGTH=23211837&FOFFSET=0&MTYPE=1&FPATH=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&SAVENAME=" "PlaybackUrl": "http://localhost:6604/3/5?DownType=5&&jsession=DevIDNO=1235&FILELOC=1&FILESVR=0&FILECHN=1&FILEBEG=31044&FILEEND=32842&PLAYIFRM=0&PLAYFILE=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&PLAYBEG=31044&PLAYEND=32842&PLAYCHN=0" "PlaybackUrlWs": "ws://localhost:6604/3/5?DownType=5&&jsession=DevIDNO=1235&FILELOC=1&FILESVR=0&FILECHN=1&FILEBEG=31044&FILEEND=32842&PLAYIFRM=0&PLAYFILE=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&PLAYBEG=31044&PLAYEND=32842&PLAYCHN=0" } ] } b. 1078Query Video { "result": 0, "cmsserver":1, "files":[ { "arm": 0 "arm1": 0 "arm2": 0 "beg": 31044 "chn": 1 "chnMask": 0 "day": 11 "mulChn": 0 "mulPlay": 0 "devIdno": "500000" "end": 32842 "file": "/MulMDVR/Record/H20100628-083724P2N2P0.264" "len": 23211837 "loc": 1 "mon": 1 "recing": 0 "res": 0 "store": 0 "stream": -1 "svr": 0 "type": 0 "year": 10 "mediaType": 1 "sourceId": 1 "label": "" "DownTaskUrl": "http://localhost:8080/StandardApiAction_addDownloadTask.action?jsession=&did=1235&fbtm=2010-09-04 08:37:24&fetm=2010-09-04 09:07:22&sbtm=2010-09-04 08:37:24&setm=2010-09-04 09:07:22&lab=&fph=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&vtp=0&len=23211837&chn=1&dtp=1" "DownUrl": "" "PlaybackUrl": "http://localhost:6604/3/5?DownType=5&jsession=&DevIDNO=1235&FILELOC=1&FILESVR=0&FILECHN=1&FILEBEG=31044&FILEEND=32842&PLAYIFRM=0&PLAYFILE=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&PLAYBEG=31044&PLAYEND=32842&PLAYCHN=0" "PlaybackUrlWs": "ws://localhost:6604/3/5?DownType=5&&jsession=DevIDNO=1235&FILELOC=1&FILESVR=0&FILECHN=1&FILEBEG=31044&FILEEND=32842&PLAYIFRM=0&PLAYFILE=/project/mdvr/trunck/bin/MulMDVR_old/Record/H20100628-083724P2N2P0.264&PLAYBEG=31044&PLAYEND=32842&PLAYCHN=0" } ] }
See Also:http://47.88.8.31/808gps/open/player/VideoSearchDemo.html?lang=en
http://47.88.8.31/808gps/open/player/PlayBackVideo.html?account=admin&password=admin&PlateNum=11111&lang=en
Segment Download
http://47.88.8.31/StandardApiAction_addDownloadTask.action?(1)Common Param
See Also:Common Param
(2)Private Param
Segment Download
Param Name | Param Type | Whether Must | Defaults | Desc |
did | string | Yes | No | Device No. |
fbtm | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
fetm | string | Yes | No | File End Time Greater than or equal to the source file 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 | Yes | No | File Tag |
fph | string | Yes | No | File Path |
vtp | number | Yes | No | Record Type 0 means General, 1 means alarm. |
len | number | Yes | No | File Size |
chn | number | Yes | No | Channel |
dtp | number | Yes | No | Download Type 1 means the whole file to download, 2 means segment downloaded. |
Segment Download
http://47.88.8.31/StandardApiAction_addDownloadTask.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&did=500000&fbtm=2015-12-25 00:00:00&fetm=2015-12-30 23:59:59&sbtm=2015-12-25 00:00:00&setm=2015-12-30 23:59:59&lab=downloadExample&fph=/mnt/hgfs/record/H20121123-112931P3A1P0.avi&vtp=1&len=5000&chn=1&dtp=1See Also:http://47.88.8.31/808gps/open/player/VideoSearchDemo.html?lang=en
http://47.88.8.31/808gps/open/player/PlayBackVideo.html?account=admin&password=admin&PlateNum=11111&lang=en
See Also:Init Video Plug(PC/mobile WEB)
(1)Start Playback startVod(url, index)
Param Name | Param Type | Whether Must | Defaults | Desc |
url | string | Yes | No | Query VideoWhen returning (PlaybackUrlWs is preferred) Remote playback url According to the query Recording to get info assembled url, As http://127.0.0.1:6611/3/5?DownType=5&DevIDNO=10009&FILELOC=1 & FILESVR = 0 & FILECHN = 0 & FILEBEG = 1 & FILEEND = 100 & PLAYIFRM = 0 & PLAYFILE = / record /H20121123-112931P3A1P0.avi & PLAYBEG = 0 & PLAYEND = 0 & PLAYCHN = 0. Param Desc: FILELOC, FILESVR, FILECHN, PLAYFILE, FILEBEG and FILEEND respectively returns file search parameters loc, svr, chn, file, beg and end, direct access to the corresponding parameters. PLAYBEG means play start time offset, in milliseconds, relative to the start time of the file to calculate, 0 represents the start position for playback from a file. PLAYEND means play ending offset time, in milliseconds, relative to the file start time computation, may not be greater than the total length of the file. PLAYIFRM means play I-frame (please fill in as 0). PLAYCHN means indicates playback video channel, when there are multiple channels of Recording files using, if no more than one channel, the direct use of 0. DevIDNO means when playing files on the device, it is the device number; when playing files on the server, it is the vehicle number. |
index | number | Yes | No | Window Index(starting from 0) |
(2)Stop Playback stopVideo(index);
(1)Operation Example
http://47.88.8.31/808gps/open/player/videoExample.html?lang=en(2)Reference JavaScript Code
//After the video plug-in Init is complete Calls it//Start Playbackfunction startPlayback() { //Stop Playback swfobject.getObjectById("cmsv6flash").stopVideo(0); //Start Playback var ret = swfobject.getObjectById("cmsv6flash").startVod(0, "http://47.88.8.31:6604/3/5?DownType=5&DevIDNO=10009&FILELOC=1&FILESVR=0&FILECHN=0&FILEBEG=1&FILEEND=100&PLAYIFRM=0&PLAYFILE=/mnt/hgfs/linux/libdvrnet/jni/demo/bin/record/H20121123-112931P3A1P0.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0");}//Stop Playbackfunction stopPlayback() { swfobject.getObjectById("cmsv6flash").stopVideo(0);}
See Also:Init Video Plug(PC/mobile WEB)
(1)Start Playback startVodM(url, channel)
Param Name | Param Type | Whether Must | Defaults | Desc |
url | string/array | Yes | No | Query VideoWhen returning (PlaybackUrlWs is preferred) Single-channel playback: url is PlaybackUrlWS Multi-channel synchronous playback: url is PlaybackUrlWS Multi-channel simultaneous playback: url is an array url.push(file1.PlaybackUrlWS); url.push(file2.PlaybackUrlWS); |
channel | string | Yes | No | Single-channel playback: channel is "" Multi-channel synchronous playback: channel, "0,1,2,3" Multi-channel simultaneous playback: channel is "" |
(2)Stop Playback stopVideoM();
(1)Operation Example
See Also:http://47.88.8.31/808gps/open/player/videoExampleH5.html?lang=en
(2)Reference JavaScript Code
1. When returning to PlaybackUrlWs, the playback link will take priority to PlaybackUrlWs.
var playUrl = fileInfo.PlaybackUrlWs;
2. Single channel playback, playUrl is the playback link.
cmsv6Player.startVodM(playUrl, '');
3. Multi-channel simultaneous playback
a. The returned mulPlay> 0 means that multi-channel synchronous playback is supported.
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.
-1 type is not 0 (ttx protocol).
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
var url = []; url.push(file1.PlaybackUrlWS); url.push(file2.PlaybackUrlWS); cmsv6Player.startVodM(url, "");
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);
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
DevIDNO | string | Yes | No | Device No. |
Chn | string | Yes | No | Device Channel(starting from 0) 0 means channel 1, and 1 means channel 2. |
Type | number | Yes | No | Please fill in the 1 |
Param Name | Param Type | Desc |
FPATH | string | picture path |
FOFFSET | string | deviation |
FLENGTH | string | File Size(Unit byte) |
{ "result": 0, "cmsserver": 1, "FPATH": "\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile", "FOFFSET": "4258170", "FLENGTH": "608310" }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
Type | number | Yes | No | Please fill in 3 |
FLENGTH | number | Yes | No | File Size(Unit byte) Snap back size |
FOFFSET | number | Yes | No | deviation Snap back offset |
MTYPE | number | Yes | No | Please fill in the 1 |
FPATH | string | Yes | No | picture path Snapshot return path |
SAVENAME | string | Yes | No | After download the saved name |
Param Name | Param Type | Desc |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
taskTag | string | No | No | File Tag |
status | number | No | No | Downloading Status 1 undownloaded, 2 downloads, 3 downloads failed, 4 downloaded |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
did | string | Device No. When the query a video on server, it means the license plate number. |
err | string | The cause of failure when downloading fails |
uid | number | User ID, submitting and downloading the corresponding user ID, that is, the current jsession login user ID |
chn | number | Device Channel(starting from 0) 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 |
dtp | number | 1 means the whole file to download, 2 means 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 |
vtp | number | Video type 0 represents a routine, and 1 is an 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
taskTag | string | No | No | File Tag |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIDNO | string | Yes | No | Device No. |
channel | number | Yes | No | Channel |
mediaType | number | Yes | No | Media Types 0: Pictures, 1: Audio and 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 |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. When the query a video on server, it means the license plate number. |
CHN | number | Yes | No | Search Channel(starting from 0) 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) |
ARM1 | number | Yes | No | 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 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 |
ARM2 | number | Yes | No | Alarm identification 2, binary corresponding decimal integer, binary digit alarm, 1: video signal loss alarm, 2: video signal occlusion alarm, 4: memory unit failure alarm .8: other video equipment fault alarm 16: bus overcrowding alarm 32: alarm abnormal driving behavior64: special alarm video to store threshold alarm |
RES | number | Yes | No | Media type 0: audio and video, 1: audio, 2: video, 3: video or audio and video |
STREAM | number | Yes | No | Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
STORE | number | Yes | No | The main storage type 0: or 1: backup memory, main memory, 2: memory backup |
NETMASK | number | Yes | No | 1:WIFI,1 For WIFI Downloadable 2:LAN,2 For LAN Downloadable 4:3G/4G,4 For 3G/4G Downloadable Multiple Selection |
jsession | string | Yes | No | Jsession |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
SEQUENCE | number | Task Flow Number |
{ "result": 0,"SEQUENCE":1,"cmsserver":1 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
seq | number | Yes | No | Task Flow Number |
devIdno | string | Yes | No | Device No. |
jsession | string | Yes | No | Jsession |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
status | number | Task Status 0:Pause State 1:Downloading 2:Cancel 3:Fail 4:Success |
downloadUrl | string | Download Link |
playUrl | string | Play Link |
{ "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-160534-160554-20000700%2FCH7_0_0_0_0_200617-160534_200617-160554.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0&jsession=9325B71EFA12AF162B1232849F327391 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | Start Time |
endtime | string | Yes | No | End Time |
status | string | No | No | Task Status 0:Pause State 1:Downloading 2:Cancel 3:Fail 4:Success |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
jsession | string | Yes | No | Jsession |
Param Name | Param Type | Desc |
result | number | Return Code 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 |
resourceType | number | Media type 0: audio and video, 1: audio, 2: video, 3: video or audio and video |
streamType | number | Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
storeType | number | The main storage type 0: or 1: backup memory, main memory, 2: memory backup |
networkMask | number | 1:WIFI,1 For WIFI Downloadable 2:LAN,2 For LAN Downloadable 4:3G/4G,4 For 3G/4G Downloadable Multiple Selection |
taskStatus | number | Task Status 0:Pause State 1:Downloading 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 |
{ "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%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-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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
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 |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
SEQUENCE | number | Task Flow Number |
{ "result": 0,"SEQUENCE":1,"cmsserver":1 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | Yes | No | Plate Number It may be more than one, in order to ',' separation. Chinese reference, format reference |
begintime | string | Yes | No | Start Time |
endtime | string | Yes | No | End Time Start time is not greater than the end time |
alarmType | string | Yes | No | Alarm Type In ',' split, Can't be empty. |
mediaType | number | No | No | Multimedia Type 0 Means Picture, 1 Means Video |
toMap | number | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
mediaType | number | Multimedia Type 0 Means Picture, 1 Means Video |
status | number | Video status 0- is videotaping 1- video to 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 |
{ "result": 0, "infos":[ { "mediaType":0, "status":null, "fileETime":null, "fileSTime":null, "id":null, "fileName":null, "channel":3, "updateTime":1543560950000, "position":"", "devIdno":"123456", "vehiIdno":"测linux", "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file 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 |
toMap | number | Yes | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
md5 | number | No | 0 | File md5, 0 does not return 1 returns |
a. Base Info infos
Param Name | Param Type | Desc |
vn | string | Plate Number |
pl | number | Vehicle_plate |
cn | string | Device Channel 0 means channel 1, and 1 means channel 2. |
sp | number | Speed Unit: km/h, you must first use divided by 10. |
dt | number | Alarm Start Time (UTC) in seconds |
lc | string | Geographical Position |
tp | string | Alarm Type |
jd | number | Lng If the device location is invalid, the value of 0. For example: 113231258, the true value is 113.231258 |
wd | number | Lat If the device location is invalid, the value of 0. For example: 39231258, the true value is 39.231258 |
dn | string | Driver Name |
dc | string | Driver Lisence |
dp | string | Driver Phone |
ph | string | Driver Image |
phmd5 | string | Driver Image Md5 |
dm | string | Driver's Work Number |
b. Media Info images/vedios
Param Name | Param Type | Desc |
did | string | Device No. When the query a video on server, it means the license plate number. |
fl | string | File Path |
flmd5 | string | File md5 |
fsl | string | File Stream Path |
dsl | string | Downloading Path,User Required Parameters:jsession(Required)SAVENAME(Required) |
st | number | Server Number |
fo | number | File offset position |
fs | number | File Size |
ft | number | File Type 0-image 1 Audio and video- 2-Audio 3-video 4-Text 5-other |
fb | number | File Start Time |
fe | number | File End Time |
{ "result": 0, "infos":{ "vn":"粤S10001", "cn":"0101", "dn":"赵老", "sp":520, "lc":"广东省深圳市宝安区G107(京深线)佛子坳西166米", "dt":1537329397000, "tp":"Rear approach alarm", "dp":"A7", "jd":113823714, "wd":22652339, "ph":"upload/whdriver/61611b06-1a74-4219-94b7-4106ac2417951536128556861.png", "phmd5":"16C5C94F3A679F5466880415C346D142", "dc":"A7", "dm":"A7" }, "images":[{ "st":6, "did":"50000", "fl":"/gStorage/STOMEDIA/2018-09-03/20180903-100019.picfile", "flmd5":"4A85F5785AAC47B4B04ED56E71472355", "fb":1535945845000, "fe":1535945845000, "fsl":"http://127.0.0.1:6611/3/5?Type=3&FLENGTH=608310&FOFFSET=3826405&FPATH=C%3A%2FgStorage%2FSTOMEDIA%2F2018-09-03%2F20180903-100019.picfile&MTYPE=1&SAVENAME=downImage", "fo":3826405, "fs":608310, "ft":0 }], "vedios":[{ "st":6, "did":"50000", "fl":"/gStorage/RECORD_FILE/865423659988883/2018-09-18/测试10010_0-180918-083019-090019-20010100.grec", "flmd5":"DF1CBAEA1EA59FDBA58C5178D4F6DE43", "fb":1537230619000, "fe":1537232419000, "fsl":"http://127.0.0.1:6611/3/5?DownType=5&DevIDNO=%E6%B5%8B%E8%AF%9510010&FILELOC=2&FILESVR=6&FILECHN=0&FILEBEG=0&FILEEND=0&PLAYIFRM=0&PLAYFILE=C%3A%2FgStorage%2FRECORD_FILE%2F865423659988883%2F2018-09-18%2F%E6%B5%8B%E8%AF%9510010_0-180918-083019-090019-20010100.grec&PLAYBEG=0&PLAYEND=0&PLAYCHN=0", "dsl":"http://127.0.0.1:6611/3/5?DownType=3&DevIDNO=%E6%B5%8BBJ0001&FLENGTH=433977&FOFFSET=0&MTYPE=1&FPATH=D%3A%2FgStorage%2FRECORD_FILE%2F018000032594%2F2018-12-01%2F02_65_6504_3_48EF94C52FE144E89D3CEEB9B60D8053.h264&SAVENAME=&jsession=" "fo":0, "fs":127898900, "ft":1 }], "gpsValue":{ "weiDu":null, "jingDu":"null", "mapWeiDu":"22.655090", "mapJingDu":"113.835287", "geoWeiDu": null, "geoJingDu": null } }
(1)URL
(2)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file 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 |
toMap | number | Yes | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
userIds | string | Yes | No | Query the user ID (multiple users ID use English, partition) |
type | string | No | No | User operation types (1; video preview (channel) 2; audio monitoring (channel) 3; two-way dialogue 4; picture capture 5; video search 6; video download 12; remote playback) |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
name | string | User name |
devIdno | string | Equipment number |
subType | number | User operation types (1; video preview (channel) 2; audio monitoring (channel) 3; two-way dialogue 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
alarmSourceType | string | No | No | Alarm source 0 equipment 1 Platform |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
vn | string | Equipment number |
sr | number | Alarm source 0 equipment 1 Platform |
fs | number | File Size(bytes) |
fs | number | File Lengthsecond |
sum | number | Number Of Documents |
totalPages | number | Total Page |
currentPage | number | Current Page |
pageRecords | number | Page Record |
totalRecords | number | Total Records |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
alarmSourceType | string | No | No | Alarm source 0 equipment 1 Platform |
mediatype | string | No | No | Media type 0: audio and video, 1: audio, 2: video, 3: video or audio and video |
storetype | string | No | No | The main storage type 0: or 1: backup memory, main memory, 2: memory backup |
bittype | string | No | No | Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
arlamtype | string | No | No | 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 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 |
arlamtype2 | string | No | No | 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 .4 other video equipment fault alarm 5 bus overcrowding alarm 6 alarm abnormal driving behavior7 special alarm video to store threshold alarm |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
vn | string | Equipment number |
cn | string | Device Channel 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 |
a1 | number | 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 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 |
a2 | number | 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 .4 other video equipment fault alarm 5 bus overcrowding alarm 6 alarm abnormal driving behavior7 special alarm video to store threshold alarm |
bt | number | Stream type -1: master or sub stream, 0: master stream, 1: sub stream |
tp | number | Media type 0: audio and video, 1: audio, 2: video, 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time 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 |
alarmType | number | No | No | Alarm Type Details See also:Alarm Type Desc |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
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 |
{ "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 } ], "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
begintime | string | Yes | No | File Start Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
endtime | string | Yes | No | File End Time Greater than or equal to the source file start time, Less than or equal to the source file end time. |
alarmType | string | No | No | Alarm Type Details See also:Alarm Type Desc |
type | number | No | No | 1- audio and video 2- audio 3- video |
filetype | number | No | No | File Type 0-ordinary 1-Alarm trigger |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
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) |
status | number | Video status 0- is videotaping 1- video to complete the abnormal end of 2- |
totalPages | number | Total Page |
currentPage | number | Current Page |
pageRecords | number | Page Record |
totalRecords | number | Total Records |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
name | string | Yes | No | Rule name Chinese reference, format reference |
begintime | string | Yes | No | File Start Time(12:30:30) |
endtime | string | Yes | No | File End Time(14:30:30) |
alarmType | string | Yes | No | Alarm Type Details See also:Alarm Type Desc |
type | number | Yes | No | Fixed transmission 13 |
param | string | Yes | No | 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 (supporting 16 channels), for example, 1010000000000000 for opening channel 1, 3; P5 phone number, P6 mailbox; example: 1,1010000000000000,10,1010000000000000,0000000000,xxx |
text | string | No | No | Hint information Chinese reference, format reference |
Param Name | Param Type | Desc |
rule_id | number | Rule ID |
{ "result": 0, "rule_id":1 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
name | string | Yes | No | Rule name Chinese reference, format reference |
armType | string | No | No | Alarm Type Details See also:Alarm Type Desc |
ruleType | number | Yes | No | Fixed transmission 13 |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
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 |
param | string | 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 (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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
id | number | Yes | No | Rule ID |
name | string | Yes | No | Rule name Chinese reference, format reference |
begintime | string | Yes | No | File Start Time(12:30:30) |
endtime | string | Yes | No | File End Time(14:30:30) |
param | string | Yes | No | 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 (supporting 16 channels), for example, 1010000000000000 for opening channel 1, 3; P5 phone number, P6 mailbox; example: 1,1010000000000000,10,1010000000000000,0000000000,xxx |
text | string | No | No | Hint information Chinese reference, format reference |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
id | number | Yes | No | Rule ID |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
ruleId | number | Yes | No | Rule ID |
Param Name | Param Type | Desc |
id | number | Regular device association ID (Jian Yixian execution - query rule and device Association - 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
id | number | No | No | Regular device association ID (Jian Yixian execution - query rule and device Association - get corresponding ID), multiple comma segmentation |
devIdno | string | No | No | Device No. |
ruleId | number | No | No | Rule ID |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
ruleType | number | Yes | No | Rule Type |
Param Name | Param Type | Desc |
name | string | Rule name |
id | number | Rule ID |
type | number | Rule Type |
utm | number | Update time |
expand | string | Extended parameter, when the rule type is 7, the parameter is the offset width |
cName | string | Company Name |
{ "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 } }
(1)GPS Reporting Interval
http://47.88.8.31/StandardApiAction_vehicleControlGPSReport.action?(2)Other Vehicle Control
http://47.88.8.31/StandardApiAction_vehicleControlOthers.action?(1)Common Param
See Also:Common Param
(2)Private Param
a.GPS Reporting Interval
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. |
Time | number | Yes | No | Interval Time Unit second, 0-3600, 0 means did not upload the GPS. |
b.Other Vehicle Control
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. |
CtrlType | number | Yes | 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 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 |
Pwd | string | Yes | No | Password Md5 encrypted password is required. |
(1)GPS Reporting Interval
http://47.88.8.31/StandardApiAction_vehicleControlGPSReport.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Start=1&Type=1&Distance=0&Time=5(2)Other Vehicle Control
http://47.88.8.31/StandardApiAction_vehicleControlOthers.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&a.GPS Reporting Interval
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
b.Other Vehicle Control
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. |
Text | string | Yes | No | TTS Text Length can not exceed 240 characters. Chinese reference, format reference |
Flag | number | No | 4 | TTS Flag If the parameter is null, the default value is 4. Emergency: 1, terminal display: 4, terminal TTS broadcast read: 8, advertising screen display: 16. Case 1: Using "Emergency" and "Terminal Display", the value is: 1+4=5. Case 2: Use "terminal TTS broadcast and read", "advertising screen display", the value is: 4+8=12 |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
DevIDNO | string | Yes | No | Device No. |
Chn | number | Yes | No | Device Channel(starting from 0) 0 means channel 1, and 1 means channel 2. |
Command | number | Yes | No | 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; 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 | number | Yes | No | Speed, when moving in the direction, the speed is valid, range 0-255 |
Param | number | Yes | No | When the preset bit is operated, the Param is valid, indicating the ordinal number of the preset bits (21 calls; 22 settings; and 23 deletion) |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
devIdno | string | Yes | No | Device No. |
jsession | string | Yes | No | Jsession |
Param Name | Param Type | Desc |
Version | string | Version Number |
WLanActive | number | Wireless Module (1: active) |
WLanType | number | Wireless Module Type(0:2G, 1:3G-EVDO, 2:3G-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) |
ChanNum | number | Number of channels (channel index 0, corresponding to CH1) |
Record | number | Recording status (bit corresponding to channel index, 1 means valid) |
VideoLost | number | Video loss status (bit corresponding to channel index, 1 means lost) |
DiskNum | number | Number of hard drives |
DiskInfo | number | Hard drive information |
AllVolume | number | All capacity Unit: G, please divide by 100 before use. |
LeftVolume | number | Remaining capacity Unit: G, divide by 100 before use. |
{ "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":"192.168.1.12", "WLanType":2, "WifiAP":"wkp-test-wifi", "WifiActive":1, "WifiAddr":"192.168.2.200", "cVersion":1, "gpsState":1, "gpsTime":"2020-03-05 11:52:40", "jingDu":113921451, "weiDu":22570585, "DiskInfo":{[ "AllVolume":16000, "LeftVolume":"8800", ]} }] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
protocol | string | No | No | The 1: standard (2011) standard 2: (Compass) 3: standard 1078 (video) |
devType | string | Yes | No | Device type 7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals |
companyName | string | Yes | No | Company Name If it doesn't exsist,it will be added. Chinese reference, format reference |
account | string | No | No | Main Account |
factoryType | number | Yes | No | Manufacturer type 0 unknown, 17 GM, 20 HD 21 FZE, 23 HB, 24 BSJ 26 HK ,28 YX,29 RM |
channelNum | number | No | No | Number of Channels |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
devType | string | No | No | Device type 7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals |
protocol | string | No | No | The 1: standard (2011) standard 2: (Compass) 3: standard 1078 (video) |
audioCodec | string | No | No | 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 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 |
factoryType | number | No | No | Manufacturer type 0 unknown, 17 GM, 20 HD 21 FZE, 23 HB, 24 BSJ 26 HK ,28 YX,29 RM |
channelNum | number | No | No | Number of Channels |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | Yes | No | Plate Number Perform the modification operation if it exists Chinese reference, format reference |
devIdno | string | Yes | No | Device No. If it doesn't exsist,it will be added. |
devType | string | Yes | No | Device type 7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals |
companyName | string | Yes | No | Company Name If it doesn't exsist,it will be added. Chinese reference, format reference |
account | string | Yes | No | Main Account |
factoryType | number | Yes | No | Manufacturer type 0 unknown, 17 GM, 20 HD 21 FZE, 23 HB, 24 BSJ 26 HK ,28 YX,29 RM |
name | string | No | No | 11 PTT terminal is valid, the default value is vehiIdno field. Chinese reference, format reference |
fleetName | string | No | No | Fleet If it doesn't exsist,it will be added. If it exists, the team is not supported to change its company! Chinese reference, format reference |
simCard | string | No | No | SIM Card If it doesn't exsist,it will be added. |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. If the device has been used by vehicle,then it will fail to delete the device. |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | Yes | No | Plate Number Chinese reference, format reference |
delDevice | string | Yes | No | Delete the device of the vehicle or not. 1 means deleting the device,otherwise don't delete. |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | Yes | No | Plate Number Chinese reference, format reference |
devIdno | string | Yes | No | Device No. |
devType | string | No | No | Device type(Change device type) 7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | Yes | No | Plate Number Chinese reference, format reference |
devIdno | string | Yes | No | Device No. |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
a. Traffic configuration information fconfig
Param Name | Param Type | Desc |
id | number | id |
did | string | Device No. When the query a video on server, it means the license plate number. |
nflt | number | Monthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit |
nofc | number | Traffic statistics switch 0- closes and 1- opens |
nodfr | number | Daily traffic reminding 0- not to remind 1- reminding |
nomfr | number | Monthly traffic reminder 0- does not remind 1- reminding |
fdl | number | Daily flow limit (MB) |
fml | number | Monthly flow limit (MB) |
ndr | number | A daily flow reminder (percentage), 20% or 20 |
nmr | number | Monthly flow reminder (percentage), 20% or 20 |
nmtd | number | Monthly knot day |
b. Traffic use information fuse
Param Name | Param Type | Desc |
id | number | id |
did | string | Device No. When the query a video on server, it means the license plate number. |
cdu | number | Day use flow |
cdvu | number | Video usage traffic on the day |
cdgu | number | GPS usage traffic on the day |
cdou | number | Other business usage traffic on the day |
cmu | number | Traffic flow in the month |
cmvu | number | Video usage traffic in the month |
cmgu | number | GPS traffic in the month |
cmou | number | Other business use traffic in the month |
uptm | number | Update time |
{ "result": 0, "fconfig": { "id":"2", "did":50000, "nflt":1, "nofc":1, "nodfr":1, "nomfr":1, "fdl":500.0, "fml":1200.0, "ndr":50, "nmr":30, "nmtd":12 } , "fuse": { "id": 1 "did": 50000 "cdu": 0 "cdvu": 0 "cdgu": 0 "cdou": 0 "cmu": 0 "cmvu": 0 "cmgu": 0 "cmou": 0 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
monitorOpen | number | Yes | No | Traffic statistics switch 0- closes and 1- opens |
settlementDay | number | No | No | Monthly knot day |
monthLimit | number | No | No | Monthly flow limit (MB) |
monthRemindOpen | number | No | No | Monthly traffic reminder 0- does not remind 1- reminding |
monthRemind | number | No | No | Monthly flow reminder (percentage), 20% or 20 |
dayLimit | number | No | No | Daily flow limit (MB) |
dayRemindOpen | number | No | No | Daily traffic reminding 0- not to remind 1- reminding |
dayRemind | number | No | No | A daily flow reminder (percentage), 20% or 20 |
overLimitOpen | number | No | No | Monthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit |
Param Name | Param Type | Desc |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
Param Name | Param Type | Desc |
i | number | Area ID |
n | string | Area Name |
cl | string | Color |
m | number | Area Type 1:point 2:rectangle 3:polygon 4:Route 10:circle |
r | number | Radius |
s | number | Area Sharing 0:Do not share 1:packet sharing 2:all share |
c | number | Create Area User ID |
u | number | Company ID |
mt | number | Map Type 0:Google 3:Baidu 4:Gaode |
tp | number | Geographic Type 2:Village 3:Factory 4:Construction Site 5:Warehouse 6:Pier 7:Logistics Park 8:Fee Station 9:Tracking Point 10:Work Area 11:Patrol Area 12:Other |
j | string | Lng |
w | string | Lat |
{ "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 } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
name | string | Yes | No | Organization Name |
account | string | New Required | No | Organization master account |
parentId | number | New Required | No | Superior organization id (default 0) |
encryptPwd | string | No | No | Account password (MD5 encryption) |
password | string | No | No | Clear text password [Priority use encryptPwd, if both encryptPwd and password are empty, default 000000] |
id | number | No | No | Organization id (can only modify the company name [recommended parameter transfer method and new agreement, if you can not query according to id, perform new operations] |
isEabnleValidity | number | No | No | Whether to enable the validity period 0 not enabled 1 enabled |
validity | string | No | No | Validity period yyyy-MM-dd HH:mm:ss |
organizationCode | string | No | No | Road transport permit |
Param Name | Param Type | Desc |
result | number | 0 |
id | number | Organization id |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | No | No | Organization id |
name | string | No | No | Organization Name |
Param Name | Param Type | Desc |
name | string | Organization Name |
id | number | Organization id |
level | number | Organization type: 1-Company, 12-Department |
accountID | number | Organization master account Id |
parentId | number | Superior organization id (default 0) |
{ "result": 0, "company": { "id":2, "name":"test", "level":1, "parentId":0, "companyId":0 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | Organization id |
name | string | No | No | Organization Name |
Param Name | Param Type | Desc |
result | number | 0 |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
name | string | Yes | No | Role Name |
privilege | string | Yes | No | Role PermissionsPermission Type |
cid | number | Yes | No | Organization Id |
id | number | No | No | Role id (can only modify the role permissions, can not change the company, if the id does not exist, then take the new operation. It is recommended to read the corresponding parameters in the transmission] |
Param Name | Param Type | Desc |
result | number | 0 |
id | number | Role Id |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
name | string | No | No | Role Name |
id | number | No | No | Role Id |
Param Name | Param Type | Desc |
name | string | Role Name |
id | number | Role Id |
privilege | string | Role Permissions |
company | object | The organization to which the role belongs, parsing the reference company query |
{ "result": 0, "role": [{ "id":1, "name":"role1", "privilege":"613,24", "company":{ "id":2, "name":"test", "level":1, "parentId":0, "companyId":0, } }] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | Role Id |
Param Name | Param Type | Desc |
result | number | 0 |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
account | string | Yes | No | User Account |
roleId | string | Yes | No | Role permission Id (multiple use English, split) |
cid | number | Yes | No | Organization Id |
encryptPwd | number | No | No | Account password (MD5 encryption) |
password | number | No | No | Clear text password [Priority use encryptPwd, if both encryptPwd and password are empty, default 000000] |
name | string | No | No | User name (default account name) |
status | number | No | No | undefined |
modifyPassword | number | No | No | Whether to prohibit the modification of the password 0-No 1-Yes; Default 0 |
dispatcher | number | No | No | User Type: 0-Normal User 1-Scheduled User; Default 0 |
singleLogin | number | No | No | Single sign-on: 0-no 1-yes; default 0 |
level | number | No | No | User level: 0-4 [corresponding to I-V]; default 0 |
validity | string | No | No | Account validity period [Format: 2019-04-02] |
id | string | No | No | Used when modifying user information. If the id does not query the user, add a new operation. [Recommended to read first, then modify] |
Param Name | Param Type | Desc |
result | number | 0 |
id | number | User Id |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
name | string | No | No | User name (default account name) |
id | number | No | No | User Id |
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 |
user.vld | number | Account validity period [Format: 2019-04-02](millisecond) |
user.at | number | Whether the main account is 0-no, 1- is |
user.cps | number | Whether to prohibit the modification of the password 0-No 1-Yes; Default 0 |
user.lv | number | User level: 0-4 [corresponding to I-V]; default 0 |
user.dis | number | User Type: 0-Normal User 1-Scheduled User; Default 0 |
user.rid | string | Role Id |
user.rnm | number | Role Name,Multiple corresponding to the role id order |
user.pid | number | Organization Id |
user.pnm | number | Organization Name |
company | object | That is, the current jsession login user belongs to the organization, parsing the reference company query |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | User Id |
Param Name | Param Type | Desc |
result | number | 0 |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
lastUpdateTime | date | Yes | No | Date of most recent driver list download |
Param Name | Param Type | Desc |
needUpdate | object | 0: indicates that update is required; 1: no update is required. |
{ "result":"0", "needUpdate":"0" }
(1)URL
(1)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | After user login returning jsession If it is empty, it is determined that the account and password. |
devIdno | string | Yes | No | Device No. If the devIdno is empty, it is judged that the vehiIdno. |
lastUpdateTime | string | Yes | No | Date of most recent driver list download |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
devIdno | string | Yes | No | Device No. |
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 | ID card photo |
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 |
perfectStatus | string | Information complete status 0 not complete 1 complete |
isMain | boolean | Is main driver? |
{ "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":"司机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":"司机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
(1)Param Desc
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | After user login returning jsession If it is empty, it is determined that the account and password. |
devIdno | string | Yes | No | Device No. If the devIdno is empty, it is judged that the vehiIdno. |
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
type | string | Yes | No | 1 Query according to the license code 2 Query according to the driver's license number |
content | string | Yes | No | Driver's Work Number/Driver's license number |
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 | ID card photo |
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 |
perfectStatus | string | Information complete status 0 not complete 1 complete |
isMain | boolean | Is main driver? |
{ "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":"司机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":"司机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)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. |
dids | string | No | No | Driver id It may be more than one, in order to ',' separation. |
begintime | string | No | No | Start Time |
endtime | string | No | No | End Time |
toMap | string | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
geoaddress | string | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
currentPage | string | No | No | Current Page If empty, no paging. |
pageRecords | string | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
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 |
p1 | number | Alarm Param 1 Details See also:Alarm Param Desc |
p2 | number | Alarm Param 2 Details See also:Alarm Param Desc |
p3 | string | Alarm Param 3 Details See also:Alarm Param Desc |
p4 | number | Alarm Param 4 Details See also:Alarm Param Desc |
desc | string | Punch information, use';' to split. Driver name|Issuing authority|ID 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 |
ss1 | number | Alarm Start Status 1 Details See also:Alarm Status Desc |
ss2 | number | Alarm Start Status 2 Details See also:Alarm Status Desc |
es1 | number | Alarm End Status 1 Details See also:Alarm Status Desc |
es2 | number | Alarm End Status 2 Details See also:Alarm Status Desc |
slng | number | Alarm Start Lng |
slat | number | Alarm Start Lat |
elng | number | Alarm End Lng |
elat | number | Alarm End Lat |
smlat | string | Alarm Start Map Lat Get the lat through the conversion |
emlat | string | Alarm End Map Lat Get the lat through the conversion |
sps | string | Alarm start location The geographic location after analysis or (alarm start map longitude, alarm start map latitude) |
eps | string | Alarm end location 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 |
{ "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": "测试1111", "dev": "11111111", "desc": "", "info": 0, "p3": 0, "p2": 2, "p1": 6, "p4": 51, "vid": 12530, "cnm": "测试", "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" }] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
vehiIdno | string | No | No | Plate Number It may be more than one, in order to ',' separation. |
dids | string | No | No | Driver id It may be more than one, in order to ',' separation. |
begintime | string | No | No | Start Time |
endtime | string | No | No | End Time |
toMap | string | No | No | Map Coordinates Conversion 1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates |
geoaddress | string | No | No | Analysis of geographical position 1 provides resolution geographic location services If you don't pass it, don't analysis the location |
currentPage | string | No | No | Current Page If empty, no paging. |
pageRecords | string | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
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 Recognition result, 0: recognition failure 1: recognition success |
p1 | number | Alarm Param 1 Recognition success means contrast, zoom in 100 |
p2 | number | Alarm Param 2 The lower 16 bits indicate failure similarity, and the higher 16 bits indicate passing similarity |
p3 | string | Alarm Param 3 Recognition failure means failure type 0: invalid 1: recognition failure 2: unrecognizable 3: comparison failure |
p4 | number | Alarm Param 4 Driver id |
desc | string | Alarm Info |
ss1 | number | Alarm Start Status 1 Details See also:Alarm Status Desc |
ss2 | number | Alarm Start Status 2 Details See also:Alarm Status Desc |
es1 | number | Alarm End Status 1 Details See also:Alarm Status Desc |
es2 | number | Alarm End Status 2 Details See also:Alarm Status Desc |
slng | number | Alarm Start Lng |
slat | number | Alarm Start Lat |
elng | number | Alarm End Lng |
elat | number | Alarm End Lat |
smlat | string | Alarm Start Map Lat Get the lat through the conversion |
emlat | string | Alarm End Map Lat Get the lat through the conversion |
sps | string | Alarm start location The geographic location after analysis or (alarm start map longitude, alarm start map latitude) |
eps | string | Alarm end location 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 |
{ "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": "测试", "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" }] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
dName | string | No | No | Driver name, Fuzzy search |
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 |
{ "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 } ] }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | No | No | It is used when modifying the driver information. If the ID cannot find the driver, 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 |
startTime | string | Yes | No | Start time of the valid date of the certificate |
validity | string | Yes | No | Driver's License Expiration Date |
reminderDays | number | Yes | No | Days Ahead Of Schedule |
companyName | string | Yes | No | Company Name |
postId | number | No | No | Job ID 1 driver 2 flight attendant |
remark | string | No | No | Remark |
enable | number | No | No | Is it used |
licenseSrc | string | No | No | Driver's license photo address |
qltSrc | string | No | No | Photo address of qualification certificate |
transportStatus | number | No | No | Transport status 0 not transported 1 transported |
perfectStatus | number | No | No | Information complete status 0 not complete 1 complete |
etQltSrc | string | No | No | Photo address of escort 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 |
facePhotoUrl | string | No | No | face library,Call the upload image interface to get the return value |
drivingTime | number | No | No | Cumulative driving time |
drivingScore | number | No | No | Grade |
drivingLiCheng | number | No | No | Accumulated driving mileage |
idNumberImgUrl | string | No | No | ID photo address,Call the upload image interface to get the return value |
roadTransport | string | No | No | Road transportation qualification certificate |
roadTransportImgUrl | string | No | No | Photo address of road transportation qualification 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 |
supervisionCardReviewTime | date | No | No | Supervision Card Validity Period |
supervisionCardStatus | number | No | No | Supervision Card Status |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
id | number | Driver id |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | Driver id |
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 |
perfectStatus | number | Information complete status 0 not complete 1 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 |
roadTransportImgUrl | number | Photo address of road transportation qualification certificate |
complaintsNumbers | number | Number of complaints |
processedNumbers | number | Processed times |
clock | number | Whether to check in the driver |
{ "result": 0{ "result":0, "driver":{ "address":"地址", "name":"姓名", "id":2, "startTime":1262361600000, "licenseType":"驾照类型", "nuclearAuthority":"核发机关", "vehiIDNO":null, "companyId":5, "area":"地域", "validity":1514822400000, "updateTime":1603966552000, "remark":null, "contact":"18059760937", "jobNum":"资格证编码", "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":"籍贯", "reminderDays":21, "roadTransport":"道路运输资格证", "drivingScore":null, "transportStatus":0, "etQltNum":null, "clock":false, "rushDate":1325433600000, "perfectStatus":0 } } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | Driver id It may be more than one, in order to ',' separation. |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
File | Caption |
http://47.88.8.31/808gps/OperationManagement/js/WebUploaderUtil.js | File required for uploading picture method |
http://47.88.8.31/808gps/open/player/js/jquery.min.js | File required for uploading picture method |
http://47.88.8.31/js/webUploader/Uploader.swf | File required for uploading picture method |
http://47.88.8.31/js/webUploader/webuploader.css | File required for uploading picture method |
http://47.88.8.31/js/webUploader/webuploader2.js | File required for uploading picture method |
(1)Operation Example
No
(2)Reference JavaScript Code
html代码: 上传图片 JavaScript代码: function loadPage() { // 上传图片到服务器 loadUploader(); } function loadUploader() { var $ = jQuery, $list = $('#fileList'), // 优化retina, 在retina下这个值是2 ratio = window.devicePixelRatio || 1, allMaxSize = 10, // 缩略图大小 thumbnailWidth = 80 * ratio, thumbnailHeight = 80 * ratio, // Web Uploader实例 uploader; // 初始化Web Uploader uploader = WebUploader.create({ // 自动上传。 auto: true, // swf文件路径 swf: 'webUploader/Uploader.swf', // 文件接收服务端。 server: 'http://192.168.1.109:88/WebuploaderApiAction_ajaxAttachUploadDriver.action?jsession=D60E0E9E23B754BBC8EAA01741F04DB1', // [默认值:'file'] 设置文件上传域的name。 fileVal: 'upload', // 选择文件的按钮。可选。 // 内部根据当前运行是创建,可能是input元素,也可能是flash. pick: '#filePicker', //可重复 //duplicate:true, // 只允许选择文件,可选。 accept: { title: 'Images', extensions: 'gif,jpg,jpeg,bmp,png', mimeTypes: 'image/*' }, fileSingleSizeLimit: allMaxSize * 1024 * 1024,//限制大小1M,单文件,超出选择不上 }); // 当有文件添加进来的时候 uploader.on('fileQueued', function (file) { var imgSize = $('#fileList img').length; if (imgSize > 5) { alert("不能大于5张图片"); return; } var $li = $( '' + '' + '' + file.name + '' + '' ), $img = $li.find('img'); var $btns = $('' + '').appendTo($li); $list.append($li); $btns.on('click', 'span', function () { removeFile(file); }); // 创建缩略图 uploader.makeThumb(file, function (error, src) { if (error) { $img.replaceWith('' + "不能预览" + ''); return; } $img.attr('src', src); }, thumbnailWidth, thumbnailHeight); }); // 负责view的销毁 function removeFile(file) { var $li = $('#' + file.id); $li.off().find('.file-panel').off().end().remove(); for (var i = 0; i < facePhotoUrl.length; i++) { if (facePhotoUrl[i].id == file.id) { delPhotoUrl.push(facePhotoUrl[i].name); facePhotoUrl.splice(i, 1); } } uploader.removeFile(file, true); } // 文件上传过程中创建进度条实时显示。 uploader.on('uploadProgress', function (file, percentage) { var $li = $('#' + file.id), $percent = $li.find('.progress span'); // 避免重复创建 if (!$percent.length) { $percent = $('') .appendTo($li) .find('span'); } $percent.css('width', percentage * 100 + '%'); }); var frequently = false; // 文件上传成功,给item添加成功class, 用样式标记上传成功。 uploader.on('uploadSuccess', function (file, data) { if (data.result == 0) { if (facePhotoUrl.length < 6) { facePhotoUrl.push({id: file.id, name: data.name}); } $('#' + file.id).addClass('upload-state-done'); } else if (data.result == 104) { removeFile(file); if (!frequently) { alert("上传太过频繁,请稍后继续..."); } frequently = true; } }); // 文件上传失败,现实上传出错。 uploader.on('uploadError', function (file) { var $li = $('#' + file.id), $error = $li.find('div.error'); // 避免重复创建 if (!$error.length) { $error = $('').appendTo($li); } $error.text("上传失败"); }); uploader.on('error', function (type) { if (type == "F_DUPLICATE") { alert('请不要重复选择文件'); } else if (type == "F_EXCEED_SIZE") { alert('文件大小不能超过1M'); } }); // 完成上传完了,成功或者失败,先删除进度条。 uploader.on('uploadComplete', function (file) { $('#' + file.id).find('.progress').remove(); }); $('.submit', '#toolbar-btn').on('click', function () { uploader.upload(); }); }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | No | No | SIM ID When modifying the SIM, the parameters must be passed! |
cardNum | string | Yes | No | SIM Card |
companyName | string | Yes | No | Company Name Chinese reference, format reference |
registrationTime | string | No | No | Registration time (default current time, old time will not be transmitted when modified) 2020-03-03 10:10:10 |
status | number | No | No | Use status 0 is not enabled, 1 is enabled, default 1 |
remark | string | No | No | Remark Chinese reference, format reference |
city | string | No | No | Issuing City Chinese reference, format reference |
operator | string | No | No | Operator Chinese reference, format reference |
devIdno | string | No | No | Bind the device number (the company of the device and the company of the sim are the same to bind successfully) |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | SIM ID |
Param Name | Param Type | Desc |
id | string | SIM ID |
vehiIDNO | string | Plate Number |
remark | string | Remark |
status | number | Use status 0 is not enabled, 1 is enabled, default 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 |
{ "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 } }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
id | number | Yes | No | SIM ID |
Param Name | Param Type | Desc |
result | number | Return Code 0 means success, the other means failure. |
{ "result": 0 }
(1)Common Param
See Also:Common Param
(2)Private Param
Param Name | Param Type | Whether Must | Defaults | Desc |
jsession | string | Yes | No | Jsession |
currentPage | number | No | No | Current Page If empty, no paging. |
pageRecords | number | No | No | Page Record If empty, no paging. |
Param Name | Param Type | Desc |
id | string | SIM ID |
vehiIDNO | string | Plate Number |
remark | string | Remark |
status | number | Use status 0 is not enabled, 1 is enabled, default 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 |
{ "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 }] }