Customer Service     Tel/whatsapp: 0086 181240102699

图片展示

Web Interface Documentation

Author:Shenzhen JOINLGO Technology Co.,Ltd. Click: Time:2023-02-18 17:07:50

Interface Desc And Error Code

1.Param Encode

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.


Chinese Example


1.Url direct pass    encodeURI(encodeURI(URIstring))
    http://47.88.8.31/StandardApiAction_marginGroup.action?value=encodeURI(encodeURI(URIstring))

2.Ajax data transfer(Recommend)    encodeURI(URIstring)
    var data = {}
    data.value = encodeURI(URIstring)
    $.ajax({
             url: 'http://47.88.8.31/StandardApiAction_marginGroup.action
            data: data,
            cache:false,
            dataType:'json',
            success: function (json) {
               if(json.result == 0){
                  alert('Success');
               } else {
                  alert('Failure');
               }
            },error:function(XMLHttpRequest, textStatus, errorThrown){
            }
    });


2.HTTP MIME TYPE

JSON
Content-type: text/html; charset=utf-8
JSONP
Content-type: text/javascript; charset=utf-8

3.Common Param

Param NameParam TypeWhether MustDesc
jsessionstringYesReturn session after user logged
callbackstringNoWhen 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 NameParam TypeDesc
retultnumber0: Correctly returns
Other: failure.Details See also:Error Code Desc
callbackstringCallback is carried when requesting


4.webError Code Desc

Error CodeCaption
1Username does not exist
2wrong password
3The user has disabled
4The user has expired
5Session does not exist
6System exception
7Request parameter is incorrect
8No authority to operate the vehicle or device
9Start time is not greater than the end time
10The time Longer than the range
11Video download tasks already exist
12Account already exists
13No operating authority
14The amount of device was limited(The amount of device reaches maximum).
15The device is already exsist.
16The vehicle is already exsist.
17The device has been used.
18Vehicle does not exist
19Device does not exist
20Equipment is not current company
21The number of device registration does not match, please check the number of equipment exceeds the number of registration!
24Network connection exception
25The name of the rule already exists
26Rules do not exist
27Information does not exist
28userSession already exists
29Company does not exist
32Equipment is not online
34Single sign-on user, already logged in


5.serverError Code Desc( Return parameter inclusion: "cmsserver":1 )

Error CodeCaption
2No user permissions
3Request parameter is incorrect
4Operating database error
5Information does not exist
6unknown error
7The name has been used
21Device does not exist
22No feedback information received from the device
23Equipment is not online
26Device connection interruption
27Undefined storage path


6.JSONP Use Example


    $.ajax({
            type:'POST',
             url: 'http://47.88.8.31/StandardApiAction_loginEx.action?callback=getData',
            data: data,
            cache:false,
             dataType:'JSONP',
            success: getData=function (data) {
               if(data.result == 0){
                  alert('Success');
               } else {
                  alert('Failure');
               }
       },
    });

Login And Logout

Login

Interface Desc And Error Code
Login
URL
http://47.88.8.31/StandardApiAction_login.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
accountstringYesNoAccount
passwordstringYesNoPassword
Request Example
http://47.88.8.31/StandardApiAction_login.action?account=admin&password=admin
Return Param Desc
Param NameParam TypeDesc
jsessionstringJsession
Correctly Returns Examples
{
  "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.

Logout

Interface Desc And Error Code
Logout
URL
http://47.88.8.31/StandardApiAction_logout.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc





Request Example
http://47.88.8.31/StandardApiAction_logout.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Query Vehicle

Get User Vehicle

Interface Desc And Error Code
Get User Vehicle
URL
http://47.88.8.31/StandardApiAction_queryUserVehicle.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc





Request Example
http://47.88.8.31/StandardApiAction_queryUserVehicle.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&language=zh
Return Param Desc

a.Vehicle Information

Param NameParam TypeDesc
idnumberVehicle ID
nmstringPlate Number
icnumberVehicle Icon
pidnumberVehicle Company Or Team
ptstringPlate Type
dlArrayDevice List
The following are device info
idstringDevice No.
pidnumberDevice Company
icnumberNumber of IO
iostringIO Name
Separated by ','
ccnumberNumber of Channels
cnstringChannel Name
Separated by ','
tcnumberNumber of Temperature Sensors
tnstringTemperature sensor Name
Separated by ','
mdnumberModule 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.
simstringSIM Card
vtstringVehicle 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
nfltnumberMonthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit
didstringDevice No.
isbnumberDevice protocol
usnumberDevice usage status
payEndnumberService expiration time (time stamp type)

b.Organization Information

Param NameParam TypeDesc
idnumberOrganization ID
nmstringOrganization Name
pidnumberHigher Party Organization ID
Correctly Returns Examples
{
  "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
    }
  ]
}

Get DevIdno

Interface Desc And Error Code
Get DevIdno
URL
http://47.88.8.31/StandardApiAction_getDeviceByVehicle.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
vehiIdnostringYesNoPlate Number
It may be more than one, in order to ',' separation.
Chinese reference, format reference
Request Example
http://47.88.8.31/StandardApiAction_getDeviceByVehicle.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=50000000000
Return Param Desc
Param NameParam TypeDesc
didstringDevice No.
vidstringPlate Number
typenumberDevice type
1 means video device, 0 means gps device, if only one device, it is video device or gps device.
Correctly Returns Examples
{
  "result": 0,
  "devices":[
    {
      "vid":"50000000000",
      "type":1,
      "did":"1234"
    },
    {
      "vid":"50000000000",
      "type":0,
      "did":"dsdasd21116"
    }
  ]
}

Get Device Online

Interface Desc And Error Code
Get Device Online
URL
http://47.88.8.31/StandardApiAction_getDeviceOlStatus.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringNoNoDevice No.
It may be more than one, in order to ',' separation.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate 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
statusnumberNoNoOnline status, 0 not online 1 online, empty query all
Request Example
http://47.88.8.31/StandardApiAction_getDeviceOlStatus.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000
Return Param Desc
Param NameParam TypeDesc
didstringDevice No.
vidstringPlate Number
If you are using the devIdno query, it is null.
onlinenumberOnline Status
1 means online, or offline.
Correctly Returns Examples
{
  "result": 0,
  "onlines":[
    {
      "did":"500000",
      "vid": null,
      "online":1
    }
  ]
}

Get Device Status(GPS)

Interface Desc And Error Code
Get Device Status(GPS)
URL
http://47.88.8.31/StandardApiAction_getDeviceStatus.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringNoNoDevice No.
It may be more than one, in order to ',' separation.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate 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
geoaddressnumberNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
drivernumberNoNoWhether to query driver information (name + work number)
1: query; other or not: not querying
toMapnumberNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
languagestringNoNoAnalysis of geographical position, Chinese environment pass on:
zh
Request Example
http://47.88.8.31/StandardApiAction_getDeviceStatus.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000&toMap=1&driver=0&language=zh
Return Param Desc
Param NameParam TypeDesc
idstringDevice No.
vidstringPlate Number
If you are using the devIdno query, it is null.
lngnumberLng
If the device location is invalid, the value of 0.
For example: 113231258, the true value is 113.231258
latnumberLat
If the device location is invalid, the value of 0.
For example: 39231258, the true value is 39.231258
ftnumberFactory Type
spnumberSpeed
Unit: km/h, you must first use divided by 10.
olnumberOnline Status
1 means online, or offline.
gtstringGPS Upload Time
ptnumberProtocol Type
dtnumberHard Type
1 means a SD card, 2 means a hard disk, and 3 means SSD card.
acnumberAudio Type
fdtnumberFactory Subtype
netnumberNetwork Type
0 means 3G, 1 means WIFI, 2 means wired, 3 means 4G, 4 means 5G.
gwstringGateway Server Number
s1numberStatus 1
Details See also:Device Status Desc
s2numberStatus 2
Details See also:Device Status Desc
s3numberStatus 3
Details See also:Device Status Desc
s4numberStatus 4
Details See also:Device Status Desc
t1numberTemp Sensor 1
t2numberTemp Sensor 2
t3numberTemp Sensor 3
t4numberTemp Sensor 4
hxnumberDirection
North direction is 0 degrees, clockwise increases, the maximum value of 360 degrees.
mlngstringMap Lng
Get the lng through the conversion
mlatstringMap Lat
Get the lat through the conversion
pknumberParking Time
Unit: sec.
lcnumbermileage
Unit: m.
ylnumberFuel
Unit: L, you must first use divided by 100.
psstringGeographical Position
The geographical position after analysis (or converted longitude, converted latitude)
tspnumberSpeed of traveling data recorder
Unit: km/h, you must first use divided by 10.
V9:Electric Quantity
dnstringDriver Name
jnstringDriver's Work Number
ltnumberLogin type:0-linux, 1-windows, 2-web, 3-Android, 4-ios
ustnumberUse status:0-normal, 1-maintenance, 2-deactivated, 3-arrears
snnumberNumber of satellites
lgnumber2 hours means long GPS(Refer to the 808-2019 agreement)
rtstringValid when lg=2,Receive GPS server time
lsnumberValid 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
ctnumberValid when lg=2,Compartment temperature (0x06)(Refer to the 808-2019 agreement)
iosnumberValid when lg=2,IO status bit (0x2A)(Refer to the 808-2019 agreement)
esnumberValid when lg=2,Extended vehicle signal status bit (0x25)(Refer to the 808-2019 agreement)
aqnumberValid when lg=2,Analog quantity (0x2B)(Refer to the 808-2019 agreement)
adas1numberValid 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
adas2numberValid 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
dsm1numberValid 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)
dsm2numberValid 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)
bsd1numberValid when lg=2

Active safety bsd alarm status bit bit0: left blind zone alarm, bit1: right blind zone alarm, bit2: rear approaching alarm
fvsnumberFront vehicle speed (Km/h). The asas alarm status bit is valid when bit0 =1 and bit1=1
dstnumberFront vehicle/pedestrian distance (100ms). The asas alarm status bits are valid for bit0 = 1, bit1=1 and bit3 = 1
rfdnumberRoad sign identification data. asas alarm type
dvtnumberDeviation type (0: left 1: right).asas alarm status bit is valid for bit1=1
rftnumberRoad 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.
flnumberFatigue degree. dsm alarm type
ynnumberNumber of yawns. The dsm alarm status bit is valid when bit0 = 1.
cetnumberClosed eye duration (100ms). The dsm alarm status bit is valid when bit0 = 1.
wcnumberNumber of consecutive blinks. The dsm alarm status bit is valid when bit0 = 1.
tpnumberTire pressure data, formatted as hex. dsm alarm type
efnumberAdditional information flag 0-Bus OBD 1-Video Department 2-UAE School Bus
p1numberef=1: video loss flag, ef=2: hard disk 3 status 0 is invalid, 1 exists, 2 does not exist
p2numberef=1:Video occlusion flag, ef=2: Hard disk 3 type 1sd, 2hd, 3ssd
p3numberef=1:Disk error flag, ef=2: Hard disk 4 status 0 is invalid, 1 exists, 2 does not exist
p4numberef=1:Abnormal driving flag, ef=2: Hard disk 4 type 1sd, 2hd, 3ssd
p5numberef=1:Fatigue degree, ef=2: humidity 1 sensor
p6numberef=2:Humidity 2 sensor
p7numberef=2:Humidity 3 sensor
lidnumberLine id
dridnumberDriver id
dctnumberLine direction 0 Up 1 Down
sfgnumberSite identification 0 site 1 station
snmnumberSite index
sstnumberSite status 1 site 0 station
ornumberOBD collects engine speed
osnumberOBD capture engine speed
ovnumberOBD collecting battery voltage
ojtnumberOBD collecting battery voltage
ostnumberOBD acquisition status
ojmnumberOBD capture throttle position
Correctly Returns Examples
{
  "result": 0,
  "status":[
    {
      "id":"500000",
      "vid": null,
      "lng":113921858,
      "lat":22568745,
      "ft":0,
      "sp":520,
      "ol":0,
      "gt":"2015-12-14 18:54:58.0",
      "pt":1,
      "dt":1,
      "ac":1,
      "fdt":0,
      "net":0,
      "gw":"G1",
      "s1":805310851,
      "s2":1280,
      "s3":0,
      "s4":0,
      "t1":-321,
      "t2":350,
      "t3":-200,
      "t4":0,
      "hx":137,
      "mlng":"113.926720",
      "mlat":"22.565703",
      "pk":0,
      "lc":161446267,
      "yl":101,
      "jn":null,
      "dn":null,
      "ps":"113.926720,22.565703",
      "abbr":null,
      "adas1":null,
      "adas2":null,
      "aq":null,
      "bsd1":null,
      "bsd2":null,
      "cet":null,
      "ct":null,
      "dct":null,
      "drid":null,
      "dsm1":null,
      "dsm2":null,
      "dst":null,
      "dvt":null,
      "ef":null,
      "es":null,
      "fl":null,
      "fvs":null,
      "glat":null,
      "glng":null,
      "hv":null,
      "imei":null,
      "imsi":null,
      "ios":null,
      "lg":null,
      "lid":null,
      "ls":null,
      "lt":null,
      "ojm":null,
      "ojt":0,
      "or":0,
      "os":0,
      "ost":0,
      "ov":0,
      "p1":0,
      "p2":0,
      "p3":0,
      "p4":0,
      "p5":0,
      "p6":0,
      "p7":0,
      "p8":0,
      "p9":0,
      "p10":0,
      "po":null,
      "pss":null,
      "rfd":null,
      "rft":null,
      "rt":null,
      "sfg":0,
      "sn":null,
      "snm":0,
      "sst":0,
      "sv":null,
      "tp":null,
      "tsp":0,
      "ust":null,
      "wc":null,
      "yn":null
    }
  ]
}
Map Example

(1)URL

http://47.88.8.31/808gps/open/map/vehicleMap.html?account=admin&password=admin&devIdno=500000

(2)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringNoNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
accountstringNoNoAccount
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.
passwordstringNoNoPassword
devIdnostringNoNoDevice No.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate Number
If the devIdno is empty, it is judged that the vehiIdno.
langstringNozhLanguage Settings
en means English, otherwise Chinese.

Get Device Track

