FreshlianceFreshliance
Tracker document
Gateway document
  • English
  • 简体中文
Tracker document
Gateway document
  • English
  • 简体中文
  • API introduction

    • Overview
    • Parameter
    • Signature
    • Rules
    • Error code
  • API list

    • User information
    • User device
    • Device trip
    • Trip data
    • Device group
    • Grouped device
    • Configuration template
  • Webhook introduction

    • Webhook

History Device Trip Page

Interface Description

Obtain the history trip page of user devices based on the query conditions.

Interface Method

tracker.deviceTrip.page

Request Parameter

NameTypeRequiredDescriptionExample
pageNumintYesPage number, starting from 11
pageSizeintYesPage size, 1-50 items10
tripCodestringNoTrip codetripCode
deviceCodestringNoDevice code250700097T
beginTimelongNoActual start time1747640566191
endTimelongNoActual end time1747640588653

Return Data

NameTypeRequiredDescriptionExample
totalintYesTotal number4
rowsarray[object]YesData list
userDeviceIdintYesDevice ID686
userDeviceTripIdintYesDevice trip ID2465
deviceCodestringYesDevice code250700097T
tripStatusstringYesTrip status
wait: Waiting to start
ing: Recording
end: Stopped
end
customNamestringNoUser-defined device nameFresh Tracker10
tripCodestringNoTrip codetripCode
assetCodestringNoAsset codefruit
goodsNamestringNoGoods nameorange
vehicleInfostringNoVehicle informationX100
carrierstringNoCarrierA
consigneestringNoConsigneeB
beginRoutestringNoStart point of the routeShanghai
endRoutestringNoEnd point of the routeNew York
expectedBeginTimelongNoExpected start time1747640566191
expectedEndTimelongNoExpected end time1747640588653
actualBeginTimelongNoActual start time1747640566191
actualEndTimelongNoActual end time1747640588653

Example for Requesting Parameter

{
  "appId": 658409073956360262328652394,
  "method": "tracker.deviceTrip.page",
  "format": "JSON",
  "charset": "UTF-8",
  "signType": "RSA2",
  "timestamp": "1747732859380",
  "version": "1.0",
  "bizContent": {
    "pageNum": 1,
    "pageSize": 10
  },
  "sign": "g3sfkdWxkMbPOkiZ0cxo4MOmYBROmnTdTUu3F9VB7GA1aPwVagYH+zPW9SbSDHsNz8A2viFxBHHAeM0q4ggAY7/ctsCCOVVlG5/zhjXb3CmTSAZJHed+siUmVOtS/+5mYS5QKf+1PKgV1268C+vlP5TwYaoXbjCXCcKu4jAtMzMjkqoT6c6dG4uutWl9tLtGGAQ6pReO2IrAjXvLCH2WxQll2CIpeYfaXuT5e2bvPhKVg7RGEwOlEOpLBf0ZnHDSdlORqYc94NiIIoRJm/yox2HK9QY9tLdytkYajIk582geTOugbNNVAwIwhbNoTYVQyEZ6yEzbtnj+6qSWsd+Rtg=="
}

Example for Returning Data

{
  "code": "0",
  "data": {
    "total": 1,
    "rows": [
      {
        "userDeviceTripId": 2543,
        "consignee": "B",
        "assetCode": "fruit",
        "expectedBeginTime": 1747640566191,
        "vehicleInfo": "X100",
        "customName": "Fresh Tracker10",
        "deviceCode": "200700097T",
        "userDeviceId": 726,
        "endRoute": "Shanghai",
        "beginRoute": "New York",
        "carrier": "A",
        "tripCode": "tripCode",
        "expectedEndTime": 1747640588653,
        "goodsName": "orange",
        "tripStatus": "end",
        "actualBeginTime": 1747640566191,
        "actualEndTime": 1747640588653
      }
    ]
  },
  "msg": "success",
  "sign": "dztKwkLQnGxvRvbsEwJ5pabOiVyOQVDIwYJG+9W3CjR+oYPdbuTPFnUCRA1zEctpHOGDZFJh2tLvioYIvl0MIVhDXHhvEqSqCrBXCTvts+rbsGzGea4SgyzAEPYNdYq0u/junkifE31wwMoGjznLUFFzZL290IluNABmb3NHhRrrHcpV8Ytx/38bjLJC7qhDqaopSNJb+VpH4uvJyFmuVk+V5yM3UDMXpWgHfcCbDhn+g2gC9yV1FX+lMxiGg9OJi8FmWXQdFb3iA59P7/Z7pMqBDPfzM2SCoGtTfviu7HKL4oWx7DUnzPq8OSDyLisUzuSbaF5Q4SpVTHEr0QiTKw==",
  "subCode": "",
  "subMsg": ""
}

