淄博暢行電子科技有限公司
主營(yíng)油管家,。TEL:138-6440-1440
為了方便exlive用戶(hù)進(jìn)行手機(jī)APP的二次開(kāi)發(fā),,exlive1.0平臺(tái)開(kāi)發(fā)了APP二次開(kāi)發(fā)接口,支持登錄接口,、當(dāng)前用戶(hù)車(chē)輛的詳細(xì)信息,、車(chē)輛的詳細(xì)位置信息、里程統(tǒng)計(jì)查詢(xún),、警情報(bào)警查詢(xún),、車(chē)輛軌跡查詢(xún)等接口的調(diào)用。
1,、登錄接口,,用于用戶(hù)的登錄:
http://" +服務(wù)器ip + ":89/gpsonline/NBAPI
參數(shù)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
version | String | 版本號(hào) |
method | String |
企業(yè)用戶(hù):loginSystemInUser 個(gè)人用戶(hù) :loginSystemInVehicle |
name | String | 用戶(hù)名 |
pwd | String | 密碼 |
Key | String | 登錄類(lèi)型 |
m | String | 用戶(hù)登陸成功key |
返回:
{
"port": 6266,
"uid": 2314223,
"sid": 10997,
"sip": "114.215.45.206",
"sname": "廣東省322",
"success": true,
"key": "ae3de561cbf500295ee2d1fd25d12266",
"entCode": "",
"userType": 1,
"version": 2
}
2、當(dāng)前用戶(hù)車(chē)輛的清單,,包含車(chē)輛詳細(xì)信息,、車(chē)輛的詳細(xì)位置信息等:
http://" + 服務(wù)器ip + ":89/gpsonline/NBAPI
參數(shù)-體驗(yàn)賬號(hào)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
method | String | 方法: experience |
uid | String | 用戶(hù)ID |
key | String | 用戶(hù)key |
參數(shù)-企業(yè)或個(gè)人賬號(hào)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
version | String | 版本號(hào) |
method | String | 方法: loadVehicleTreeInUser |
uid | String | 用戶(hù)ID |
key | String | 用戶(hù)key |
method | String | 方法: experience |
返回:
{
"version": 2,
"success": true,
"groups": [{
"id": 3260712,
"name": "備用車(chē)輛",
"onlines": 0,
"total": 5,
"vehicles": [{
"id": 8959906,
"name": "29號(hào) 新絲路專(zhuān)線(xiàn) 京AAP20",
"isOnline": true,
"recvtime": "2017-12-28 19:50:11",
"gpstime": "2017-12-28 19:50:09",
"mobile": "1064867783646",
"gprs": "13300185424",
"mobileId": 92,
"vehicleTypeId": 1,
"owner": "",
"phone": "",
"overdueDays": 10000,
"state": "停車(chē)超時(shí)(1時(shí)33分) 衛(wèi)星(19) GSM(20)",
"lat": 34.36505,
"lng": 109.06033,
"lat_xz": -0.001295,
"lng_xz": 0.005053,
"speed": 0,
"direct": 64,
"temp": 0,
"oil": 0,
"oilMN1": 0,
"oilMN2": 0,
"distance": 110.3,
"totalDis": 16503.27,
"av": "1",
"info": "陜西省 西安市 灞橋區(qū) 新筑街道 港務(wù)大道220號(hào) 港務(wù)大道 西安·華南城東117米",
"vhcofflinemin": 10,
"stopDefDis": 0,
"stopDefLat": 0,
"stopDefLng": 0,
"temp1": "",
"temp2": "",
"temp3": "",
"temp4": "",
"dayOil": 11,
"acc": 0,
"acc2": 0,
"oil1": 0,
"oil2": 0,
"icon": 0
}]
}],
"cmd": [{
"id": 1003,
"mobileId": 92,
"mask": 7000,
"mean": "連續(xù)回報(bào)",
"pass": " ",
"description": "設(shè)置車(chē)輛上傳數(shù)據(jù)的間隔,單位為秒",
"cmdlevel": 0,
"params": [{
"name": "回報(bào)間隔",
"size": "small",
"type": "int"
},
{
"name": "確認(rèn)密碼",
"size": "small",
"type": "password"
}
]},
{
"id": 2086,
"mobileId": 105,
"mask": 7561,
"mean": "設(shè)置分服務(wù)器APN",
"pass": "",
"description": "設(shè)置分服務(wù)器APN",
"cmdlevel": 0,
"params": [{
"name": "APN名稱(chēng)",
"size": "small",
"type": "string",
"value": ""
},
{
"name": "用戶(hù)名",
"size": "small",
"type": "string",
"value": ""
},
{
"name": "用戶(hù)密碼",
"size": "small",
"type": "string",
"value": ""
}]
}],
"timestamp": 1514461833919
}
3,、里程統(tǒng)計(jì)查詢(xún):
http://" +服務(wù)器ip + ":89/exstatic/json/phoneVehicleAction_dailyReportByIds.action?
參數(shù)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
pids | String | 車(chē)輛ID |
btime | String | 開(kāi)始時(shí)間 |
etime | String | 結(jié)束時(shí)間 |
返回:
{
"drListAll": [{
"totaldis": "0.0",
"drList": [{
"daydis": "0.0",
"date": "2017-12-28"
}],
"drCount": 1,
"vname": "t66yy6",
"vid": 9676417
}],
"flag": true
}
4,、警情報(bào)警查詢(xún):
http:// " +服務(wù)器ip + ":89/exstatic/json/vehicleAction_PhoneVehicleByuserId.action?
參數(shù)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
pids | String | 車(chē)輛ID |
btime | String | 開(kāi)始時(shí)間 |
etime | String | 結(jié)束時(shí)間 |
返回:
{
"flag": true,
"accdata": [{
"id": 7669178,
"vhccode": "02號(hào) 中一線(xiàn) 京AAP055",
"acccount": 17,
"detailAlarm": [{
"direct": 270,
"recvtime": "2017-12-28 07:10:12",
"posinfo": "陜西省西安市新城區(qū)中山門(mén)街道解放路63-5號(hào)東新街民樂(lè)新都會(huì)商城西北86米",
"veo": "0.00",
"driver": "",
"cstate": "停車(chē)超時(shí)報(bào)警(1分)衛(wèi)星(13)GSM(27)",
"av": "1"
},
{
"direct": 92,
"recvtime": "2017-12-28 07:14:57",
"posinfo": "陜西省西安市新城區(qū)西一路街道東新街486號(hào)東新街新城國(guó)際東北80米",
"veo": "0.00",
"driver": "",
"cstate": "停車(chē)超時(shí)報(bào)警(1分)衛(wèi)星(18)GSM(31)",
"av": "1"
}]
}],
"vhcCount": 17
}
5、車(chē)輛軌跡查詢(xún):
http://" +服務(wù)器ip + ":89/gpsonline/NBAPI,?
參數(shù)
參數(shù) | 類(lèi)型 | 說(shuō)明 |
---|---|---|
version | String | 版本號(hào) |
method | String | 方法 :loadHistory |
vid | String | 車(chē)輛Id |
bTime | String | 開(kāi)始時(shí)間 |
eTime | String | 結(jié)束時(shí)間 |
uid | String | 用戶(hù)Id(僅企業(yè)用戶(hù)需要傳用戶(hù)ID) |
key | String | 用戶(hù)Key:企業(yè)和個(gè)人用戶(hù)傳key 體驗(yàn)賬號(hào)傳experience |
datatype | String | 是否回放停車(chē)點(diǎn) 0:沒(méi)有停車(chē)點(diǎn) 1:有停車(chē)點(diǎn) |
timeorder | String | 是否按GPSTIME回放 0 :衛(wèi)星時(shí)間, 1:服務(wù)器時(shí)間 |
返回:
{
"version": 2,
"success": true,
"history": [{
"av": "1",
"dir": 194,
"dis": 0,
"gpst": "2017-12-28 00:00:03",
"id": 10114,
"lat": 34.365166,
"lat_xz": -0.001321,
"lng": 109.0603,
"lng_xz": 0.005025,
"oil": 0,
"p1": 0,
"p2": 0,
"photo": "",
"posinfo": "陜西省 西安市 灞橋區(qū) 新筑街道 港務(wù)大道220號(hào) 港務(wù)大道 西安·華南城東北116米",
"recvt": "2017-12-28 00:00:05",
"roadlevel": 7,
"roadveo": 50,
"state": "停車(chē)超時(shí)報(bào)警(3時(shí)12分) 衛(wèi)星(16) GSM(16)",
"temp": 0,
"temp1": "127.0",
"temp2": "127.0",
"temp3": "127.0",
"temp4": "127.0",
"totaldistance": 32584.973,
"veo": 0
},
{
"av": "1",
"dir": 194,
"dis": 0,
"gpst": "2017-12-28 00:00:08",
"id": 10225,
"lat": 34.365166,
"lat_xz": -0.001321,
"lng": 109.0603,
"lng_xz": 0.005025,
"oil": 0,
"p1": 0,
"p2": 0,
"photo": "",
"posinfo": "陜西省 西安市 灞橋區(qū) 新筑街道 港務(wù)大道220號(hào) 港務(wù)大道 西安·華南城東北116米",
"recvt": "2017-12-28 00:00:10",
"roadlevel": 7,
"roadveo": 50,
"state": "停車(chē)超時(shí)報(bào)警(3時(shí)12分) 衛(wèi)星(16) GSM(16)",
"temp": 0,
"temp1": "127.0",
"temp2": "127.0",
"temp3": "127.0",
"temp4": "127.0",
"totaldistance": 32584.973,
"veo": 0
}]
}
聯(lián)系人:蘇經(jīng)理
手機(jī):138-6440-1440
電話(huà):0533-2266656
QQ:107415444
淄博暢行電子科技有限公司主營(yíng)油管家,、工程車(chē)油管家、貨車(chē)油管家等,,產(chǎn)品銷(xiāo)往山東,、江蘇,、河南等各個(gè)地區(qū)
備案號(hào):魯ICP備16036884號(hào)-3
網(wǎng)站地圖