Interface Desc And Error Code
Get Device Track
URL
http://47.88.8.31/StandardApiAction_queryTrackDetail.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoStart Time
endtimestringYesNoEnd Time
Start time is not greater than the end time, and the number of query days must not be greater than 7 days.
distancenumberNoNoDistance
Unit: KM.
parkTimenumberNoNoParking Time
Unit: sec.
geoaddressnumberNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
toMapnumberNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
Request Example
http://47.88.8.31/StandardApiAction_queryTrackDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30 23:59:59&distance=0&parkTime=0¤tPage=1&pageRecords=50&toMap=1
Return Param Desc
Param NameParam TypeDesc
tracksArrayTrack Detail
Details See also:Get Device Status(GPS)Return Param Desc
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "tracks":[
    {
      "id":"500000",
      "lng":113921858,
      "lat":22568745,
      "ft":0,
      "sp":520,
      "ol":null,
      "gt":"2015-12-14 18:54:58.0",
      "pt":1,
      "dt":1,
      "ac":1,
      "fdt":0,
      "net":0,
      "gw":"G1",
      "s1":805310851,
      "s2":1280,
      "s3":0,
      "s4":0,
      "t1":-321,
      "t2":350,
      "t3":-200,
      "t4":0,
      "hx":137,
      "mlng":"113.926720",
      "mlat":"22.565703",
      "pk":0,
      "lc":161446267,
      "yl":101
    }
  ],
  "pagination":
    {
      "totalPages": 42
      "currentPage": 1
      "pageRecords": 50
      "totalRecords": 2078
      "sortParams": null
      "hasNextPage": true
      "hasPreviousPage": false
      "nextPage": 2
      "previousPage": 1
      "startRecord": 0
    }
}
Map Example

(1)URL

http://47.88.8.31/808gps/open/trackReplay/Track.html?vehiIdno=500000&jsession=1bd49f53-8e49-4cad-972c-bf48cc4b3c83&begintime=2018-08-23 00:00:00&endtime=2018-08-23 23:59:59

(2)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
vehiIdnostringYesNoPlate Number
If the devIdno is empty, it is judged that the vehiIdno.
begintimestringYesNoStart Time
endtimestringYesNoEnd Time

Get Device Alarm(Page)

Interface Desc And Error Code
Get Device Alarm(Page)
URL
http://47.88.8.31/StandardApiAction_queryAlarmDetail.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringNoNoDevice No.
It may be more than one, in order to ',' separation.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate 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
begintimestringYesNoStart Time
endtimestringYesNoEnd Time
Start time is not greater than the end time, and the number of query days must not be greater than 90 days.
armTypestringYesNoAlarm Type
In ',' split, Can't be empty.
handlenumberNoNoHandle Status
1 shows Handled, 0 shows unhandled, other query all the status.
currentPagenumberYes1Current Page
pageRecordsnumberYes10Page Record
geoaddressnumberNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
checkendnumberNoNoJudgement 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
toMapnumberNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
updatetimestringNoNoUpdate time
Filter data whose update time is after the incoming time
Request Example
http://47.88.8.31/StandardApiAction_queryAlarmDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000&begintime=2015-12-25 00:00:00&endtime=2015-12-30 23:59:59&armType=2,9,11&handle=0¤tPage=1&pageRecords=50&toMap=2&checkend=0&updatetime=2020-07-23 23:59:59
Return Param Desc
Param NameParam TypeDesc
infonumberAlarm Info
descstringAlarm Desc
atpnumberAlarm Type
Details See also:Alarm Type Desc
didstringDevice No.
vidstringPlate Number
If you are using the devIdno query, it is null.
etmnumberAlarm End Time (UTC) in seconds
stmnumberAlarm Start Time (UTC) in seconds
guidstringAlarm Unique Number
p1numberAlarm Param 1
Details See also:Alarm Param Desc
p2numberAlarm Param 2
Details See also:Alarm Param Desc
p3numberAlarm Param 3
Details See also:Alarm Param Desc
p4numberAlarm Param 4
Details See also:Alarm Param Desc
imgstringImage Info
split by ;, and http path, and can be multiple image info.
hdnumberHandle Status
1 shows Handled, 0 shows unhandled.
hdunumberHandle User Id
hdcstringHandle Content
hdtstringHandle Time
ss1numberAlarm Start Status 1
Details See also:Alarm Status Desc
ss2numberAlarm Start Status 2
Details See also:Alarm Status Desc
es1numberAlarm End Status 1
Details See also:Alarm Status Desc
es2numberAlarm End Status 2
Details See also:Alarm Status Desc
slngnumberAlarm Start Lng
slatnumberAlarm Start Lat
elngnumberAlarm End Lng
elatnumberAlarm End Lat
sspnumberAlarm Start Speed
Unit: km/h, you must first use divided by 10.
espnumberAlarm End Speed
Unit: km/h, you must first use divided by 10.
slcnumberAlarm Start Mileage
Unit: m.
elcnumberAlarm End Mileage
Unit: m.
smlngstringAlarm Start Map Lng
Get the lng through the conversion
smlatstringAlarm Start Map Lat
Get the lat through the conversion
emlngstringAlarm End Map Lng
Get the lng through the conversion
emlatstringAlarm End Map Lat
Get the lat through the conversion
spsstringAlarm start location
The geographic location after analysis or (alarm start map longitude, alarm start map latitude)
epsstringAlarm 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)
createtimestringUpdate time
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "alarms":[
    {
      "info": 0,
      "desc":"",
      "atp":11,
      "did":"500000",
      "vid":null,
      "etm":1451374197000,
      "stm":1451374197000,
      "guid":"500000EB9B109898F74ADCB1B4446B9FFD2",
      "p1":12000,
      "p2":6000,
      "p3":10000,
      "p4":0,
      "img":"",
      "hd":1,
      "hdu":"admin",
      "hdc":"vcxvcvcxv",
      "hdt":"2015-12-29 16:50:50",
      "ss1":805327235,
      "ss2":0,
      "es1":805327235,
      "es2":0,
      "slng":113850504,
      "slat":22628389,
      "elng":113850504,
      "elat":22628389,
      "ssp":990,
      "esp":990,
      "slc":164338463,
      "elc":164338463,
      "smlng":"113.861938",
      "smlat":"22.631491",
      "emlng":"113.861938",
      "emlat":"22.631491",
      "sps":"113.861938,22.631491",
      "eps":"113.861938,22.631491",
      "createtime":"2020-08-08 16:50:50"
    }
  ],
  "pagination":
    {
      "totalPages": 42
      "currentPage": 1
      "pageRecords": 50
      "totalRecords": 2078
      "sortParams": null
      "hasNextPage": true
      "hasPreviousPage": false
      "nextPage": 2
      "previousPage": 1
      "startRecord": 0
    }
}

Acquiring device real time alarm

Interface Desc And Error Code
Acquiring device real time alarm
The vehicle must be online to operate
URL
http://47.88.8.31/StandardApiAction_vehicleAlarm.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
DevIDNOstringNoNoDevice No.
toMapnumberNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
Request Example
http://47.88.8.31/StandardApiAction_vehicleAlarm.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&toMap=2
Return Param Desc
Param NameParam TypeDesc
infonumberAlarm Info
guidstringAlarm Unique Number
descstringAlarm Desc
typenumberAlarm Type
Details See also:Alarm Type Desc
DevIDNOstringDevice No.
hdnumberHandle Status
1 shows Handled, 0 shows unhandled.
imgstringImage Info
split by ;, and http path, and can be multiple image info.
p1numberAlarm Param 1
Details See also:Alarm Param Desc
p2numberAlarm Param 2
Details See also:Alarm Param Desc
p3numberAlarm Param 3
Details See also:Alarm Param Desc
p4numberAlarm Param 4
Details See also:Alarm Param Desc
lngnumberLng
If the device location is invalid, the value of 0.
For example: 113231258, the true value is 113.231258
latnumberLat
If the device location is invalid, the value of 0.
For example: 39231258, the true value is 39.231258
spnumberSpeed
Unit: km/h, you must first use divided by 10.
pknumberParking Time
Unit: sec.
netnumberNetwork Type
0 means 3G, 1 means WIFI, 2 means wired, 3 means 4G, 4 means 5G.
mlngstringMap Lng
Get the lng through the conversion
mlatstringMap Lat
Get the lat through the conversion
s1numberStatus 1
Details See also:Device Status Desc
s2numberStatus 2
Details See also:Device Status Desc
s3numberStatus 3
Details See also:Device Status Desc
s4numberStatus 4
Details See also:Device Status Desc
t1numberTemp Sensor 1
t2numberTemp Sensor 2
t3numberTemp Sensor 3
t4numberTemp Sensor 4
lcnumbermileage
Unit: m.
hxnumberDirection
North direction is 0 degrees, clockwise increases, the maximum value of 360 degrees.
gtstringGPS Upload Time
ylnumberFuel
Unit: L, you must first use divided by 100.
srcAtnumberType of source alarm
srcTmstringSource alarm time
stTypenumberType of source alarm started
The alarm is used when the start and end alarm types are used
timestringAlarm time
dctnumberBus use, 0 uplink, 1 down
lidnumberBus use, Line number
sfgnumberBus use, Site sign 0- site 1- station yard
snmnumberBus use, Site index
tspnumberBus use, Site status 0- station 1- next stop
sstnumberSpeed of traveling data recorder
Correctly Returns Examples
{
  "result": 0,
  "alarmlist":[
    {
      "DevIDNO":500000,
      "desc":"",
      "guid":"C0C580F6E5094FDF8710289627676075",
      "hd":0,
      "img":"",
      "info":0,
      "p1":0,
      "p2":0,
      "p3":0,
      "p4":0,
      "rve":0,
      "srcAt":0,
      "srcTm":"2000-00-00 00:00:00",
      "stType":0,
      "type":48,
      "time":2017-10-24 18:20:48,
      "Gps":{
          "dct":0,
          "gt":"2017-10-24 18:20:48",
          "hx":71,
          "lat":22649633,
          "lc":7503761,
          "lid":4,
          "lng":113827278,
          "mlat":"22.652409",
          "mlng":"113.838835",
          "net":0,
          "pk":0,
          "s1":805310851,
          "s2":0,
          "s3":0,
          "s4":0,
          "sfg":0,
          "snm":0,
          "sp":540,
          "sst":0,
          "t1":-321,
          "t2":350,
          "t3":-200,
          "t4":0,
          "tsp":0,
          "yl":10644
      }
    }
  ]
}

Vehicle Mileage

Interface Desc And Error Code
Vehicle Mileage
URL
http://47.88.8.31/StandardApiAction_runMileage.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.
Chinese reference, format reference
begintimestringYesNoStart Time
Start time is not greater than the end time
endtimestringYesNoEnd Time
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_runMileage.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25&endtime=2018-3-30¤tPage=1&pageRecords=50
Return Param Desc
Param NameParam TypeDesc
milenumbermileage
Unit: m.
vehIdnostringPlate Number
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {,
      "vehIdno":50000,
      "mile":161446267
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "currentPage": 1
      "pageRecords": 50
      "totalRecords": 1
      "sortParams": null
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "startRecord": 0
    }
}

Vehicle Parked

Interface Desc And Error Code
Vehicle Parked
URL
http://47.88.8.31/StandardApiAction_parkDetail.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.
Chinese reference, format reference
begintimestringYesNoStart Time
Start time is not greater than the end time
endtimestringYesNoEnd Time
parkTimestringYesNoParking Time
Unit: sec.
toMapnumberYesNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
geoaddressnumberNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_parkDetail.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&begintime=2018-3-25 00:00:00&endtime=2018-3-30 23:59:59&parkTime=0&toMap=2¤tPage=1&pageRecords=50
Return Param Desc
Param NameParam TypeDesc
vehiIdnostringPlate Number
companyNamestringCompany Name
alarmTotalTimenumberParking Time
Unit: sec.
startPositionstringGeographical Position
armTimeStartnumberStart Time(millisecond)
armTimeEndnumberEnd Time(millisecond)
Correctly Returns Examples
{
  "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
    }
}

Vehicle Latest Location

Interface Desc And Error Code
Vehicle Latest Location
URL
http://47.88.8.31/StandardApiAction_vehicleStatus.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.
Chinese reference, format reference
toMapnumberYesNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
geoaddressnumberNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_vehicleStatus.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=500000&toMap=2¤tPage=1&pageRecords=50&geoaddress=0
Return Param Desc
Param NameParam TypeDesc
vistringPlate Number
tmnumberStart Time(millisecond)
jdnumberLng
wdnumberLat
posstringGeographical Position
Correctly Returns Examples
{
  "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
    }
}
Vehicle Location List

(1)URL

http://47.88.8.31/808gps/open/vehicleStatus.html?userSession=1bd49f53-8e49-4cad-972c-bf48cc4b3c83&vehiIdno=50000

(2)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
userSessionstringNoNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.

Video Business

Init Video Plug(H5, not IE)

Interface Desc And Error Code
Init Video Plug(H5, not IE)
(1)The video player plug-in currently supports H5 and Flash (only IE uses Flash)
(2)File path description, download all the reference files below, and place them in the same folder according to the example path
  ├── js
  │  └── cmsv6player.min.js
(3)cmsv6player

(4)wasm file location
libcmsv6decode.wasm needs to be placed in the web root directory
(5)Prepare HTML code

(6)JavaScript Code
See Also:Reference JavaScript Code
Reference File
FileCaption
http://47.88.8.31/808gps/open/player/js/cmsv6player.min.jsVideo plug-in calls require JavaScript file
http://47.88.8.31/libcmsv6decode.wasmVideo plug-in calls require JavaScript file
Call Method

(1)Video widget init method  var swfobject = new Cmsv6Player(option):

Param NameParam TypeWhether MustDefaultsDesc
domIdstringYesNoPage HTML tag id
Usually cmsv6flash.
isVodModenumberYesNoFor 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
widthnumberYesNoVideo plug-width
heightnumberYesNoVideo plug-height
langstringNoenLanguage type

(3)Setting the language video widget(effective when 'playerType = flash')  setLanguage(languagePath)

Param NameParam TypeWhether MustDefaultsDesc
languagePathstringNoChinese language pack: cn.xmllanguage package path
Relative path or absolute path.

(4)Set the video plug-in the number of windows  setWindowNum(windowNum)

Param NameParam TypeWhether MustDefaultsDesc
windowNumnumberYesNoThe number of windows (not more than 36)

(5)Set the video plug-in server  setServerInfo(ip, port)

Param NameParam TypeWhether MustDefaultsDesc
ipstringYesNoLogin server ip
portnumberYesNoLogin server port