Obtain Device Trip Configuration

Interface Description

Obtain device trip configuration information based on device trip ID.

Interface Method

tracker.deviceTrip.get

Request Parameter

NameTypeRequiredDescriptionExample
userDeviceTripIdintYesDevice trip ID2543

Return Data

NameTypeRequiredDescriptionExample
tripInfoobjectYesTrip information
tripInfo.userDeviceIdintYesDevice ID726
tripInfo.userDeviceTripIdintYesDevice trip ID2543
tripInfo.deviceCodestringYesDevice code250700097T
tripInfo.tripStatusstringYesTrip status
wait: Waiting to start
ing: Recording
end: Stopped
end
tripInfo.customNamestringNoUser-defined device nameFresh Tracker10
tripInfo.tripCodestringNoTrip codetripCode
tripInfo.assetCodestringNoAsset codefruit
tripInfo.goodsNamestringNoGoods nameorange
tripInfo.vehicleInfostringNoVehicle informationX100
tripInfo.carrierstringNoCarrierA
tripInfo.consigneestringNoConsigneeB
tripInfo.beginRoutestringNoStart point of the routeShanghai
tripInfo.endRoutestringNoEnd point of the routeNew York
tripInfo.expectedBeginTimelongNoExpected start time1747640566191
tripInfo.expectedEndTimelongNoExpected end time1747640566191
tripInfo.actualBeginTimelongNoActual start time1747640566191
tripInfo.actualEndTimelongNoActual end time1747640566191
tripConfigobjectYesTrip configuration information
tripConfig.startDelayintYesStart delay (Unit: min)30
tripConfig.collectIntervalintYesLogging interval (Unit: min)5
tripConfig.activeTimeintYesUploading interval (Unit: min)5
tripConfig.emailstringNoNotification emails (separated by ,)1@freshliance.com
tripConfig.wifiFlagintNoWiFi positioning
0: Off
1: On
1
tripConfig.buttonFlagintNoButton stop
0: Invalid
1: Valid
1
tripConfig.gpsFlagintNoGPS positioning
0: Off
1: On
0
tripConfig.flightFlagintNoFlight mode
0: Off
1: On
0
tripConfig.flightStartTimelongNoStart time of flight mode1747640566191
tripConfig.flightEndTimelongNoEnd time of flight mode1747640566191
tripConfig.lightFlagintNoLight detection
0: Off
1: On
0
tripConfig.shockFlagintNoVibration detection
0: Off
1: On
0
tripConfig.phoneListarray[object]NoMobile phone number list
tripConfig.phoneList.areaCodestringNoMobile phone area code+86
tripConfig.phoneList.phonestringNoMobile phone number123456789
tripConfig.phoneList.enableSmsFlagintNoSMS notification
0: Off
1: On
1
tripConfig.phoneList.enableVoiceFlagintNoVoice call notification
0: Off
1: On
0
trackerPermissionobjectYesDevice tracking permission
trackerPermission.mapViewFlagintYesDevice tracking-Map preview
0: No
1: Yes
1
trackerPermission.dataChartFlagintYesDevice tracking -Data graphing
0: No
1: Yes
1
trackerPermission.dataListFlagintYesDevice tracking - Data tabulating
0: No
1: Yes
1
trackerPermission.basicInfoFlagintYesDevice tracking - Basic information display
0: No
1: Yes
1
trackerPermission.alarmInfoFlagintYesDevice tracking - Alarm point setting
0: No
1: Yes
1
trackerPermission.pdfExportFlagintYesDevice tracking - pdf data report
0: No
1: Yes
1
trackerPermission.csvExportFlagintYesDevice tracking - csv data report
0: No
1: Yes
1
alarmListarray[object]NoAlarm setting list
alarmList.probeTypeintNoProbe type
0: Built-in
1: External
0
alarmList.tripConfigIdintNoTrip configuration ID3110
alarmList.alarmZonestringNoAlarm point (High/low alarm+ Serial number)
H1: High alarm 1
L2: Low alarm 2
H1
alarmList.propertyTypeintNoProperty type
0: Temperature
1: Humidity
2: Light
3: Vibration
1
alarmList.alarmTypeintNoAlarm type
0: Low alarm
1: High alarm
1
alarmList.alarmWayintNoAlarm way
0: Single
1: Cumulative
0
alarmList.alarmDelayintNoAlarm delay (Unit: min)
Range: 0~9999
10
alarmList.thresholddoubleNoAlarm threshold (Unit: Temperature: ℃; Humidity: %RH)60
warnListarray[object]NoEarly warning setting list
warnList.probeTypeintNoProbe type
0: Built-in
1: External
0
warnList.temLowLimitdoubleNoTemperature lower than the threshold: Trigger off early warning when the temperature is lower than the threshold0
warnList.temHighLimitdoubleNoTemperature higher than the threshold: Trigger off early warning when the temperature is higher than the threshold30
warnList.humLowLimitdoubleNoHumidity lower than the threshold: Trigger off early warning when the humidity is lower than the threshold10
warnList.humHighLimitdoubleNoHumidity higher than the threshold: Trigger off early warning when the humidity is higher than the threshold60
warnList.smsSendCountintNoThe number of SMS messages sent per day10
warnList.emailSendCountintNoThe number of Email messages sent per day10
warnList.smsSingleSendCountintNoThe number of SMS messages sent for a single alarm3
warnList.emailSingleSendCountintNoThe number of Email messages sent for a single alarm3
warnList.smsSendIntervalintNoSMS sending interval (Min)30
warnList.emailSendIntervalintNoEmail sending interval (Min)30
warnList.weekIdsstringNoAlarm period, the days of week (separated by ,) MON, TUE, WED, THU, FRI, SAT and SUN respectively correspond to 1,2,3,4,5,6,7.1,2,3,4,5,6,7
warnList.startPeriodTimeStrstringNoStart time character string of the alarm period: 00:00 - 23:5900:00
warnList.endPeriodTimeStrstringNoEnd time character string of the alarm period: 00:00 - 23:5923:59

