1. User profile User base information includes: User nickname, Avatar, type of user, whether to open the tong Bao. Third-party apps can cache this data locally based on business needs.
| numbering |
field naming |
field Type |
Description |
| 1 |
Nickname |
String |
User Nickname |
| 2 |
Headface |
String |
User Picture URL |
| 3 |
Usertype |
Int |
User type: |
| 1: Normal User |
| 2: Merchant Users |
| 3: Pending approval for merchant users |
| 4 |
Usetongbao |
Bool |
Whether to open the tong Bao |
2. Merchant Services Basic InformationThe Merchant Service basic Data interface includes: Service ID, service name, service details, service picture information, service type (category ID), recommended service, service price, number of service delivery PO, etc.
| numbering |
field naming |
field Type |
Description |
| 1 |
Id |
String |
Service ID |
| 2 |
Name |
String |
Service Name |
| 3 |
Detail |
String |
Service Details |
| 4 |
Img |
String |
Picture information |
| 5 |
Type |
Int |
Service type (category ID) |
| 6 |
isrecommended |
Bool |
Recommended Services |
| 7 |
Price |
Int |
Service Price |
| 8 |
Tongbao |
Int |
Number of service delivery PO |
3. Basic information of the equipment of the IoTThe basic information of the user's IoT device includes: device type, device ID, device name. Third-party apps can cache this data locally based on business needs.
| numbering |
field naming |
field Type |
Description |
| 1 |
DeviceID |
String |
Device ID |
| 2 |
DeviceName |
String |
Device Name |
| 3 |
DeviceType |
Int |
Device Type: |
| 1: Vehicle terminal |
| 2: Electric car terminal |
| 3: Motorcycle Terminal |
| 4: Close Love terminal |
4. Location information
4.1 Getting user location information
| numbering |
field naming |
field Type |
Description |
| 1 |
Gqid |
String |
User Gqid |
| 2 |
Longitude |
Int |
Longitude (actual value *100000) |
| 3 |
Latitude |
Int |
Latitude (actual value *100000) |
| 4 |
Gpstime |
String |
Positioning time |
4.2 Get real-time location information of the user's IoT deviceThe real-time location information interface includes: Device ID, device location time, equipment location information receiving time, latitude and longitude, direction, speed and other information.
| numbering |
field naming |
field Type |
Description |
| 1 |
Commno |
String |
Device ID (corresponding to DeviceID) |
| 2 |
Longitude |
Int |
Longitude (actual value *100000) |
| 3 |
Latitude |
Int |
Latitude (actual value *100000) |
| 4 |
Gpstime |
String |
Positioning time |
| 5 |
Recvtime |
String |
Receive time |
| 6 |
Speed |
Int |
Speed |
| 7 |
Head |
Int |
Direction (0-359) |
| 8 |
Valid |
Bool |
is a valid location |
| 9 |
State |
String |
Device status |
| 10 |
Oillevel |
Int |
Percentage of oil (0-100) |
| 11 |
Mileage |
Int |
Equipment mileage |
| 12 |
Alarm |
Bool |
Whether the device is abnormal alarm |
| 13 |
Online |
Bool |
Whether the device is online |
| 14 |
S13nstateorstatedesc |
String |
Device Attach Status |
4.3 get user IoT device history location informationUser IoT device History location information interface includes: Device ID, device location time, device location information receiving time, latitude and longitude, direction, speed and other information
| numbering |
field naming |
field Type |
Description |
| 1 |
Commno |
String |
Device ID (corresponding to DeviceID) |
| 2 |
Longitude |
Int |
Longitude (actual value *100000) |
| 3 |
Latitude |
Int |
Latitude (actual value *100000) |
| 4 |
Gpstime |
String |
Positioning time |
| 5 |
Recvtime |
String |
Receive time |
| 6 |
Speed |
Int |
Speed |
| 7 |
Head |
Int |
Direction (0-359) |
| 8 |
Valid |
Bool |
is a valid location |
| 9 |
State |
String |
Device status |
| 10 |
Oillevel |
Int |
Percentage of oil (0-100) |
| 11 |
Mileage |
Int |
Equipment mileage |
| 12 |
Alarm |
Bool |
Whether the device is abnormal alarm |
| 13 |
Online |
Bool |
Whether the device is online |
| 14 |
S13nstateorstatedesc |
String |
Device Attach Status |
This article from "It Technology Learning and communication" blog, declined reprint!
IoT Build Library Documentation