Operation Example

(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;     } }

Init Video Plug(H5 and Flash)

Interface Desc And Error Code
Init Video Plug(H5 and Flash)
(1)The video player plug-in currently supports H5 and Flash (only IE uses Flash)
(2)File path description, download all the reference files below, and place them in the same folder according to the example path
  ├── player
  │  ├── swfobject-all.js
  │  ├── player.swf
  │  ├── swfobject.js
  │  ├── cn.xml
  │  ├── en.xml
  │  ├── js
  │  │  └── cmsv6player.min.js
(3)The introduction of jQuery and swfobject

(4)wasm file location
libcmsv6decode.wasm needs to be placed in the web root directory
(5)Prepare HTML code

(6)JavaScript Code
See Also:Reference JavaScript Code
(7)Default loading rules
IE browser currently only supports flash player, non-IE browser loads H5 player by default
Reference File
FileCaption
http://47.88.8.31/808gps/open/player/swfobject-all.jsVideo plug-in calls require JavaScript file
http://47.88.8.31/808gps/open/player/player.swfVideo plug-in files
http://47.88.8.31/808gps/open/player/swfobject.jsVideo plug-in calls require JavaScript file
http://47.88.8.31/808gps/open/player/cn.xmlVideo plug Chinese language pack
http://47.88.8.31/808gps/open/player/en.xmlVideo plug English language pack
http://47.88.8.31/808gps/open/player/js/cmsv6player.min.jsVideo plug-in calls require JavaScript file
http://47.88.8.31/libcmsv6decode.wasmVideo plug-in calls require JavaScript file
Call Method

(1)Video widget init method  ttxVideoAll.init(cmsv6flash, width, height, params, playerType)

Param NameParam TypeWhether MustDefaultsDesc
cmsv6flashstringYesNoPage HTML tag id
Usually cmsv6flash.
widthnumberYesNoVideo plug-width
heightnumberYesNoVideo plug-height
paramsobjectNoNoVideo plug-in init param
lang, and so on.
playerTypestringNoautoVideo 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 NameParam TypeWhether MustDefaultsDesc
playerTypestringNoautoflash、h5、auto

(3)Setting the language video widget(effective when 'playerType = flash')  setLanguage(languagePath)

Param NameParam TypeWhether MustDefaultsDesc
languagePathstringNoChinese language pack: cn.xmllanguage package path
Relative path or absolute path.

(4)Set the video plug-in the number of windows  setWindowNum(windowNum)

Param NameParam TypeWhether MustDefaultsDesc
windowNumnumberYesNoThe number of windows (not more than 36)

(5)Set the video plug-in server  setServerInfo(ip, port)

Operation Example

(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;    }}

Live Video(PC/mobile URL)

Interface Desc And Error Code
Live Video(PC/mobile URL)
Can be called directly links to view live video.
Reference File
No
Call Method

Url Param Desc  

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringNoNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
accountstringNoNoAccount
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.
passwordstringNoNoPassword
devIdnostringNoNoDevice No.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate Number
If the devIdno is empty, it is judged that the vehiIdno.
channelnumberNoNoThe number of channels to preview the video.
Maximum support 9 window Play.
streamnumberNo10 main stream, 1 sub stream
closenumberNoNoVideo preview time, Units sec.
langstringNozhLanguage Settings
en means English, otherwise Chinese.

Operation Example

(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


Live Video(PC/mobile JS)

Interface Desc And Error Code
Live Video(PC/mobile JS)
video live explain
Reference File

See Also:Init Video Plug(PC/mobile WEB)

Call Method

(1)Set the video window title  setVideoInfo(index, title)

Param NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)
titlestringNoNoWindow Title

(2)Play Video  startVideo(index, jsession, devIdno, channel, stream, true)

Param NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)
jsessionstringYesNoAfter user login returning jsession
devIdnostringYesNoDevice No.
channelnumberYesNoDevice Channel(starting from 0)
streamnumberYesNoVideo Stream
1 represents sub-stream, 0 represents main stream.

(3)Stop Video  stopVideo(index)

Param NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)

(4)Reset Video  reSetVideo(index)

Param NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)

(5)Set the minimum buffer time of video  setBufferTime(index, time)

Param NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)
timenumberYes2(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 NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)
timenumberYes6(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 NameParam TypeWhether MustDefaultsDesc
indexnumberYesNoWindow Index(starting from 0)
typestringYesNoEvent 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

Operation Example

(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"){  };}

Real Time Video (Mobile WEB HLS live address)

Interface Desc And Error Code
Real Time Video (Mobile WEB HLS live address)
video live explain
Reference File
No
Call Method

(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 NameParam TypeWhether MustDefaultsDesc
stream media IpstringYesNostream media Ip
streaming media client service portstringYesNostreaming media client service port
requestType_deviceNumber_channelNumber_bitstreamTypestringYesNorequest type(1 video)_equipment number_channel number_stream type (0 primary bit stream 1 bitstream)
example:1_10000_0_1
JSESSIONIDstringYesNoJsession

Operation Example

(1)Operation Example

Real Time Video (Mobile WEB HLS page)

Interface Desc And Error Code
Real Time Video (Mobile WEB HLS page)
Can be called directly links to view live video.
Reference File
No
Call Method

(1)Param Desc  

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringNoNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
accountstringNoNoAccount
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.
passwordstringNoNoPassword
devIdnostringNoNoDevice No.
If it is empty, it is determined that the vehiIdno.
vehiIdnostringNoNoPlate Number
If the devIdno is empty, it is judged that the vehiIdno.
channelnumberNoNoDevice Channel(starting from 0)
closenumberNoNoVideo preview time, Units sec.
langstringNozhLanguage Settings
en means English, otherwise Chinese.

Operation Example

(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

Monitor(PC/mobile JS)

Interface Desc And Error Code
Monitor(PC/mobile JS)

Reference File

See Also:Init Video Plug(PC/mobile WEB)

Call Method

(1)Start Listening  startListen(jsession, devIdno, channel)

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoAfter user login returning jsession
devIdnostringYesNoDevice No.
channelnumberYesNoDevice Channel(starting from 0)

(2)Stop Listening  stopListen()

Operation Example

(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();}

Talkback(PC/mobile JS)

Interface Desc And Error Code
Talkback(PC/mobile JS)
h5 player, https can talk directly; for http talk, you need to download and install the PCM audio collection tool. 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
JavaScript Code
See Also:Reference JavaScript Code
Reference File

See Also:Init Video Plug(PC/mobile WEB)

Call Method

(1)Start Talkback  startTalkback(jsession, devIdno, 0)

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoAfter user login returning jsession
devIdnostringYesNoDevice No.

(2)Stop Talkback  stopTalkback()

Operation Example

(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”);    } // ...... }

RealTime Video RTSP

Interface Desc And Error Code
RealTime Video RTSP

URL
rtsp://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1
Call Method

(1)URL Request Parameter Explain

Param NameParam TypeWhether MustDefaultsDesc
AVTypestringYesNo1 means real-time video, 2 means monitoring
jsessionstringYesNojsession
DevIDNOstringYesNoIndicates the device number
ChannelstringYesNoIndicates the channel number, starting from 0
StreamstringYesNo0 main stream, 1 sub stream

Operation Example

(1)Operation Example

rtsp://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1

RealTime Video RTMP(FLV)

Interface Desc And Error Code
RealTime Video RTMP(FLV)

URL
http://47.88.8.31:6604/3/3?AVType=1&jsession=CDF32EFB37E799293C2657BD804B1327&DevIDNO=60000004&Channel=0&Stream=1
Call Method

(1)URL Request Parameter Explain

Param NameParam TypeWhether MustDefaultsDesc
AVTypestringYesNo1 means real-time video, 2 means monitoring
jsessionstringYesNojsession
DevIDNOstringYesNoIndicates the device number
ChannelstringYesNoIndicates the channel number, starting from 0
StreamstringYesNo0 main stream, 1 sub stream

Operation Example

(1)Operation Example

http://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1

RealTime Video RTMP

Interface Desc And Error Code
RealTime Video RTMP

URL
rtmp://47.88.8.31:6604/3/3?AVType=1&jsession=CDF32EFB37E799293C2657BD804B1327&DevIDNO=60000004&Channel=0&Stream=1
Call Method

(1)URL Request Parameter Explain

Param NameParam TypeWhether MustDefaultsDesc
AVTypestringYesNo1 means real-time video, 2 means monitoring
jsessionstringYesNojsession
DevIDNOstringYesNoIndicates the device number
ChannelstringYesNoIndicates the channel number, starting from 0
StreamstringYesNo0 main stream, 1 sub stream

Operation Example

(1)Operation Example

rtmp://47.88.8.31:6604/3/3?AVType=1&jsession=12345678&DevIDNO=60000004&Channel=0&Stream=1

File related business

RealTime Video

Interface Desc And Error Code
RealTime Video
The vehicle must be online to operate
URL
http://47.88.8.31/StandardApiAction_realTimeVedio.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
ChnstringYesNoDevice 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.
SecnumberYesNoVideo length (range from 0 to 1800, 0 to stop)
LabelstringYesNoLabel
Request Example
http://47.88.8.31/StandardApiAction_realTimeVedio.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&DevIDNO=50000&Chn=1&Sec=300&Label=test
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

Download Video

Interface Desc And Error Code
Download Video
Notice:
(1)Download Type
a.Segment Download:Mainly on the device to download video files, saved on the server, and then download directly download to a local;
  Segmented download contains the full file download and segmented downloads.
  Full Download:The device manufacturers type of 16, 17, 20 and 22 support the direct download, if the video file contains multiple channels, you can only segment download.(When get GPS status get type of device manufacturers)
  Segment Download:All devices support Segment downloading.
b.Direct download:Mainly download video on the server, downloaded to the local.
URL

Segment Download

http://47.88.8.31/StandardApiAction_addDownloadTask.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Segment Download

Param NameParam TypeWhether MustDefaultsDesc
didstringYesNoDevice No.
fbtmstringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
fetmstringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
sbtmstringYesNoSource Files Start Time
setmstringYesNoSource Files End Time
labstringYesNoFile Tag
fphstringYesNoFile Path
vtpnumberYesNoRecord Type
0 means General, 1 means alarm.
lennumberYesNoFile Size
chnnumberYesNoChannel
dtpnumberYesNoDownload Type
1 means the whole file to download, 2 means segment downloaded.
Request Example

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=1
Operation Example

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

Remote Playback(PC/mobile)

Interface Desc And Error Code
Remote Playback(PC/mobile)
Notice:
(1)JavaScript Code
See Also:Reference JavaScript Code
Reference File

See Also:Init Video Plug(PC/mobile WEB)

Call Method

(1)Start Playback  startVod(url, index)

Param NameParam TypeWhether MustDefaultsDesc
urlstringYesNoQuery 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.
indexnumberYesNoWindow Index(starting from 0)

(2)Stop Playback  stopVideo(index);

Operation Example

(1)Operation Example

http://47.88.8.31/808gps/open/player/videoExample.html?lang=en
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

(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);}

Remote Playback HTML5(PC/mobile)

Interface Desc And Error Code
Remote Playback HTML5(PC/mobile)
Notice:
(1)JavaScript Code
See Also:Reference JavaScript Code
Reference File

See Also:Init Video Plug(PC/mobile WEB)

Call Method

(1)Start Playback  startVodM(url, channel)

Param NameParam TypeWhether MustDefaultsDesc
urlstring/arrayYesNoQuery 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);
channelstringYesNoSingle-channel playback: channel is ""
Multi-channel synchronous playback: channel, "0,1,2,3"
Multi-channel simultaneous playback: channel is ""

(2)Stop Playback  stopVideoM();

Operation Example

(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);

Img Capture

Interface Desc And Error Code
Img Capture
The vehicle must be online to operate
URL
http://47.88.8.31/StandardApiAction_capturePicture.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&Type=1
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
DevIDNOstringYesNoDevice No.
ChnstringYesNoDevice Channel(starting from 0)
0 means channel 1, and 1 means channel 2.
TypenumberYesNoPlease fill in the 1
Request Example
http://47.88.8.31/StandardApiAction_capturePicture.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&Type=1&DevIDNO=50000&Chn=1
Return Param Desc
Param NameParam TypeDesc
FPATHstringpicture path
FOFFSETstringdeviation
FLENGTHstringFile Size(Unit byte)
Correctly Returns Examples
{
  "result": 0,
  "cmsserver": 1,
  "FPATH": "\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile",
  "FOFFSET": "4258170",
  "FLENGTH": "608310"
}

Get snap photos

Interface Desc And Error Code
Get snap photos
URL
//47.88.8.31:6611/3/5?Type=3
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
TypenumberYesNoPlease fill in 3
FLENGTHnumberYesNoFile Size(Unit byte)
Snap back size
FOFFSETnumberYesNodeviation
Snap back offset
MTYPEnumberYesNoPlease fill in the 1
FPATHstringYesNopicture path
Snapshot return path
SAVENAMEstringYesNoAfter download the saved name
Request Example
//47.88.8.31:6611/3/5?Type=3&FLENGTH=608310&FOFFSET=4258170&FPATH=\gStorage\STOMEDIA\2017-10-23\20171023-171103.picfile&MTYPE=1&SAVENAME=downImage
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
 

Subsection Download Task

Interface Desc And Error Code
Subsection Download Task
URL
http://47.88.8.31/StandardApiAction_downloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
taskTagstringNoNoFile Tag
statusnumberNoNoDownloading Status
1 undownloaded, 2 downloads, 3 downloads failed, 4 downloaded
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_downloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&status=1&taskTag=123&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
didstringDevice No.
When the query a video on server, it means the license plate number.
errstringThe cause of failure when downloading fails
uidnumberUser ID, submitting and downloading the corresponding user ID, that is, the current jsession login user ID
chnnumberDevice Channel(starting from 0)
0 means channel 1, and 1 means channel 2.
dbtmnumberDownload Start TimeUnit: sec.
detmnumberDownload End TimeUnit: sec.
dphstringDownloading Path
svrnumberStorage Server Number
dtpnumber1 means the whole file to download, 2 means segment downloaded.
labstringFile Tag
sbtmnumberSource Files Start TimeUnit: sec.
setmnumberSource Files End TimeUnit: sec.
nfbtmnumberFile Start TimeUnit: sec.
nfetmnumberFile End TimeUnit: sec.
stunumberDownloading Status
vtpnumberVideo type 0 represents a routine, and 1 is an alarm.
fphstringFile Path
lennumberFile Size
ftpnumberFile type 1 picture file, 2 for video
ctmnumberTask generation timeUnit: sec.
fbtmnumberFile Start TimeUnit: sec.
fetmnumberFile End TimeUnit: sec.
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "id":"18",
      "len":9096588,
      "err":0,
      "did":50000,
      "uid":1,
      "chn":2,
      "lab":"1234",
      "stu":4,
      "ftp":2,
      "fph":"/Demo/demo/bin/record/upload/H20171109-103026P3A1P0.avi",
      "ctm":1510194626000,
      "fbtm":1510194656000,
      "fetm":1510194716000,
      "vtp":1,
      "dbtm":1510194628000,
      "detm":1510194630000,
      "dph":"gStorage/RECORD_FILE/2233/2017-11-09/2233_2-171109-103056-103156-20020300.grec",
      "svr":6,
      "dtp":2,
      "sbtm":1510194626000,
      "setm":1510194868000,
      "nfbtm":1510194656,
      "nfetm":1510194716
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Delete Device Download the subsection task

Interface Desc And Error Code
Delete Device Download the subsection task
URL
http://47.88.8.31/StandardApiAction_delDownloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
taskTagstringNoNoFile Tag
Request Example
http://47.88.8.31/StandardApiAction_delDownloadTasklist.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&taskTag=123
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

Insert\Video\Audio\Picture Record

Interface Desc And Error Code
Insert\Video\Audio\Picture Record
URL
http://47.88.8.31/StandardApiAction_addMediaInformation.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIDNOstringYesNoDevice No.
channelnumberYesNoChannel
mediaTypenumberYesNoMedia Types 0: Pictures, 1: Audio and Video, 2: Audio, 3: Video, 4: Text, 5: Other
fileTypenumberYesNo0-Ordinary 1-Alarm Trigger
filePathstringYesNoFile Path
fileOffsetnumberYesNoFile offset position
fileSizenumberYesNoFile Size
fileSTimestringYesNoFile Start Time
fileETimestringYesNoFile End Time
LabelstringYesNoLabel
svrIDNOstringYesNoStorage Server Number
Request Example
http://47.88.8.31/StandardApiAction_addMediaInformation.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&channel=2&mediaType=1&fileType=0&filePath=D:/gStorage/RECORD_FILE/60002/2019-09-02/H20190902-165958P3A1P0_1.mp4&fileOffset=1&fileSize=447888&fileSTime=2019-09-02 12:00:00&fileETime=2019-09-02 12:30:00&Label=60002F13BAD42F4877D04&svrIDNO=U1
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

FTP File Upload

Interface Desc And Error Code
FTP File Upload
URL
http://47.88.8.31/StandardApiAction_ftpUpload.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
When the query a video on server, it means the license plate number.
CHNnumberYesNoSearch Channel(starting from 0)
0 means channel 1, 1 means channel 2, -1 means all channel.
BEGYEARnumberYesNoStart Year
BEGMONnumberYesNoStart Month
BEGDAYnumberYesNoStart Date
BEGSECnumberYesNoStart Seconds(0-86339)
ENDYEARnumberYesNoEnd Year
ENDMONnumberYesNoEnd Month
ENDDAYnumberYesNoEnd Date
ENDSECnumberYesNoEnd Seconds(0-86339)
ARM1numberYesNoAlarm 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
ARM2numberYesNoAlarm 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
RESnumberYesNoMedia type 0: audio and video, 1: audio, 2: video, 3: video or audio and video
STREAMnumberYesNoStream type -1: master or sub stream, 0: master stream, 1: sub stream
STOREnumberYesNoThe main storage type 0: or 1: backup memory, main memory, 2: memory backup
NETMASKnumberYesNo1:WIFI,1 For WIFI Downloadable 2:LAN,2 For LAN Downloadable 4:3G/4G,4 For 3G/4G Downloadable Multiple Selection
jsessionstringYesNoJsession
Request Example
http://47.88.8.31/StandardApiAction_ftpUpload.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&DevIDNO=60002&CHN=1&BEGYEAR=2019&BEGMON=8&BEGDAY=12&BEGSEC=40407&ENDYEAR=2019&ENDMON=8&ENDDAY=12&ENDSEC=40423&ARM1=0&ARM2=0&RES=0&STREAM=0&STORE=0&NETMASK=7
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
SEQUENCEnumberTask Flow Number
Correctly Returns Examples
{
  "result": 0,"SEQUENCE":1,"cmsserver":1
}

FTP Task Status Query

Interface Desc And Error Code
FTP Task Status Query
URL
http://47.88.8.31/StandardApiAction_queryFtpStatus.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
seqnumberYesNoTask Flow Number
devIdnostringYesNoDevice No.
jsessionstringYesNoJsession
Request Example
http://47.88.8.31/StandardApiAction_queryFtpStatus.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=11111
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
statusnumberTask Status
0:Pause State
1:Downloading
2:Cancel
3:Fail
4:Success
downloadUrlstringDownload Link
playUrlstringPlay Link
Correctly Returns Examples
{
  "result": 0,
  "info":{
    "status":4,
    "downloadUrl":http://127.0.0.1:6611/3/5?DownType=3&DevIDNO=11111&FLENGTH=206580&FOFFSET=0&MTYPE=0&FPATH=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-160534-160554-20000700%2FCH7_0_0_0_0_200617-160534_200617-160554.avi&SAVENAME=CH7_0_0_0_0_200617-160534_200617-160554.avi&jsession=9325B71EFA12AF162B1232849F327391,
    "playUrl":http://127.0.0.1:6611/3/5?DownType=5&DevIDNO=11111&FILELOC=2&FILESVR=1&FILECHN=0&FILEBEG=0&FILEEND=0&PLAYIFRM=0&PLAYFILE=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-160534-160554-20000700%2FCH7_0_0_0_0_200617-160534_200617-160554.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0&jsession=9325B71EFA12AF162B1232849F327391
  }
}

FTP Task List Query

Interface Desc And Error Code
FTP Task List Query
URL
http://47.88.8.31/StandardApiAction_queryDownLoadReplayEx.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoStart Time
endtimestringYesNoEnd Time
statusstringNoNoTask Status
0:Pause State
1:Downloading
2:Cancel
3:Fail
4:Success
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
jsessionstringYesNoJsession
Request Example
http://47.88.8.31/StandardApiAction_queryDownLoadReplayEx.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=60002&status=1&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
vehiIDnumberVehicle ID
devIDNOstringDevice No.
sequencenumberTask Flow Number
chnMasknumberChannel
upLoadPathstringUpload Ftp Path
filePathstringFile Path
fileBegTimenumberFile Start Time
fileEndTimenumberFile End Time
arm1numberAlarm Identification 1
arm2numberAlarm Identification 2
alarmParamnumberAlarm Param
resourceTypenumberMedia type 0: audio and video, 1: audio, 2: video, 3: video or audio and video
streamTypenumberStream type -1: master or sub stream, 0: master stream, 1: sub stream
storeTypenumberThe main storage type 0: or 1: backup memory, main memory, 2: memory backup
networkMasknumber1:WIFI,1 For WIFI Downloadable 2:LAN,2 For LAN Downloadable 4:3G/4G,4 For 3G/4G Downloadable Multiple Selection
taskStatusnumberTask Status
0:Pause State
1:Downloading
2:Cancel
3:Fail
4:Success
uploadSpeednumberUpload Speed (BYTE/per second)
uploadProgressnumberUpload progress 0-100
estimateFileSizenumberEstimated File Size (BYTE)
userIDnumberUser Id
taskSTimenumberTask Generation Time
taskETimenumberMission End Time
downloadUrlstringDownload Link
playUrlstringPlay Link
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "vehiID":1,
      "devIDNO":018000032595,
      "sequence":1,
      "chnMask":3,
      "upLoadPath":null,
      "filePath":/GPS_FTP//RECORD_FILE/018000032595/2019-10-17/FA0-191017-000001-014220-20000400,
      "upLoadPath":/RECORD_FILE/018000032595/2019-10-17/FA0-191017-000001-014220-20000400,
      "fileBegTime":1571241601000,
      "fileEndTime":1571247740000,
      "arm1":0,
      "arm2":0,
      "alarmParam":0,
      "resourceType":0,
      "streamType":0,
      "storeType":1,
      "networkMask":7,
      "taskStatus":1,
      "userID":1,
      "taskSTime":1571281317000,
      "taskETime":null,
      "downloadUrl":http://127.0.0.1:6611/3/5?DownType=3&DevIDNO=11111&FLENGTH=206580&FOFFSET=0&MTYPE=0&FPATH=C%3A%2FGPS_FTP%2FRECORD_FILE%2F013168710077%2F2020-06-17%2FFA7-200617-160534-160554-20000700%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
    }
}