Example for Requesting Parameter

{
  "appId": 658409073956360262328652394,
  "method": "tracker.deviceTrip.get",
  "format": "JSON",
  "charset": "UTF-8",
  "signType": "RSA2",
  "timestamp": "1747738202915",
  "version": "1.0",
  "bizContent": {
    "userDeviceTripId": 2543
  },
  "sign": "T7nJuufpSEB4R5N4tosXf8t9vNj7/TmlJsWs1xFbG1nOo/T7OjpVlEtMVZrNSGN4qGX+L4yKaas8mdYO0S9LNrn+sgAgXGqQBPEikctMAy30bVxETSoqBcMoo9w3z1txd5oxrAL1ZPpgCfePbdXu/rxblTqF21MBB5g56OSk1d2e2jzG0ruGnQXWi7awzxIwGvOwuCb9QLDuLRplw+IzZayfBfkiH3ttd7/oVO9kDHX9H+MIpsDfcCBx0VxO1q0yuthwf7cAMNFx36ry8L/fhPAeRFvDpkG4Aae2/8umRBZ6/9jaHpq13mEOzTG04XArI/iWqxZLU/"
}

Example for Returning Data

{
  "code": "0",
  "data": {
    "warnList": [
      {
        "startPeriodTimeStr": "00:00",
        "weekIds": "1,2,3,4,5,6,7",
        "smsSendCount": 10,
        "emailSendCount": 20,
        "temHighLimit": 10,
        "emailSendInterval": 30,
        "smsSingleSendCount": 1,
        "humHighLimit": 10,
        "smsSendInterval": 30,
        "probeType": 0,
        "emailSingleSendCount": 1,
        "endPeriodTimeStr": "23:59",
        "temLowLimit": 5,
        "humLowLimit": 5
      }
    ],
    "trackerPermission": {
      "csvExportFlag": 1,
      "basicInfoFlag": 1,
      "mapViewFlag": 1,
      "pdfExportFlag": 1,
      "dataListFlag": 1,
      "alarmInfoFlag": 1,
      "dataChartFlag": 1
    },
    "alarmList": [
      {
        "alarmZone": "H1",
        "alarmType": 1,
        "probeType": 0,
        "propertyType": 0,
        "threshold": 5,
        "alarmDelay": 0,
        "alarmWay": 0,
        "tripConfigId": 3110
      },
      {
        "alarmZone": "H2",
        "alarmType": 1,
        "probeType": 2,
        "propertyType": 0,
        "threshold": 5,
        "alarmDelay": 0,
        "alarmWay": 0,
        "tripConfigId": 3110
      },
      {
        "alarmZone": "L3",
        "alarmType": 1,
        "probeType": 3,
        "propertyType": 0,
        "threshold": 5,
        "alarmDelay": 0,
        "alarmWay": 0,
        "tripConfigId": 3110
      }
    ],
    "tripInfo": {
      "assetCode": "fruit",
      "consignee": "B",
      "expectedBeginTime": 1747640566191,
      "vehicleInfo": "X100",
      "customName": "Fresh Tracker10",
      "deviceCode": "250700097T",
      "userDeviceId": 726,
      "endRoute": "Shanghai",
      "beginRoute": "New York",
      "carrier": "A",
      "tripCode": "tripCode",
      "expectedEndTime": 1747640588653,
      "goodsName": "orange",
      "tripStatus": "ing"
    },
    "tripConfig": {
      "gpsFlag": 1,
      "buttonFlag": 1,
      "activeTime": 5,
      "flightFlag": 0,
      "shockFlag": 1,
      "wifiFlag": 1,
      "collectInterval": 1,
      "userDeviceTripConfigId": 3110,
      "startDelay": 0,
      "lightFlag": 1,
      "email": "feedback@freshliance.com"
    }
  },
  "msg": "success",
  "sign": "VCt7pPzPL/spJDxgiisIoYEpHuKg260anmEfeEyQLSS7uGArIPS1Ta08m5P2Uaa9USM4a+Bf9zn1sSnIAcK/w3NiVa6yDToiUQcKlXXUy08plJ5P3lJ/nFgpB3JxN9Obpk0yxCwVL6MqRddQPYm1LxntNlowbzvmFF4z2+uani1SwayFMwikeEPrBajTocxOm+GOIfZ1QcxbDQYxSPiK6cWQ75uynbB16L2w55m1AXzuZwtn2vasOkQkkX+7p+l58qUH+HyKWqgQi/ujkU9ijELIuM9n/8yTy97PCFzN9UN1A+NTuNY3EwvFPQEFvu6g/Vv7IEEpPqkjkiInOKwQrw==",
  "subCode": "",
  "subMsg": ""
}

Set Device Trip

Interface Description

Set device trip.

Interface Method

tracker.deviceTrip.setup

Request Parameter

NameTypeRequiredDescriptionExample
tripInfoobjectYesTrip information
tripInfo.userDeviceIdintYesDevice ID1
tripInfo.tripCodestringNoTrip code, 1-20 characterstripCode
tripInfo.assetCodestringNoAsset code, 1-20 charactersfruit
tripInfo.goodsNamestringNoGoods name, 1-30 charactersorange
tripInfo.vehicleInfostringNoVehicle information, 1-20 charactersX100
tripInfo.carrierstringNoCarrier, 1-10 charactersA
tripInfo.consigneestringNoConsignee, 1-10 charactersB
tripInfo.beginRoutestringNoStart point of the route, 1-10 charactersShanghai
tripInfo.endRoutestringNoEnd point of the route, 1-10 charactersNew York
tripInfo.expectedBeginTimelongNoExpected start time1747640566191
tripInfo.expectedEndTimelongNoExpected end time1747640588653
tripConfigobjectYesTrip configuration information
tripConfig.startDelayintYesStart delay  (Unit: min) 0/5/10/20/30/60/120/2400
tripConfig.collectIntervalintYesLogging interval (Unit: min) 1/2/5/10/20/30/60/1201
tripConfig.activeTimeintYesUploading interval (Unit: min)
5/10/20/30/60/120/240/480
5
tripConfig.buttonFlagintNoButton stop
0: Invalid
1: Valid
1
tripConfig.gpsFlagintNoGPS positioning
0: Off
1: On
0
tripConfig.wifiFlagintNoWiFi positioning
0: Off
1: On
1
tripConfig.flightFlagintNoFlight mode
0: Off
1: On
1
tripConfig.flightStartTimelongNoStart time of flight mode
1747640566191
tripConfig.flightEndTimelongNoEnd time of flight mode
1747640588653
tripConfig.lightFlagintNoLight detection
0: Off
1: On
1
tripConfig.shockFlagintNoVibration detection
0: Off
1: On
1
tripConfig.emailstringNoNotification emails, Max. 3 email addresses
separated by English punctuation mark ,
Max. 500 characters
1@freshliance.com
tripConfig.phoneListarray[object]Mobile phone number list, Max. 3 numbers
tripConfig.phoneList.areaCodestringNoMobile phone area code+86
tripConfig.phoneList.phonestringNoMobile phone number13881234412
tripConfig.phoneList.enableSmsFlagintNoSMS notification
0: Off
1: On
1
tripConfig.phoneList.enableVoiceFlagintNoVoice call notification
0: Off
1: On
0
trackerPermissionobjectDevice tracking permission
trackerPermission.mapViewFlagintYesDevice tracking-Map preview
0: No
1: Yes
1
trackerPermission.dataChartFlagintYesDevice tracking -Data graphing
0: No
1: Yes
1
trackerPermission.dataListFlagintYesDevice tracking - Data tabulating
0: No
1: Yes
1
trackerPermission.basicInfoFlagintYesDevice tracking - Basic information display
0: No
1: Yes
1
trackerPermission.alarmInfoFlagintYesDevice tracking - Alarm point setting
0: No
1: Yes
1
trackerPermission.pdfExportFlagintYesDevice tracking - pdf data report
0: No
1: Yes
1
trackerPermission.csvExportFlagintYesDevice tracking - csv data report
0: No
1: Yes
1
alarmListarray[object]Alarm setting list, Max. 6 alarm settings
alarmList.probeTypeintYesProbe type
0: Built-in
1: External
0
alarmList.propertyTypeintYesProperty type
0: Temperature
1: Humidity
2: Light
3: Vibration
1
alarmList.alarmTypeintYesAlarm type
0: Low alarm
1: High alarm
0
alarmList.alarmWayintYesAlarm way
0: Single
1: Cumulative
0
alarmList.alarmDelayintYesAlarm delay (Unit: min)
Range: 0~9999
0
alarmList.thresholddoubleYesAlarm threshold (Unit: Temperature: ℃; Humidity: %RH)
Configurable based on device information
20
warnListarray[object]Early warning setting list
warnList.probeTypeintYesProbe type
0: Built-in
1: External
0
warnList.temLowLimitdoubleYesTemperature lower than the threshold: Trigger off early warning when the temperature is lower than the threshold0
warnList.temHighLimitdoubleYesTemperature higher than the threshold: Trigger off early warning when the temperature is higher than the threshold30
warnList.humLowLimitdoubleYesHumidity lower than the threshold: Trigger off early warning when the humidity is lower than the threshold10
warnList.humHighLimitdoubleYesHumidity higher than the threshold: Trigger off early warning when the humidity is higher than the threshold60
warnList.smsSendCountintYesThe number of SMS messages sent per day:
-1~20
Note: -1 indicates no restriction.
3
warnList.emailSendCountintYesThe number of Email messages sent per day: -1~20
Note: -1 indicates no restriction.
3
warnList.smsSingleSendCountintYesThe number of SMS messages sent for a single alarm:
1/2/3
1
warnList.emailSingleSendCountintYesThe number of Email messages sent for a single alarm:
1/2/3
1
warnList.smsSendIntervalintYesSMS sending interval (Min): 5,10,15,30,605
warnList.emailSendIntervalintYesEmail sending interval (Min): 5,10,15,30,605
warnList.weekIdsstringYesAlarm period, the days of week (separated by English punctuation mark ,) MON, TUE, WED, THU, FRI, SAT and SUN respectively correspond to 1,2,3,4,5,6,7.1,2,3,4,5,6,7
warnList.startPeriodTimeStrstringYesStart time character string of the alarm period: 00:00 - 23:5900:00
warnList.endPeriodTimeStrstringYesEnd time character string of the alarm period: 00:00 - 23:5923:59