FTP Upload Control

Interface Desc And Error Code
FTP Upload Control
URL
http://47.88.8.31/StandardApiAction_controllDownLoad.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
seqnumberYesNoTask Flow Number
devIdnostringYesNoDevice No.
taskTypenumberYesNo0: Pause 1: Continue 2: Cancel
jsessionstringYesNoJsession
Request Example
http://47.88.8.31/StandardApiAction_controllDownLoad.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&seq=1&devIdno=10001&taskType=0
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
SEQUENCEnumberTask Flow Number
Correctly Returns Examples
{
  "result": 0,"SEQUENCE":1,"cmsserver":1
}

Active Safety Business

Security Alarm Inquiry

Interface Desc And Error Code
Security Alarm Inquiry
Notice:
(1)Interface ReferenceGet Device Alarm(Page)
(2)Alarm Type Parameter Uses The Alarm Type Of The Alarm Accessory
URL
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
Request Example
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Security Evidence Inquiry

Interface Desc And Error Code
Security Evidence Inquiry
URL
http://47.88.8.31/StandardApiAction_performanceReportPhotoListSafe.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringYesNoPlate Number
It may be more than one, in order to ',' separation.
Chinese reference, format reference
begintimestringYesNoStart Time
endtimestringYesNoEnd Time
Start time is not greater than the end time
alarmTypestringYesNoAlarm Type
In ',' split, Can't be empty.
mediaTypenumberNoNoMultimedia Type
0 Means Picture, 1 Means Video
toMapnumberNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_performanceReportPhotoListSafe.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&begintime=2018-11-29 00:00:00&endtime=2018-11-30 00:00:00&alarmType=605&mediaType=0&toMap=2&vehiIdno=30009¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
mediaTypenumberMultimedia Type
0 Means Picture, 1 Means Video
statusnumberVideo status 0- is videotaping 1- video to complete the abnormal end of 2-
fileETimestringVideo File Start Time
fileSTimestringVideo File End Time
channelnumberChannel
positionstringPosition
devIdnostringDevice No.
vehiIdnostringPlate Number
jingDunumberLng
weiDunumberLat
fileSizenumberFile Size
alarmTypestringAlarm Type
fileUrlstringFile Path
videoFilestringRemote playback url
fileTimenumberFile Start Time
fileOffsetnumberFile offset position
alarmParamnumberAlarm Param
labelstringguid
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "mediaType":0,
      "status":null,
      "fileETime":null,
      "fileSTime":null,
      "id":null,
      "fileName":null,
      "channel":3,
      "updateTime":1543560950000,
      "position":"",
      "devIdno":"123456",
      "vehiIdno":"测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
    }
}

Evidence Query

Interface Desc And Error Code
Evidence Query
URL
http://47.88.8.31/StandardApiAction_alarmEvidence.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
alarmTypestringNoNoAlarm Type
guidstringNoNoAlarm Unique Number
toMapnumberYesNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
md5numberNo0File md5, 0 does not return 1 returns
Request Example
http://47.88.8.31/StandardApiAction_alarmEvidence.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=633&begintime=2018-09-19 11:56:37&toMap=2
Return Param Desc

a. Base Info infos

Param NameParam TypeDesc
vnstringPlate Number
plnumberVehicle_plate
cnstringDevice Channel
0 means channel 1, and 1 means channel 2.
spnumberSpeed
Unit: km/h, you must first use divided by 10.
dtnumberAlarm Start Time (UTC) in seconds
lcstringGeographical Position
tpstringAlarm Type
jdnumberLng
If the device location is invalid, the value of 0.
For example: 113231258, the true value is 113.231258
wdnumberLat
If the device location is invalid, the value of 0.
For example: 39231258, the true value is 39.231258
dnstringDriver Name
dcstringDriver Lisence
dpstringDriver Phone
phstringDriver Image
phmd5stringDriver Image Md5
dmstringDriver's Work Number

b. Media Info images/vedios

Param NameParam TypeDesc
didstringDevice No.
When the query a video on server, it means the license plate number.
flstringFile Path
flmd5stringFile md5
fslstringFile Stream Path
dslstringDownloading Path,User Required Parameters:jsession(Required)SAVENAME(Required)
stnumberServer Number
fonumberFile offset position
fsnumberFile Size
ftnumberFile Type
0-image 1 Audio and video- 2-Audio 3-video 4-Text 5-other
fbnumberFile Start Time
fenumberFile End Time
Correctly Returns Examples
{
  "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
    }
}
Evidence Download

(1)URL

http://47.88.8.31/StandardApiAction_zipAlarmEvidence.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&guid=EB9B109898F74ADCB1B4446B9FFD2&alarmType=600&begintime=2017-11-10 12:00:00&toMap=2

(2)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
alarmTypestringNoNoAlarm Type
guidstringNoNoAlarm Unique Number
toMapnumberYesNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates

Video 1078 Business

User media traffic query

Interface Desc And Error Code
User media traffic query
URL
http://47.88.8.31/StandardApiAction_userMediaRateOfFlow.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
userIdsstringYesNoQuery the user ID (multiple users ID use English, partition)
typestringNoNoUser 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)
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_userMediaRateOfFlow.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&userIds=1,2,3&type=1,3&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
namestringUser name
devIdnostringEquipment number
subTypenumberUser 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)
totalTimenumberLength of time (second)
startTimenumberStart Time(millisecond)
endTimenumberEnd Time(millisecond)
flowUsedstringTraffic use information
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "name":"admin",
      "id":null,
      "type":null,
      "count":null,
      "startTime":1510285460000,
      "endTime":1510285482000,
      "vehiIdno":null,
      "devIdno":"22222",
      "companyName":"admin",
      "plateType":null,
      "vehiId":null,
      "param1":1,
      "param2":1,
      "param3":"",
      "param4":"",
      "userId":null,
      "ip":"127.0.0.1:61345",
      "account":"admin",
      "mainType":3,
      "subType":1,
      "totalTime":22,
      "flowUsed":1.56253
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Resource Catalog Summary

Interface Desc And Error Code
Resource Catalog Summary
URL
http://47.88.8.31/StandardApiAction_catalogSummaryApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
alarmSourceTypestringNoNoAlarm source 0 equipment 1 Platform
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_catalogSummaryApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&alarmSourceType=0,1&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
vnstringEquipment number
srnumberAlarm source 0 equipment 1 Platform
fsnumberFile Size(bytes)
fsnumberFile Lengthsecond
sumnumberNumber Of Documents
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0
}

Resource Catalog Detail

Interface Desc And Error Code
Resource Catalog Detail
URL
http://47.88.8.31/StandardApiAction_catalogDetailApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
alarmSourceTypestringNoNoAlarm source 0 equipment 1 Platform
mediatypestringNoNoMedia type 0: audio and video, 1: audio, 2: video, 3: video or audio and video
storetypestringNoNoThe main storage type 0: or 1: backup memory, main memory, 2: memory backup
bittypestringNoNoStream type -1: master or sub stream, 0: master stream, 1: sub stream
arlamtypestringNoNoAlarm 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
arlamtype2stringNoNoAlarm 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
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_catalogDetailApi.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&bittype=&alarmSourceType=0,1&mediatype=&storetype=&arlamtype=&arlamtype2=&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
vnstringEquipment number
cnstringDevice Channel
0 means channel 1, and 1 means channel 2.
srnumberAlarm source 0 equipment 1 Platform
stnumberStart Time
etnumberEnd Time
plnumberStorage location
a1numberAlarm 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
a2numberAlarm 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
btnumberStream type -1: master or sub stream, 0: master stream, 1: sub stream
tpnumberMedia type 0: audio and video, 1: audio, 2: video, 3: video or audio and video
ftnumberFile Length
fsnumberFile Size
sjdnumberAlarm Start Lng
swdnumberAlarm Start Lat
ejdnumberAlarm End Lng
ewdnumberAlarm End Lat
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "name":"admin",
      "id":null,
      "type":null,
      "count":null,
      "startTime":1510285460000,
      "endTime":1510285482000,
      "vehiIdno":null,
      "devIdno":"22222",
      "companyName":"admin",
      "plateType":null,
      "vehiId":null,
      "param1":1,
      "param2":1,
      "param3":"",
      "param4":"",
      "userId":null,
      "ip":"127.0.0.1:61345",
      "account":"admin",
      "mainType":3,
      "subType":1,
      "totalTime":22,
      "flowUsed":1.56253
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Picture Query

Interface Desc And Error Code
Picture Query
URL
http://47.88.8.31/StandardApiAction_queryPhoto.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
filetypenumberNoNo0- common 1- alarm trigger
alarmTypenumberNoNoAlarm Type
Details See also:Alarm Type Desc
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_queryPhoto.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&filetype=2&alarmType=67&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
devIdnostringEquipment number
channelnumber0 means channel 1, and 1 means channel 2.
fileTypenumber0- common 1- alarm trigger
filePathstringFile Path
fileSizenumberFile Size(bytes)
svrIdnumberServer Number
alarmTypenumberAlarm Type
alarmParamnumberAlarm Param
updateTimestringUpdate time
encodenumberEncoding format 0-JPEG 1-TIF
fileOffsetnumberFile offset position
fileTimenumberFile Time(millisecond)
gpsstatusnumberGPS state information
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "devIdno":"50000",
      "channel":1,
      "fileType":0,
      "filePath":"/gStorage/STOMEDIA/2017-11-02/20171102-105922.picfile",
      "fileSize":608310,
      "svrId":6,
      "alarmType":67,
      "alarmParam":0,
      "updateTime":"2017-11-02",
      "encode":0,
      "fileOffset":0,
      "fileTime":1509591562000,
      "gpsstatus":null
    }
  ],
  "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
    }
}

Audio And Aideo Auery

Interface Desc And Error Code
Audio And Aideo Auery
URL
http://47.88.8.31/StandardApiAction_queryAudioOrVideo.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
begintimestringYesNoFile Start Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
endtimestringYesNoFile End Time
Greater than or equal to the source file start time, Less than or equal to the source file end time.
alarmTypestringNoNoAlarm Type
Details See also:Alarm Type Desc
typenumberNoNo1- audio and video 2- audio 3- video
filetypenumberNoNoFile Type 0-ordinary 1-Alarm trigger
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_queryAudioOrVideo.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&type=1&filetype=2&alarmType=67&begintime=2017-11-10 12:00:00&endtime=2017-11-11 12:00:00¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
devIdnostringEquipment number
channelnumber0 means channel 1, and 1 means channel 2.
fileTypenumber0- common 1- alarm trigger
filePathstringFile Path
fileSizenumberFile Size(bytes)
svrIdnumberServer Number
alarmTypenumberAlarm Type
alarmParamnumberAlarm Param
updateTimestringUpdate time
mediaTypenumberType 1- audio and video 2- audio 3- video
fileSTimenumberFile Start Time(millisecond)
fileETimenumberFile End Time(millisecond)
statusnumberVideo status 0- is videotaping 1- video to complete the abnormal end of 2-
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "devIdno":"50000",
      "channel":3,
      "fileType":1,
      "filePath":"/gStorage/RECORD_FILE/2233/2017-11-09/2233_2-171109-103056-103156-20020300.grec",
      "fileSize":9096588,
      "svrId":6,
      "alarmType":67,
      "alarmParam":0,
      "updateTime":"2017-11-09",
      "mediaType":1,
      "fileSTime":1510194656000,
      "fileETime":1510194716000,
      "status":1
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Rule related business

New Linkage Alarm

Interface Desc And Error Code
New Linkage Alarm
URL
http://47.88.8.31/StandardApiAction_mergeRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
namestringYesNoRule name
Chinese reference, format reference
begintimestringYesNoFile Start Time(12:30:30)
endtimestringYesNoFile End Time(14:30:30)
alarmTypestringYesNoAlarm Type
Details See also:Alarm Type Desc
typenumberYesNoFixed transmission 13
paramstringYesNoThe 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
textstringNoNoHint information
Chinese reference, format reference
Request Example
http://47.88.8.31/StandardApiAction_mergeRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&name=12345&type=13&text=text¶m=1,11000000,0,00000000,111111000000,32132@@312&alarmType=67&begintime=12:00:00&endtime=14:00:00
Return Param Desc
Param NameParam TypeDesc
rule_idnumberRule ID
Correctly Returns Examples
{
  "result": 0,
  "rule_id":1
}

Inquiry Linkage Alarm

Interface Desc And Error Code
Inquiry Linkage Alarm
URL
http://47.88.8.31/StandardApiAction_loadRules.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
namestringYesNoRule name
Chinese reference, format reference
armTypestringNoNoAlarm Type
Details See also:Alarm Type Desc
ruleTypenumberYesNoFixed transmission 13
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_loadRules.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=13&name=12351&alarmType=67¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
idnumberRule ID
namestringRule name
typenumberRule type 13- alarm linkage rules
beginTimenumberStart TimeUnit: sec.
endTimenumberEnd TimeUnit: sec.
armTypenumberAlarm Type
textstringHint information
paramstringThe 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
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "id":"1",
      "type":13,
      "name":"12351",
      "endTime":44430,
      "text":"text",
      "armType":67,
      "param":"1,11000000,0,00000000,,",
      "beginTime":37230
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Edit Linkage Alarm

Interface Desc And Error Code
Edit Linkage Alarm
URL
http://47.88.8.31/StandardApiAction_editRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
idnumberYesNoRule ID
namestringYesNoRule name
Chinese reference, format reference
begintimestringYesNoFile Start Time(12:30:30)
endtimestringYesNoFile End Time(14:30:30)
paramstringYesNoThe 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
textstringNoNoHint information
Chinese reference, format reference
Request Example
http://47.88.8.31/StandardApiAction_editRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1&name=12345&text=text¶m=1,11000000,0,00000000,111111000000,32132@@312&begintime=12:00:00&endtime=14:00:00
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Delete Linkage Alarm

Interface Desc And Error Code
Delete Linkage Alarm
URL
http://47.88.8.31/StandardApiAction_delRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
idnumberYesNoRule ID
Request Example
http://47.88.8.31/StandardApiAction_delRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Device Rule Equipment Association

Interface Desc And Error Code
Device Rule Equipment Association
URL
http://47.88.8.31/StandardApiAction_devRulePermit.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
ruleIdnumberYesNoRule ID
devIdnostringYesNoThe device number does not allocate the rule (the Jian Yixian execution - query rule device Association - avoid the abnormality of the repeating distribution) multiple use, segmentation
Request Example
http://47.88.8.31/StandardApiAction_devRulePermit.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&devIdno=50000&&ruleId=1
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Query Rule Device Association

Interface Desc And Error Code
Query Rule Device Association
URL
http://47.88.8.31/StandardApiAction_loadDevRuleByRuleId.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
ruleIdnumberYesNoRule ID
Request Example
http://47.88.8.31/StandardApiAction_loadDevRuleByRuleId.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleId=1¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
idnumberRegular device association ID (Jian Yixian execution - query rule and device Association - get corresponding ID), multiple comma segmentation
devIdnostringEquipment number
ruleIdnumberRule ID
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "id":"1",
      "devIdno":50000,
      "ruleId":1
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Delete Regular Device Association

Interface Desc And Error Code
Delete Regular Device Association
URL
http://47.88.8.31/StandardApiAction_delDevRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
idnumberNoNoRegular device association ID (Jian Yixian execution - query rule and device Association - get corresponding ID), multiple comma segmentation
devIdnostringNoNoDevice No.
ruleIdnumberNoNoRule ID
Request Example
http://47.88.8.31/StandardApiAction_delDevRule.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&id=1&ruleId=1&devIdno=50000
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Query Rules Based On Rule Type

Interface Desc And Error Code
Query Rules Based On Rule Type
URL
http://47.88.8.31/StandardApiAction_queryRuleList.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
ruleTypenumberYesNoRule Type
Request Example
http://47.88.8.31/StandardApiAction_queryRuleList.action?jsession=649b7687-6792-41a2-b9be-7806f2a0d3fa&ruleType=7¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
namestringRule name
idnumberRule ID
typenumberRule Type
utmnumberUpdate time
expandstringExtended parameter, when the rule type is 7, the parameter is the offset width
cNamestringCompany Name
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "id":1,
      "name":"11",
      "type":7,
      "utm":1631524160000,
      "expand":50,
      "cName":"Company"
    }
  ],
  "pagination":
    {
      "totalPages": 1
      "directQuery": false
      "hasNextPage": false
      "hasPreviousPage": false
      "nextPage": 1
      "previousPage": 1
      "currentPage": 1
      "pageRecords": 10
      "totalRecords": 1
      "startRecord": 0
      "sortParams": null
      "endRecord": 0
    }
}

Control Business

Vehicle Control

Interface Desc And Error Code
Vehicle Control
Notice:
(1)The vehicle must be online to operate
URL

(1)GPS Reporting Interval

http://47.88.8.31/StandardApiAction_vehicleControlGPSReport.action?

(2)Other Vehicle Control

http://47.88.8.31/StandardApiAction_vehicleControlOthers.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

a.GPS Reporting Interval

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
TimenumberYesNoInterval Time
Unit second, 0-3600, 0 means did not upload the GPS.

b.Other Vehicle Control

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
CtrlTypenumberYesNoControl 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
UsrstringYesNoAccount
PwdstringYesNoPassword
Md5 encrypted password is required.
Request Example

(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&
CtrlType=1&Usr=admin&Pwd=21232f297a57a5a743894a0e4a801fc3
Return Param Desc

a.GPS Reporting Interval

Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.

b.Other Vehicle Control

Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

TTS

Interface Desc And Error Code
TTS
Notice:
(1)The vehicle must be online to operate
URL
http://47.88.8.31/StandardApiAction_vehicleTTS.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
TextstringYesNoTTS Text
Length can not exceed 240 characters.
Chinese reference, format reference
FlagnumberNo4TTS 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
Request Example
http://47.88.8.31/StandardApiAction_vehicleTTS.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Text=rrrrrvvv&Flag=4
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

PTZ control

Interface Desc And Error Code
PTZ control
Notice:
(1)The vehicle must be online to operate
URL
http://47.88.8.31/StandardApiAction_sendPTZControl.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
DevIDNOstringYesNoDevice No.
ChnnumberYesNoDevice Channel(starting from 0)
0 means channel 1, and 1 means channel 2.
CommandnumberYesNoControl 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
SpeednumberYesNoSpeed, when moving in the direction, the speed is valid, range 0-255
ParamnumberYesNoWhen the preset bit is operated, the Param is valid, indicating the ordinal number of the preset bits (21 calls; 22 settings; and 23 deletion)
Request Example
http://47.88.8.31/StandardApiAction_sendPTZControl.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&DevIDNO=500000&Chn=1&Command=1&Speed=1&Param=1
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

Get Device Info

Interface Desc And Error Code
Get Device Info
URL
http://47.88.8.31/StandardApiAction_getLoadDeviceInfo.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
devIdnostringYesNoDevice No.
jsessionstringYesNoJsession
Request Example
http://47.88.8.31/StandardApiAction_getLoadDeviceInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=500000
Return Param Desc
Param NameParam TypeDesc
VersionstringVersion Number
WLanActivenumberWireless Module (1: active)
WLanTypenumberWireless Module Type(0:2G, 1:3G-EVDO, 2:3G-WCDMA, 3:TD-WCDMA, 4:TD-WCDMA, 5:TD-WCDMA )
WLanAddrstringWireless Network Address
WifiActivenumberwifi Module (1: active)
WifiAddrstringWifi Network Address
WifiAPstringWifi Name(cVersion > 0)
ChanNumnumberNumber of channels (channel index 0, corresponding to CH1)
RecordnumberRecording status (bit corresponding to channel index, 1 means valid)
VideoLostnumberVideo loss status (bit corresponding to channel index, 1 means lost)
DiskNumnumberNumber of hard drives
DiskInfonumberHard drive information
AllVolumenumberAll capacity
Unit: G, please divide by 100 before use.
LeftVolumenumberRemaining capacity
Unit: G, divide by 100 before use.
Correctly Returns Examples
{
  "result": 0,
  "devstaus":
    [{
      "ChanNum":4,
      "DevIDNO":"50000",
      "DevType":1,
      "DiskNum":1,
      "IMEI":"123456",
      "NetworkType":1,
      "Record":15,
      "Version":"V2.0.0.2 20110311",
      "VideoLost":0,
      "VideoTran":2,
      "WLanActive":1,
      "WLanAddr":"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",
      ]}
    }]
}