Return Data

NameTypeRequiredDescriptionExample
databoolYestrue: Success; false: Failedtrue

Example for Requesting Parameter

{
  "appId": 658409073956360262328652394,
  "method": "tracker.deviceTrip.setup",
  "format": "JSON",
  "charset": "UTF-8",
  "signType": "RSA2",
  "timestamp": "1747797604768",
  "version": "1.0",
  "bizContent": {
    "tripInfo": {
      "userDeviceId": 686,
      "tripCode": "tripCode",
      "assetCode": "",
      "goodsName": "",
      "vehicleInfo": "",
      "carrier": "",
      "consignee": "",
      "beginRoute": "",
      "endRoute": "",
      "remark": "备注"
    },
    "tripConfig": {
      "gpsFlag": 1,
      "buttonFlag": 1,
      "activeTime": 5,
      "flightFlag": 0,
      "phoneList": [
        {
          "areaCode": "+86",
          "phone": "17719873218",
          "enableVoiceFlag": 1,
          "enableSmsFlag": 1
        }
      ],
      "shockFlag": 0,
      "wifiFlag": 0,
      "collectInterval": 1,
      "startDelay": 0,
      "lightFlag": 0,
      "email": "1209382948@qq.com"
    },
    "trackPermission": {
      "csvExportFlag": 1,
      "basicInfoFlag": 1,
      "mapViewFlag": 1,
      "pdfExportFlag": 1,
      "alarmInfoFlag": 1,
      "dataListFlag": 1,
      "dataChartFlag": 1
    }
  },
  "sign": "FaeAyQxDc0smAh6UBhxNuE4WhK6B4p6qqF3JKimfWNKcradU1e8294qtgTop7ypOYCZeEMKQEOk6bMKG4wM7krPRl7D1Nv7sU24YxRV4cvdYi9VvsJyoj3Rtdok/qsTiS3Glgyq3YuPotiQ6QELXAw/HcpNh5bjIjSXXTTBnFlgHjbRDxvep07466lU9JjSgLB60UqcbaICVP1P/EPDlmf94xelTc6N2i43KNIVrzmQBMkdg8jLn2iuECdhHiAPPct7X/Xd5leaxcMPIEYvh5d3AB6fy0m7pchsSulZmnJtPiYsSqPBwRgFjOXigD0EwchjtIJ3MfGyfUktBNYtz9Q=="
}

Example for Returning Data

{
  "code": "0",
  "data": true,
  "msg": "success",
  "sign": "n+jxGTJvT/+vbv8N4o2hyBi+7B1Hyg9tFAUoo6fMLPdmrbwyG9LRWpz9JWXaLG2rbapNe2US7Fqy20o4lfyMqYVw4FQ9+bunr/BfaWF7QNynoJ3z36dNicQ78NEZXNTEN+R4u36vE1TKpUkc7/zir+DyWcyz33FGXWVFKNRapKy7rpcfTt64MgPRfScexbeNRJje7kZVeiaawJ0R1fLhPjjZ9K+u7BIDH+WPHf3Q1q+DuZGxgsUApX5Vxgm/qpMeK5NNc/15X2RHlssYv3FQWrZK/EttCnLlclqmS03+857QE5CxAy0lqJkD2PKphxEMnkHSyeDqA8u0JysxsTH81A==",
  "subCode": "",
  "subMsg": ""
}

Start Device Trip

Interface Description

Start device trip based on device ID.

Interface Method

tracker.deviceTrip.start

Request Parameter

NameTypeRequiredDescriptionExample
userDeviceIdintYesDevice ID726

Return Data

NameTypeRequiredDescriptionExample
databoolYestrue: Success; false: Failedtrue

Example for Requesting Parameter