Device Management

Add Device

Interface Desc And Error Code
Add Device
URL
http://47.88.8.31/StandardApiAction_addDevice.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
protocolstringNoNoThe 1: standard (2011) standard 2: (Compass) 3: standard 1078 (video)
devTypestringYesNoDevice type
7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals
companyNamestringYesNoCompany Name
If it doesn't exsist,it will be added.
Chinese reference, format reference
accountstringNoNoMain Account
factoryTypenumberYesNoManufacturer type
0 unknown, 17 GM, 20 HD
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
channelNumnumberNoNoNumber of Channels
Request Example
http://47.88.8.31/StandardApiAction_addDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&protocol=1&devType=1&factoryType=0&companyName=9999&account=9999&channelNum=2
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Modification of Equipment

Interface Desc And Error Code
Modification of Equipment
URL
http://47.88.8.31/StandardApiAction_editDevice.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
devTypestringNoNoDevice type
7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals
protocolstringNoNoThe 1: standard (2011) standard 2: (Compass) 3: standard 1078 (video)
audioCodecstringNoNo0: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
factoryTypenumberNoNoManufacturer type
0 unknown, 17 GM, 20 HD
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
channelNumnumberNoNoNumber of Channels
Request Example
http://47.88.8.31/StandardApiAction_editDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=9999&devType=1&factoryType=0&protocol=1&audioCodec=1&channelNum=2
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Add Vehicle

Interface Desc And Error Code
Add Vehicle
URL
http://47.88.8.31/StandardApiAction_addVehicle.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringYesNoPlate Number
Perform the modification operation if it exists
Chinese reference, format reference
devIdnostringYesNoDevice No.
If it doesn't exsist,it will be added.
devTypestringYesNoDevice type
7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals
companyNamestringYesNoCompany Name
If it doesn't exsist,it will be added.
Chinese reference, format reference
accountstringYesNoMain Account
factoryTypenumberYesNoManufacturer type
0 unknown, 17 GM, 20 HD
21 FZE, 23 HB, 24 BSJ
26 HK ,28 YX,29 RM
namestringNoNo11 PTT terminal is valid, the default value is vehiIdno field.
Chinese reference, format reference
fleetNamestringNoNoFleet
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
simCardstringNoNoSIM Card
If it doesn't exsist,it will be added.
Request Example
http://47.88.8.31/StandardApiAction_addVehicle.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&devIdno=1111&devType=1&factoryType=0&companyName=9999&account=9999
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Delete Device

Interface Desc And Error Code
Delete Device
URL
http://47.88.8.31/StandardApiAction_deleteDevice.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No. If the device has been used by vehicle,then it will fail to delete the device.
Request Example
http://47.88.8.31/StandardApiAction_deleteDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=7777
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Delete Vehicle

Interface Desc And Error Code
Delete Vehicle
URL
http://47.88.8.31/StandardApiAction_deleteVehicle.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringYesNoPlate Number
Chinese reference, format reference
delDevicestringYesNoDelete the device of the vehicle or not. 1 means deleting the device,otherwise don't delete.
Request Example
http://47.88.8.31/StandardApiAction_deleteVehicle.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&delDevice=1
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Installation equipment

Interface Desc And Error Code
Installation equipment
URL
http://47.88.8.31/StandardApiAction_installVehicle.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringYesNoPlate Number
Chinese reference, format reference
devIdnostringYesNoDevice No.
devTypestringNoNoDevice type(Change device type)
7 indicates video equipment, 5 indicates GPS equipment, 11 PTT terminals
Request Example
http://47.88.8.31/StandardApiAction_installVehicle.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&devIdno=1
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Uninstall device

Interface Desc And Error Code
Uninstall device
URL
http://47.88.8.31/StandardApiAction_uninstallDevice.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringYesNoPlate Number
Chinese reference, format reference
devIdnostringYesNoDevice No.
Request Example
http://47.88.8.31/StandardApiAction_uninstallDevice.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&vehiIdno=7777&devIdno=1
Return Param Desc
Param NameParam TypeDesc



Correctly Returns Examples
{
  "result": 0
}

Flow Related Business

Get Flow Information

Interface Desc And Error Code
Get Flow Information
URL
http://47.88.8.31/StandardApiAction_getFlowInfo.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
Request Example
http://47.88.8.31/StandardApiAction_getFlowInfo.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=50000
Return Param Desc

a. Traffic configuration information fconfig

Param NameParam TypeDesc
idnumberid
didstringDevice No.
When the query a video on server, it means the license plate number.
nfltnumberMonthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit
nofcnumberTraffic statistics switch 0- closes and 1- opens
nodfrnumberDaily traffic reminding 0- not to remind 1- reminding
nomfrnumberMonthly traffic reminder 0- does not remind 1- reminding
fdlnumberDaily flow limit (MB)
fmlnumberMonthly flow limit (MB)
ndrnumberA daily flow reminder (percentage), 20% or 20
nmrnumberMonthly flow reminder (percentage), 20% or 20
nmtdnumberMonthly knot day

b. Traffic use information fuse

Param NameParam TypeDesc
idnumberid
didstringDevice No.
When the query a video on server, it means the license plate number.
cdunumberDay use flow
cdvunumberVideo usage traffic on the day
cdgunumberGPS usage traffic on the day
cdounumberOther business usage traffic on the day
cmunumberTraffic flow in the month
cmvunumberVideo usage traffic in the month
cmgunumberGPS traffic in the month
cmounumberOther business use traffic in the month
uptmnumberUpdate time
Correctly Returns Examples
{
  "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
    }
}

Save Flow Configuration

Interface Desc And Error Code
Save Flow Configuration
URL
http://47.88.8.31/StandardApiAction_saveFlowConfig.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
monitorOpennumberYesNoTraffic statistics switch 0- closes and 1- opens
settlementDaynumberNoNoMonthly knot day
monthLimitnumberNoNoMonthly flow limit (MB)
monthRemindOpennumberNoNoMonthly traffic reminder 0- does not remind 1- reminding
monthRemindnumberNoNoMonthly flow reminder (percentage), 20% or 20
dayLimitnumberNoNoDaily flow limit (MB)
dayRemindOpennumberNoNoDaily traffic reminding 0- not to remind 1- reminding
dayRemindnumberNoNoA daily flow reminder (percentage), 20% or 20
overLimitOpennumberNoNoMonthly flow exceeding limit: 0 overlooked after exceeding the limit, 1 disable media service after exceeding the limit
Request Example
http://47.88.8.31/StandardApiAction_saveFlowConfig.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&devIdno=1&monitorOpen=1&settlementDay=20&monthLimit=1200&dayLimit=500&dayRemindOpen=1&dayRemind=50&monthRemindOpen=1&monthRemind=30&overLimitOpen=1
Return Param Desc
Param NameParam TypeDesc
Correctly Returns Examples
{
  "result": 0
}

Area Information

User Area Information

Interface Desc And Error Code
User Area Information
URL
http://47.88.8.31/StandardApiAction_getUserMarkers.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
Request Example
http://47.88.8.31/StandardApiAction_getUserMarkers.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109
Return Param Desc
Param NameParam TypeDesc
inumberArea ID
nstringArea Name
clstringColor
mnumberArea Type 1:point 2:rectangle 3:polygon 4:Route 10:circle
rnumberRadius
snumberArea Sharing 0:Do not share 1:packet sharing 2:all share
cnumberCreate Area User ID
unumberCompany ID
mtnumberMap Type 0:Google 3:Baidu 4:Gaode
tpnumberGeographic 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
jstringLng
wstringLat
Correctly Returns Examples
{
  "result": 0,
  "infos":[
    {
      "p": 0,
      "t": 0,
      "s": 0,
      "c": 1,
      "i": 110038,
      "n": "test,"
      "cl": "FF0000"
      "a": ,
      "m": 1,
      "r": 111,
      "j": 113.829487,
      "w": 22.652397,
      "mt": 4,
      "tp": 7
    }
  ]
}

Organization Management

New Organization

Interface Desc And Error Code
New Organization
URL
http://47.88.8.31/StandardApiAction_mergeCompany.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
namestringYesNoOrganization Name
accountstringNew RequiredNoOrganization master account
parentIdnumberNew RequiredNoSuperior organization id (default 0)
encryptPwdstringNoNoAccount password (MD5 encryption)
passwordstringNoNoClear text password [Priority use encryptPwd, if both encryptPwd and password are empty, default 000000]
idnumberNoNoOrganization 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]
isEabnleValiditynumberNoNoWhether to enable the validity period 0 not enabled 1 enabled
validitystringNoNoValidity period yyyy-MM-dd HH:mm:ss
organizationCodestringNoNoRoad transport permit
Request Example
http://47.88.8.31/StandardApiAction_mergeCompany.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&name=test&parentId=0&account=test&password=000000&type=1&group=0
Return Param Desc
Param NameParam TypeDesc
resultnumber0
idnumberOrganization id
Correctly Returns Examples
{
  "result": 0
}

Find Organization

Interface Desc And Error Code
Find Organization
URL
http://47.88.8.31/StandardApiAction_findCompany.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberNoNoOrganization id
namestringNoNoOrganization Name
Request Example
http://47.88.8.31/StandardApiAction_findCompany.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
namestringOrganization Name
idnumberOrganization id
levelnumberOrganization type: 1-Company, 12-Department
accountIDnumberOrganization master account Id
parentIdnumberSuperior organization id (default 0)
Correctly Returns Examples
{
  "result": 0,
  "company":
    {
      "id":2,
      "name":"test",
      "level":1,
      "parentId":0,
      "companyId":0
    }
}

Delete Organization

Interface Desc And Error Code
Delete Organization
URL
http://47.88.8.31/StandardApiAction_deleteCompany.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoOrganization id
namestringNoNoOrganization Name
Request Example
http://47.88.8.31/StandardApiAction_deleteCompany.action?jsession=83751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
resultnumber0
Correctly Returns Examples
{
  "result": 0
}

Role Management

New Role

Interface Desc And Error Code
New Role
URL
http://47.88.8.31/StandardApiAction_mergeUserRole.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
namestringYesNoRole Name
privilegestringYesNoRole PermissionsPermission Type
cidnumberYesNoOrganization Id
idnumberNoNoRole 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]
Request Example
http://47.88.8.31/StandardApiAction_mergeUserRole.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&name=role1&cid=1&privilege=611,613
Return Param Desc
Param NameParam TypeDesc
resultnumber0
idnumberRole Id
Correctly Returns Examples
{
  "result": 0
}

Find Role

Interface Desc And Error Code
Find Role
URL
http://47.88.8.31/StandardApiAction_findUserRole.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
namestringNoNoRole Name
idnumberNoNoRole Id
Request Example
http://47.88.8.31/StandardApiAction_findUserRole.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
namestringRole Name
idnumberRole Id
privilegestringRole Permissions
companyobjectThe organization to which the role belongs, parsing the reference company query
Correctly Returns Examples
{
  "result": 0,
  "role":
    [{
      "id":1,
      "name":"role1",
      "privilege":"613,24",
      "company":{
        "id":2,
        "name":"test",
        "level":1,
        "parentId":0,
        "companyId":0,
      }
    }]
}

Delete Role

Interface Desc And Error Code
Delete Role
URL
http://47.88.8.31/StandardApiAction_deleteUserRole.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoRole Id
Request Example
http://47.88.8.31/StandardApiAction_deleteUserRole.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
resultnumber0
Correctly Returns Examples
{
  "result": 0
}

User Management

New User

Interface Desc And Error Code
New User
URL
http://47.88.8.31/StandardApiAction_mergeUserAccount.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
accountstringYesNoUser Account
roleIdstringYesNoRole permission Id (multiple use English, split)
cidnumberYesNoOrganization Id
encryptPwdnumberNoNoAccount password (MD5 encryption)
passwordnumberNoNoClear text password [Priority use encryptPwd, if both encryptPwd and password are empty, default 000000]
namestringNoNoUser name (default account name)
statusnumberNoNoundefined
modifyPasswordnumberNoNoWhether to prohibit the modification of the password 0-No 1-Yes; Default 0
dispatchernumberNoNoUser Type: 0-Normal User 1-Scheduled User; Default 0
singleLoginnumberNoNoSingle sign-on: 0-no 1-yes; default 0
levelnumberNoNoUser level: 0-4 [corresponding to I-V]; default 0
validitystringNoNoAccount validity period [Format: 2019-04-02]
idstringNoNoUsed when modifying user information. If the id does not query the user, add a new operation. [Recommended to read first, then modify]
Request Example
http://47.88.8.31/StandardApiAction_mergeUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&account=test1&cid=1&roleId=1&password=000000
Return Param Desc
Param NameParam TypeDesc
resultnumber0
idnumberUser Id
Correctly Returns Examples
{
  "result": 0
}

Find User

Interface Desc And Error Code
Find User
URL
http://47.88.8.31/StandardApiAction_findUserAccount.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
namestringNoNoUser name (default account name)
idnumberNoNoUser Id
Request Example
http://47.88.8.31/StandardApiAction_findUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
userobjectUser Info
user.idnumberUser Id
user.actnumberUser Account
user.nmnumberUser name (default account name)
user.isSingleLoginnumberSingle sign-on: 0-no 1-yes; default 0
user.stunumberundefined
user.vldnumberAccount validity period [Format: 2019-04-02](millisecond)
user.atnumberWhether the main account is 0-no, 1- is
user.cpsnumberWhether to prohibit the modification of the password 0-No 1-Yes; Default 0
user.lvnumberUser level: 0-4 [corresponding to I-V]; default 0
user.disnumberUser Type: 0-Normal User 1-Scheduled User; Default 0
user.ridstringRole Id
user.rnmnumberRole Name,Multiple corresponding to the role id order
user.pidnumberOrganization Id
user.pnmnumberOrganization Name
companyobjectThat is, the current jsession login user belongs to the organization, parsing the reference company query
Correctly Returns Examples
{
  "result": 0,
  "user":
    {
      "id":1,
      "lv":0,
      "dis":0
      "vld":null,
      "isSingleLogin":0,
      "cps":0
      "rid":1,
      "rnm":"role",
      "pid":1
      "pnm":"company1",
      "act":"diao4",
      "nm":"diaodu4"
      "at":0,
      "stu":1,
      "dis":0
    }
}