{
  "appId": 658409073956360262328652394,
  "method": "tracker.deviceTrip.start",
  "format": "JSON",
  "charset": "UTF-8",
  "signType": "RSA2",
  "timestamp": "1747790724852",
  "version": "1.0",
  "bizContent": {
    "userDeviceId": 726
  },
  "sign": "f1f9+LvDBlHV2FB9xZhM74BH7mHFdsUbgYFRAxIP11NKgL4rFgPGI3hepUAA6JdKiUbLixd1uGrj9KvZxbKuSbYlJ7SUrtNmOrcPDa6E6zH7IaedCeoz3OhX4F4Ge8hZVG6d+Y4Gey5T9I/qLNQWyKdgAXV6egzDmVMCdlRqEz/NffyZjdfH5bBWNiVF+MgoxTMX/T4wYOE/UnRBSFnwx09St03DMjY2fp77oCEiP4iN2h+u4gan4m0w0HOU/nle1xJ2ALh5wSwpw5zC0RCBsVb4t93TSZDuSh8otccRyz8QGeuzCw2iMvY6Q9aBdf/15uHMNsKRgSIuqIlMAGij6Q=="
}

Example for Returning Data

{
  "code": "0",
  "data": true,
  "msg": "success",
  "sign": "e0hXmfHy8gLATLrhBm/1Pwsrjw1fNVRBx1ol4PEbgqJLhz88Zm1eE0+MDEcWrTic1YasV/A5t8JyPaRnkf7Bqv6RMNWNWdtq3ThirgtWCZ/ytEbCn+97eQS8kxoAFXErrMe+xYo1FC3Ry4RAKTCnW3PwrZWJrxUUjRFEv3XResh1dF8B82dgdDcfqkz/qd61UDgnyeYc5craT+j3i4d5msy3dAzi7ttwt8iEKCHgixCSOJQqjO042y684iOSahF8KvNWI4gK+w3Qpd+8bZLv1DTBiZwa1L34nI/bQZkkEtwgef7stp5/JY0WZP5cYV2f5+RQtZ0A/eknAu0qV2ROMQ==",
  "subCode": "",
  "subMsg": ""
}

End Device Trip

Interface Description

End the trip based on user device ID.

Interface Method

tracker.deviceTrip.finish

Request Parameter

NameTypeRequiredDescriptionExample
userDeviceIdintYesDevice ID726

Return Data

NameTypeRequiredDescripptionExample
databoolYestrue: Success; false: Failedtrue

Example for Requesting Parameter

{
  "appId": 658409073956360262328652394,
  "method": "tracker.deviceTrip.finish",
  "format": "JSON",
  "charset": "UTF-8",
  "signType": "RSA2",
  "timestamp": "1747791761283",
  "version": "1.0",
  "bizContent": {
    "userDeviceId": 726
  },
  "sign": "Wua9xafqp08GqtVw6TH8Wnv7OqQEZW7jeGW63AAxarBgcKCJzEnQIEZAjqG/rHbwEbnokdu6ldyEoG0Le19dXQhkmB7fIT+hDaAXpk/PJEJB96t/W6entnhprXKgJKJt0594YT74ofJJy/3siNRY9uIJtlVDTLOFsZST/UuVhNS++B0RWGcur/PrLN5QhbPwoS7fL4rnxn7Pqz/PYCUmLjClwoT20oLf0aF6/Pf5xG3g8s4JZt4RqfENPgtGJgXEAdgXf8jRNy9U4WoZ7+jvt8v634ibJe55TErs3olG+nR5m2ypz1D8UQxNe19V2JWU49dPGuowxo1ARWkcd/xIJA=="
}

Example for Returning Data

{
  "code": "0",
  "data": true,
  "msg": "success",
  "sign": "e0hXmfHy8gLATLrhBm/1Pwsrjw1fNVRBx1ol4PEbgqJLhz88Zm1eE0+MDEcWrTic1YasV/A5t8JyPaRnkf7Bqv6RMNWNWdtq3ThirgtWCZ/ytEbCn+97eQS8kxoAFXErrMe+xYo1FC3Ry4RAKTCnW3PwrZWJrxUUjRFEv3XResh1dF8B82dgdDcfqkz/qd61UDgnyeYc5craT+j3i4d5msy3dAzi7ttwt8iEKCHgixCSOJQqjO042y684iOSahF8KvNWI4gK+w3Qpd+8bZLv1DTBiZwa1L34nI/bQZkkEtwgef7stp5/JY0WZP5cYV2f5+RQtZ0A/eknAu0qV2ROMQ==",
  "subCode": "",
  "subMsg": ""
}
Prev
User device
Next
Trip data