Delete User

Interface Desc And Error Code
Delete User
URL
http://47.88.8.31/StandardApiAction_deleteUserAccount.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoUser Id
Request Example
http://47.88.8.31/StandardApiAction_deleteUserAccount.action?jsession=d4683751-3b6b-49d8-a779-9fa52ca70109&id=1
Return Param Desc
Param NameParam TypeDesc
resultnumber0
Correctly Returns Examples
{
  "result": 0
}

Driver Management

Inquire whether the driver of the vehicle has changed according to the equipment number

Interface Desc And Error Code
Inquire whether the driver of the vehicle has changed according to the equipment number
URL
http://47.88.8.31/StandardApiAction_findDriverInfoByDeviceId.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
lastUpdateTimedateYesNoDate of most recent driver list download
Request Example
http://47.88.8.31/StandardApiAction_findDriverInfoByDeviceId.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b&lastUpdateTime=2018-11-29 00:00:00
Return Param Desc
Param NameParam TypeDesc
needUpdateobject0: indicates that update is required; 1: no update is required.
Correctly Returns Examples
{     "result":"0",     "needUpdate":"0" }

(1)URL

http://47.88.8.31/StandardApiAction_findDriverInfoByDeviceId.action?jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b&lastUpdateTime=2018-04-27 09:54:42

(1)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
devIdnostringYesNoDevice No.
If the devIdno is empty, it is judged that the vehiIdno.
lastUpdateTimestringYesNoDate of most recent driver list download

Query the driver of the vehicle according to the equipment number

Interface Desc And Error Code
Query the driver of the vehicle according to the equipment number
URL
http://47.88.8.31/StandardApiAction_findVehicleInfoByDeviceId.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
devIdnostringYesNoDevice No.
Request Example
http://47.88.8.31/StandardApiAction_findVehicleInfoByDeviceId.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&devIdno=s1234b
Return Param Desc
Param NameParam TypeDesc
idnumberDriver id
jnstringDriver's Work Number
dnstringperson name
sxnumberGender 1 male 2 female
dtstringContact
cnstringID number
btdatedate of birth
lnstringDriver's license number
pidnumberCompany ID
rddateDriver's license date
vddateDriver's License Expiration Date
pstnumberJob ID 1 driver 2 flight attendant
crdnumberIC card ID
rmkstringRemark
updateTimedateUpdate time
licenseSrcstringdocument photo
qltSrcstringQualification photo
transportStatusnumberTransport status 0 not transported 1 transported
qltNumstringDriver's Work Number
startTimedateStart Date
reminderDaysnumberDays Ahead Of Schedule
licenseTypestringType Of Driver's License
companyIdnumberCompany ID
companyStrstringCompany Name
birthplacestringBirthplace
areastringArea
nuclearAuthoritystringNuclearAuthority
addressstringaddress
drivingTimenumerTotal Driving Time(h)
drivingScorenumerGrade
drivingLiChengnumberCumulative Driving Mileage(Km)
idNumberImgUrlstringID card photo
rdtstringTransport certificate
rdtUrlstringTransport certificate Photo
alipayUrlstringAli Pay QR Code
wechatpayUrlstringWechat Pay QR Code
vehiIDNOstringPlate Number
licenseNumImgUrlstringDriver license photo
facePhotoUrlstringface library
perfectStatusstringInformation complete status 0 not complete 1 complete
isMainbooleanIs main driver?
Correctly Returns Examples
{     "result":0,     "drivers":[         {             "address":"",             "id":3,             "startTime":1262361600000,             "licenseType":"C1",             "companyId":4,             "area":"",             "updateTime":1596765277000,             "vehiIDNO":"粤S12345",             "nuclearAuthority":"",             "qltNum":null,             "rd":1357056000000,             "jn":"123123123",             "drivingTime":null,             "bt":1596384000000,             "facePhotoUrl":"/upload/whdriver/175252151680100_face.png",             "birthplace":"",             "vd":1546358400000,             "reminderDays":123,             "ln":"242019197702208205",             "etQltSrc":null,             "qltSrc":null,             "cn":"12312312312312",             "sx":1,             "drivingScore":null,             "licenseSrc":"/upload/whdriver/175254206338500_face.jpg",             "dn":"12312321",             "dt":"123123123",             "idNumberImgUrl":"/upload/cardNumberImgUrl/237987344706000_cardNumberImgUrl.jpg",             "drivingLiCheng":null,             "licenseNumImgUrl":"/upload/licenseNumUrl/175249118379800_licenseNumUrl.png",             "companyStr":"东莞XXX公司",             "rdt":"",             "pst":1,             "pid":4,             "transportStatus":0,             "rmk":null,             "rdtUrl":"/upload/jobNumImgUrl/175245778401400_jobNumImgUrl.png",             "perfectStatus":0,             "etQltNum":null,             "alipayUrl":null,             "wechatpayUrl":null,             "crd":null,             "isMain":false         },         {             "address":"",             "id":4,             "startTime":1278864000000,             "licenseType":"C1",             "companyId":4,             "area":"",             "updateTime":1596421396000,             "vehiIDNO":"粤S12345",             "nuclearAuthority":"",             "qltNum":null,             "rd":1278864000000,             "jn":"司机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

http://47.88.8.31/StandardApiAction_findVehicleInfoByDeviceId.action?jsession=ecf4731bf46146d0ab5f8bb4e79c9eec&devIdno=s1234b

(1)Param Desc

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoAfter user login returning jsession
If it is empty, it is determined that the account and password.
devIdnostringYesNoDevice No.
If the devIdno is empty, it is judged that the vehiIdno.

Query driver information based on qualification certificate code/driver's license number

Interface Desc And Error Code
Query driver information based on qualification certificate code/driver's license number
URL
http://47.88.8.31/StandardApiAction_findVehicleInfoByDeviceJn.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
typestringYesNo1 Query according to the license code 2 Query according to the driver's license number
contentstringYesNoDriver's Work Number/Driver's license number
Request Example
http://47.88.8.31/StandardApiAction_findVehicleInfoByDeviceJn.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&type=2&content=212121
Return Param Desc
Param NameParam TypeDesc
idnumberDriver id
jnstringDriver's Work Number
dnstringperson name
sxnumberGender 1 male 2 female
dtstringContact
cnstringID number
btdatedate of birth
lnstringDriver's license number
pidnumberCompany ID
rddateDriver's license date
vddateDriver's License Expiration Date
pstnumberJob ID 1 driver 2 flight attendant
crdnumberIC card ID
rmkstringRemark
updateTimedateUpdate time
licenseSrcstringdocument photo
qltSrcstringQualification photo
transportStatusnumberTransport status 0 not transported 1 transported
qltNumstringDriver's Work Number
startTimedateStart Date
reminderDaysnumberDays Ahead Of Schedule
licenseTypestringType Of Driver's License
companyIdnumberCompany ID
companyStrstringCompany Name
birthplacestringBirthplace
areastringArea
nuclearAuthoritystringNuclearAuthority
addressstringaddress
drivingTimenumerTotal Driving Time(h)
drivingScorenumerGrade
drivingLiChengnumberCumulative Driving Mileage(Km)
idNumberImgUrlstringID card photo
rdtstringTransport certificate
rdtUrlstringTransport certificate Photo
alipayUrlstringAli Pay QR Code
wechatpayUrlstringWechat Pay QR Code
vehiIDNOstringPlate Number
licenseNumImgUrlstringDriver license photo
facePhotoUrlstringface library
perfectStatusstringInformation complete status 0 not complete 1 complete
isMainbooleanIs main driver?
Correctly Returns Examples
{     "result":0,     "drivers":[         {             "address":"",             "id":3,             "startTime":1262361600000,             "licenseType":"C1",             "companyId":4,             "area":"",             "updateTime":1596765277000,             "vehiIDNO":"粤S12345",             "nuclearAuthority":"",             "qltNum":null,             "rd":1357056000000,             "jn":"123123123",             "drivingTime":null,             "bt":1596384000000,             "facePhotoUrl":"/upload/whdriver/175252151680100_face.png",             "birthplace":"",             "vd":1546358400000,             "reminderDays":123,             "ln":"242019197702208205",             "etQltSrc":null,             "qltSrc":null,             "cn":"12312312312312",             "sx":1,             "drivingScore":null,             "licenseSrc":"/upload/whdriver/175254206338500_face.jpg",             "dn":"12312321",             "dt":"123123123",             "idNumberImgUrl":"/upload/cardNumberImgUrl/237987344706000_cardNumberImgUrl.jpg",             "drivingLiCheng":null,             "licenseNumImgUrl":"/upload/licenseNumUrl/175249118379800_licenseNumUrl.png",             "companyStr":"东莞XXX公司",             "rdt":"",             "pst":1,             "pid":4,             "transportStatus":0,             "rmk":null,             "rdtUrl":"/upload/jobNumImgUrl/175245778401400_jobNumImgUrl.png",             "perfectStatus":0,             "etQltNum":null,             "alipayUrl":null,             "wechatpayUrl":null,             "crd":null,             "isMain":false         },         {             "address":"",             "id":4,             "startTime":1278864000000,             "licenseType":"C1",             "companyId":4,             "area":"",             "updateTime":1596421396000,             "vehiIDNO":"粤S12345",             "nuclearAuthority":"",             "qltNum":null,             "rd":1278864000000,             "jn":"司机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         }     ] }

Query Details Of Driver's Punch Card Record

Interface Desc And Error Code
Query Details Of Driver's Punch Card Record
URL
http://47.88.8.31/StandardApiAction_queryPunchCardRecode.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.
didsstringNoNoDriver id
It may be more than one, in order to ',' separation.
begintimestringNoNoStart Time
endtimestringNoNoEnd Time
toMapstringNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
geoaddressstringNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
currentPagestringNoNoCurrent Page
If empty, no paging.
pageRecordsstringNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_queryPunchCardRecode.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=1111111&begintime=2020-05-18 00:00:00&endtime=2020-06-17 23:59:59&toMap=2¤tPage=1&pageRecords=10
Return Param Desc
Param NameParam TypeDesc
guidstringAlarm Unique Number
vidnumberVehicle ID
vehistringPlate Number
cnmstringCompany Name
devstringDevice No.
stmnumberAlarm Start Time (UTC) in seconds
etmnumberAlarm End Time (UTC) in seconds
atpnumberAlarm Type
infonumberAlarm Info
p1numberAlarm Param 1
Details See also:Alarm Param Desc
p2numberAlarm Param 2
Details See also:Alarm Param Desc
p3stringAlarm Param 3
Details See also:Alarm Param Desc
p4numberAlarm Param 4
Details See also:Alarm Param Desc
descstringPunch information, use';' to split. Driver name|Issuing authority|ID number|Qualification code
ddinfostringPunch driver name
issustringCard issuing authority
idCardstringPunch driver ID number
certstringCode for the driver's qualification card
ss1numberAlarm Start Status 1
Details See also:Alarm Status Desc
ss2numberAlarm Start Status 2
Details See also:Alarm Status Desc
es1numberAlarm End Status 1
Details See also:Alarm Status Desc
es2numberAlarm End Status 2
Details See also:Alarm Status Desc
slngnumberAlarm Start Lng
slatnumberAlarm Start Lat
elngnumberAlarm End Lng
elatnumberAlarm End Lat
smlatstringAlarm Start Map Lat
Get the lat through the conversion
emlatstringAlarm End Map Lat
Get the lat through the conversion
spsstringAlarm start location
The geographic location after analysis or (alarm start map longitude, alarm start map latitude)
epsstringAlarm 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)
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
vehicleListarrayVehicle list
Correctly Returns Examples
{
  "result": 0,   "pagination": {         "sortParams": null,         "primaryKey": "id",         "hasPreviousPage": false,         "previousPage": 1,         "startRecord": 0,         "currentPage": 1,         "totalPages": 7,         "endRecord": 2,         "hasNextPage": true,         "nextPage": 2,         "directQuery": false,         "pageRecords": 2,         "totalRecords": 14     },     "infos": [         {             "issu": "",             "ddinfo": "",             "cert": "111111111111111111",             "idCard": "",             "vehi": "测试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"         }]
}

Query Identify Alarm

Interface Desc And Error Code
Query Identify Alarm
URL
http://47.88.8.31/StandardApiAction_queryIdentifyAlarm.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
vehiIdnostringNoNoPlate Number
It may be more than one, in order to ',' separation.
didsstringNoNoDriver id
It may be more than one, in order to ',' separation.
begintimestringNoNoStart Time
endtimestringNoNoEnd Time
toMapstringNoNoMap Coordinates Conversion
1 shows Coordinates converted to Google Maps Coordinates, 2 shows the Coordinates converted to Baidu map Coordinates
geoaddressstringNoNoAnalysis of geographical position
1 provides resolution geographic location services
If you don't pass it, don't analysis the location
currentPagestringNoNoCurrent Page
If empty, no paging.
pageRecordsstringNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_queryIdentifyAlarm.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&vehiIdno=11111111&begintime=2020-05-1 00:00:00&endtime=2020-06-19 23:59:59&toMap=2
Return Param Desc
Param NameParam TypeDesc
guidstringAlarm Unique Number
vidnumberVehicle ID
vehistringPlate Number
cnmstringCompany Name
devstringDevice No.
stmnumberAlarm Start Time (UTC) in seconds
etmnumberAlarm End Time (UTC) in seconds
atpnumberAlarm Type
infonumberAlarm Info
Recognition result, 0: recognition failure 1: recognition success
p1numberAlarm Param 1
Recognition success means contrast, zoom in 100
p2numberAlarm Param 2
The lower 16 bits indicate failure similarity, and the higher 16 bits indicate passing similarity
p3stringAlarm Param 3
Recognition failure means failure type 0: invalid 1: recognition failure 2: unrecognizable 3: comparison failure
p4numberAlarm Param 4
Driver id
descstringAlarm Info
ss1numberAlarm Start Status 1
Details See also:Alarm Status Desc
ss2numberAlarm Start Status 2
Details See also:Alarm Status Desc
es1numberAlarm End Status 1
Details See also:Alarm Status Desc
es2numberAlarm End Status 2
Details See also:Alarm Status Desc
slngnumberAlarm Start Lng
slatnumberAlarm Start Lat
elngnumberAlarm End Lng
elatnumberAlarm End Lat
smlatstringAlarm Start Map Lat
Get the lat through the conversion
emlatstringAlarm End Map Lat
Get the lat through the conversion
spsstringAlarm start location
The geographic location after analysis or (alarm start map longitude, alarm start map latitude)
epsstringAlarm 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)
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,   "pagination": {         "sortParams": null,         "primaryKey": "id",         "hasPreviousPage": false,         "previousPage": 1,         "startRecord": 0,         "currentPage": 1,         "totalPages": 1,         "endRecord": 0,         "hasNextPage": false,         "nextPage": 1,         "directQuery": false,         "pageRecords": 10,         "totalRecords": 6     },     "infos": [         {             "vehi": "015800098111",             "dev": "015800098111",             "desc": "",             "info": 0,             "p3": 33,             "p2": 12189696,             "p1": 48550,             "p4": 0,             "vid": 14667,             "cnm": "测试",             "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"         }]
}

Query Driver List

Interface Desc And Error Code
Query Driver List
URL
http://47.88.8.31/StandardApiAction_queryDriverList.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
dNamestringNoNoDriver name, Fuzzy search
Request Example
http://47.88.8.31/StandardApiAction_queryDriverList.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&dName=ABC
Return Param Desc
Param NameParam TypeDesc
idnumberDriver id
jnnumberDriver's Work Number
dnstringDriver Name
sxstringGender 1 male 2 female
dtstringContact
cnnumberID number
btnumberdate of birth
lnnumberDriver's license number
pidnumberCompany ID
rdnumberDriver's license date
vdnumberDriver's License Expiration Date
reminderDaysstringDays Ahead Of Schedule
licenseTypenumberType Of Driver's License
birthplacestringBirthplace
areanumberArea
nuclearAuthoritynumberNuclearAuthority
addressnumberaddress
Correctly Returns Examples
{
  "result": 0,   "infos": [         {             "address": null,             "id": 30,             "startTime": 1557128971000,             "reminderDays": 3,             "licenseType": "A1",             "rdt": "",             "rdtUrl": "",             "qltNum": null,             "etQltNum": null,             "sx": 1,             "cn": "ABCD1111111111",             "vd": 111111111111111,             "pst": 1,             "rmk": null,             "birthplace": null,             "bt": 1557128971000,             "rd": 1557128971000,             "companyId": null,             "area": null,             "updateTime": 1571980168000,             "qltSrc": "",             "perfectStatus": 0,             "etQltSrc": "",             "drivingScore": 0,             "facePhotoUrl": "",             "drivingTime": 0,             "pid": 4,             "nuclearAuthority": null,             "jn": "ABCD1111111111",             "dn": "ABCD1111",             "dt": "33333333",             "ln": "ABCD1111111111111",             "transportStatus": 0,             "idNumberImgUrl": "",             "drivingLiCheng": 0         }     ]
}

Add / modify driver

Interface Desc And Error Code
Add / modify driver
URL
http://47.88.8.31/DriverAction_mergeDriver.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberNoNoIt 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]
jobNumstringYesNoDriver's Work Number
namestringYesNoDriver Name
contactstringYesNoContact
cardNumberstringYesNoID number
sexnumberYesNoGender 1 male 2 female
licenseNumstringYesNoDriver's license number
licenseTypestringYesNoType Of Driver's License
birthstringYesNodate of birth
rushDatestringYesNoDriver's license date
startTimestringYesNoStart time of the valid date of the certificate
validitystringYesNoDriver's License Expiration Date
reminderDaysnumberYesNoDays Ahead Of Schedule
companyNamestringYesNoCompany Name
postIdnumberNoNoJob ID 1 driver 2 flight attendant
remarkstringNoNoRemark
enablenumberNoNoIs it used
licenseSrcstringNoNoDriver's license photo address
qltSrcstringNoNoPhoto address of qualification certificate
transportStatusnumberNoNoTransport status 0 not transported 1 transported
perfectStatusnumberNoNoInformation complete status 0 not complete 1 complete
etQltSrcstringNoNoPhoto address of escort qualification certificate
qltNumstringNoNoDriver's license number
birthplacestringNoNoBirthplace
areastringNoNoArea
nuclearAuthoritystringNoNoNuclearAuthority
vehiIDNOstringNoNoPlate Number
addressstringNoNoaddress
facePhotoUrlstringNoNoface library,Call the upload image interface to get the return value
drivingTimenumberNoNoCumulative driving time
drivingScorenumberNoNoGrade
drivingLiChengnumberNoNoAccumulated driving mileage
idNumberImgUrlstringNoNoID photo address,Call the upload image interface to get the return value
roadTransportstringNoNoRoad transportation qualification certificate
roadTransportImgUrlstringNoNoPhoto address of road transportation qualification certificate,Call the upload image interface to get the return value
complaintsNumbersnumberNoNoNumber of complaints
processedNumbersnumberNoNoProcessed times
supervisionCardNumstringNoNoSupervision Card Number
supervisionCardReviewTimedateNoNoSupervision Card Validity Period
supervisionCardStatusnumberNoNoSupervision Card Status
Request Example
http://47.88.8.31/DriverAction_mergeDriver.action?jsession=979e77bc272e45ed803fb990aea83dba&jobNum=lll456&name=姓名&contact=13813813813&cardNumber=8125456&sex=2&licenseNum=898989&licenseType=B照&birth=1999-10-21&rushDate=2019-12-12&startTime=2020-10-21&validity=2020-10-21&reminderDays=7&companyName=lwm
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
idnumberDriver id
Correctly Returns Examples
{
  "result": 0
}

find Driver

Interface Desc And Error Code
find Driver
URL
http://47.88.8.31/DriverAction_loadDriver.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoDriver id
Request Example
http://47.88.8.31/DriverAction_loadDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1
Return Param Desc
Param NameParam TypeDesc
idnumberDriver id
jobNumnumberDriver's Work Number
namestringDriver Name
sexstringGender 1 male 2 female
contactstringContact
cardNumbernumberID number
birthnumberdate of birth
licenseNumnumberDriver's license number
companyIdnumberCompany ID
companyNamestringCompany Name
rushDatenumberDriver's license date
validitynumberDriver's License Expiration Date
postIdstringJob ID 1 driver 2 flight attendant
cardIdnumberIC card ID
remarkstringRemark
enablenumberIs it used
licenseSrcnumberDriver's license photo address
qltSrcnumberPhoto address of qualification certificate
transportStatusstringTransport status 0 not transported 1 transported
perfectStatusnumberInformation complete status 0 not complete 1 complete
etQltSrcstringPhoto address of escort qualification certificate
qltNumnumberDriver's license number
startTimenumberStart time of the valid date of the certificate
reminderDaysnumberDays Ahead Of Schedule
licenseTypestringType Of Driver's License
birthplacenumberBirthplace
areastringArea
nuclearAuthoritynumberNuclearAuthority
vehiIdnumberVehicle ID
vehiIDNOnumberPlate Number
addressstringaddress
facePhotoUrlnumberface library
drivingTimestringCumulative driving time
drivingScorenumberGrade
drivingLiChengnumberAccumulated driving mileage
idNumberImgUrlnumberID photo address
roadTransportnumberRoad transportation qualification certificate
roadTransportImgUrlnumberPhoto address of road transportation qualification certificate
complaintsNumbersnumberNumber of complaints
processedNumbersnumberProcessed times
clocknumberWhether to check in the driver
Correctly Returns Examples
{
  "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     } }
}

Delete driver

Interface Desc And Error Code
Delete driver
URL
http://47.88.8.31/DriverAction_deleteDriver.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoDriver id
It may be more than one, in order to ',' separation.
Request Example
http://47.88.8.31/DriverAction_deleteDriver.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

undefined

Interface Desc And Error Code
undefined
(1)File path description, download all the reference files below, and place them in the same folder according to the example path
  ├── jquery.min.js
  ├── WebUploaderUtil.js
  ├── webUploader
  │  ├── Uploader.swf
  │  ├── webuploader.css
  │  └── webuploader2.js
(2)The introduction of jquery.min.js and webuploader2.js and webuploader.css
(3)JavaScript Code
See Also:Reference JavaScript Code
Reference File
FileCaption
http://47.88.8.31/808gps/OperationManagement/js/WebUploaderUtil.jsFile required for uploading picture method
http://47.88.8.31/808gps/open/player/js/jquery.min.jsFile required for uploading picture method
http://47.88.8.31/js/webUploader/Uploader.swfFile required for uploading picture method
http://47.88.8.31/js/webUploader/webuploader.cssFile required for uploading picture method
http://47.88.8.31/js/webUploader/webuploader2.jsFile required for uploading picture method
Call Method
http://192.168.1.109:88/WebuploaderApiAction_ajaxAttachUploadDriver.action?jsession=D60E0E9E23B754BBC8EAA01741F04DB1
Operation Example

(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();     }); }

SIM Management

Add SIM

Interface Desc And Error Code
Add SIM
URL
http://47.88.8.31/StandardApiAction_mergeSIMInfo.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberNoNoSIM ID
When modifying the SIM, the parameters must be passed!
cardNumstringYesNoSIM Card
companyNamestringYesNoCompany Name
Chinese reference, format reference
registrationTimestringNoNoRegistration time (default current time, old time will not be transmitted when modified)
2020-03-03 10:10:10
statusnumberNoNoUse status 0 is not enabled, 1 is enabled, default 1
remarkstringNoNoRemark
Chinese reference, format reference
citystringNoNoIssuing City
Chinese reference, format reference
operatorstringNoNoOperator
Chinese reference, format reference
devIdnostringNoNoBind the device number (the company of the device and the company of the sim are the same to bind successfully)
Request Example
http://47.88.8.31/StandardApiAction_mergeSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&cardNum=1000000&companyName=9889
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

Find SIM

Interface Desc And Error Code
Find SIM
URL
http://47.88.8.31/StandardApiAction_findSIMInfo.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoSIM ID
Request Example
http://47.88.8.31/StandardApiAction_findSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1
Return Param Desc
Param NameParam TypeDesc
idstringSIM ID
vehiIDNOstringPlate Number
remarkstringRemark
statusnumberUse status 0 is not enabled, 1 is enabled, default 1
registrationTimenumberRegistration (milliseconds)
companyNamestringCompany Name
installnumberBound device 0 means unbound, 1 means bound
devIdnumberDevice ID
companyIDnumberCompany ID
cardNumstringSIM Card
devIDNOstringEquipment number
operatorstringOperator
citystringIssuing City
Correctly Returns Examples
{
  "result": 0,   "sim": {         "id": 25,         "remark": null,         "updateTime": null,         "status": 1,         "vehiIDNO": "1002",         "company": null,         "registrationTime": 1617868459000,         "companyName": "9889",         "simCard": null,         "install": 1,         "devId": 1,         "companyID": 38,         "cardNum": "222"         "devIDNO": "1002"         "operator": null,         "city": null,         "oldDevId": null     } 
}

Delete SIM

Interface Desc And Error Code
Delete SIM
URL
http://47.88.8.31/StandardApiAction_deleteSIMInfo.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
idnumberYesNoSIM ID
Request Example
http://47.88.8.31/StandardApiAction_deleteSIMInfo.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222&id=1
Return Param Desc
Param NameParam TypeDesc
resultnumberReturn Code
0 means success, the other means failure.
Correctly Returns Examples
{
  "result": 0
}

Query SIM (paged)

Interface Desc And Error Code
Query SIM (paged)
URL
http://47.88.8.31/StandardApiAction_loadSIMInfos.action?
HTTP Request Method
GET/POST
Input Param Desc

(1)Common Param

See Also:Common Param

(2)Private Param

Param NameParam TypeWhether MustDefaultsDesc
jsessionstringYesNoJsession
currentPagenumberNoNoCurrent Page
If empty, no paging.
pageRecordsnumberNoNoPage Record
If empty, no paging.
Request Example
http://47.88.8.31/StandardApiAction_loadSIMInfos.action?jsession=cf6b70a3-c82b-4392-8ab6-bbddce336222
Return Param Desc
Param NameParam TypeDesc
idstringSIM ID
vehiIDNOstringPlate Number
remarkstringRemark
statusnumberUse status 0 is not enabled, 1 is enabled, default 1
registrationTimenumberRegistration (milliseconds)
companyNamestringCompany Name
installnumberBound device 0 means unbound, 1 means bound
devIdnumberDevice ID
companyIDnumberCompany ID
cardNumstringSIM Card
devIDNOstringEquipment number
operatorstringOperator
citystringIssuing City
totalPagesnumberTotal Page
currentPagenumberCurrent Page
pageRecordsnumberPage Record
totalRecordsnumberTotal Records
Correctly Returns Examples
{
  "result": 0,   
  "pagination": {         
  "sortParams": null,         
  "primaryKey": "id",         
  "hasPreviousPage": false,         
  "previousPage": 1,         
  "startRecord": 0,         
  "currentPage": 1,         
  "totalPages": 1,         
  "endRecord": 0,         
  "hasNextPage": false,         
  "nextPage": 1,         
  "directQuery": false,         
  "pageRecords": 10,         
  "totalRecords": 6     },     
  "infos": [        
  {         
  "id": 25,         
  "remark": null,         
  "updateTime": null,         
  "status": 1,         
  "vehiIDNO": "1002",         
  "company": null,         
  "registrationTime": 1617868459000,         
  "companyName": "9889",         
  "simCard": null,         
  "install": 1,         
  "devId": 1,         
  "companyID": 38,         
  "cardNum": "222"         
  "devIDNO": "1002"         
  "operator": null,         
  "city": null,         
  "oldDevId": null     
  }]
}


Products

JOINLGO

 

ShenZhen JOINLGO Technolog Co., Ltd.

 

HOME       CORPORATE         PRODUCT        SOLUTION        CONTACT

Copyright © Shenzhen JOINLGO Technology Co., Ltd. All rights reserved

Service Center

Please choose online customer service to communicate

Contacts
Scan a QR Code
添加微信好友,详细了解产品
使用企业微信
“扫一扫”加入群聊
复制成功
添加微信好友,详细了解产品
我知道了