Options
All
  • Public
  • Public/Protected
  • All
Menu
notexported

See type declaration

a150 Crawler

DELETE Request

From ./dist/samples/json/requests/devices/vehicles/a150/core/a150DeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "DELETE",
"payload": {
"devices": {
"329BDB678D59": {
"model": 20
}
}
}
}

Hierarchy

Index

Properties

auxLight?: Light

Aux Light

Controls the auxiliary light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "C253B0292946": {
    "model": 20,
    "auxLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "31C409D6420B": {
    "model": 20,
    "auxLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "CB938F7ABEE8": {
    "model": 20,
    "auxLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "39F5CD7C8240": {
    "model": 20,
    "auxLight": {
    "intensity": 80
    }
    }
    }
    }
    }
battery?: Battery

Main Crawler Battery

Example Payload

Battery Danger Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryDangerSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"5D73DD2DB3EA": {
"model": 20,
"battery": {
"percent": 15
}
}
}
}
}

Battery Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"03A4E6D47ACC": {
"model": 20,
"battery": {
"voltage": 72,
"percent": 33,
"charging": false
}
}
}
}
}

Battery Shutdown Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"01625C8F336D": {
"model": 20,
"battery": {
"percent": 3
}
}
}
}
}

Battery Warning Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryWarningSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"1E92661F73D4": {
"model": 20,
"battery": {
"percent": 30
}
}
}
}
}
bodyLeak?: boolean

Body Leak Fault

Example Payloads

UPDATE Requests

  • No body leak

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasNoBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7ED41AE4BD5E": {
    "model": 20,
    "bodyLeak": false
    }
    }
    }
    }
  • Body leak present

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "76C87403EDF8": {
    "model": 20,
    "bodyLeak": true
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150BodyLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8F3C8A692DF8": {
    "model": 20,
    "bodyLeak": true
    }
    }
    }
    }
calibrator?: boolean

Calibrator

Calibrator Front-end (request) Back-end (response)
true Calibrate -
false Cancel Calibration -
undefined - -
cameraHead?: Record<string, never> | A200CameraHead | A150CameraHead

Camera Head

Example Payloads

GET Requests

  • a150 camera head

    From ./dist/samples/json/requests/devices/vehicles/a150/cameraHead/a150CameraHead/core/a150A150CameraHeadSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "DELETE",
    "payload": {
    "devices": {
    "FF32A4E1CF86": {
    "model": 20,
    "cameraHead": {}
    }
    }
    }
    }
cameras?: Record<string, Removable<Cameras>>

Cameras

Example Payloads

DELETE Requests

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CameraDeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "DELETE",
"payload": {
"devices": {
"6431242D5EF9": {
"model": 20,
"cameras": {
"38535FDB7EA5": {}
}
}
}
}
}

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CamerasSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "DELETE",
"payload": {
"devices": {
"6EB6F97A0EFB": {
"model": 20,
"cameras": {}
}
}
}
}
cpProbe?: string

The cp probe

cpuTemp?: number

CPU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"C969052D5921": {
"model": 20,
"cpuTemp": 11
}
}
}
}
  • CPU temperature warning

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureWarningSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"2F2EAA46F93B": {
"model": 20,
"cpuTemp": 75
}
}
}
}
  • CPU temperature shutdown

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"0835B36C3AD3": {
"model": 20,
"cpuTemp": 85
}
}
}
}
cygnus?: cygnusType

The ut(cygnus) probe

drive?: CrawlerDrive

Drive

Controls the direction of drive for the a150

remarks

See CrawlerDrive type for more details

Example Payloads

SET Requests

  • Arbitrary Values

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "5851D99913B7": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL",
    "speed": 67,
    "steer": -87,
    "motorsDisabled": false,
    "calibrator": false
    }
    }
    }
    }
    }
  • Drive mode: Normal

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeNormalSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "A8016E41C71D": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL"
    }
    }
    }
    }
    }
  • Drive mode: Assist

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeAssistSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "236394C8BAF6": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_ASSIST"
    }
    }
    }
    }
    }
  • Drive mode: Cruise

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeCruiseSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "3B4ADFE70CA6": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_CRUISE"
    }
    }
    }
    }
    }
  • Random Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSpeedRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "711244749E02": {
    "model": 20,
    "drive": {
    "speed": 22
    }
    }
    }
    }
    }
  • Max Speed Forward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedForwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "C02F6C29D26D": {
    "model": 20,
    "drive": {
    "speed": 100
    }
    }
    }
    }
    }
  • Max Speed Backward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedBackwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "5D9D8BA0CCFF": {
    "model": 20,
    "drive": {
    "speed": -100
    }
    }
    }
    }
    }
  • No Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSpeedSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "D73FB2CB75CA": {
    "model": 20,
    "drive": {
    "speed": 0
    }
    }
    }
    }
    }
  • Random Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "42701C274201": {
    "model": 20,
    "drive": {
    "steer": 40
    }
    }
    }
    }
    }
  • Steer Left

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerLeftSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "9590EFBE4A31": {
    "model": 20,
    "drive": {
    "steer": -100
    }
    }
    }
    }
    }
  • Steer Right

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRightSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "93B155F9AFFE": {
    "model": 20,
    "drive": {
    "steer": 100
    }
    }
    }
    }
    }
  • No Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSteerSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "869F14B85B6E": {
    "model": 20,
    "drive": {
    "steer": 0
    }
    }
    }
    }
    }
  • Motors Disabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsDisabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "1D3AEA640E52": {
    "model": 20,
    "drive": {
    "motorsDisabled": true
    }
    }
    }
    }
    }
  • Motors Enabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsEnabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "8F46A698408C": {
    "model": 20,
    "drive": {
    "motorsDisabled": false
    }
    }
    }
    }
    }
  • Active Freewheel Calibration

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150AFWCalibrationSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "4BECE598AA93": {
    "model": 20,
    "drive": {
    "calibrator": true
    }
    }
    }
    }
    }
elevatingArm?: ElevatingArm

Elevating Arm

No elevating arm

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmNotPresentSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"A207DDFC1D92": {
"model": 20,
"elevatingArm": {
"present": false
}
}
}
}
}

Elevating arm minimum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMinHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"97E6E7971AAB": {
"model": 20,
"elevatingArm": {
"height": 0
}
}
}
}
}

Elevating arm maximum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMaxHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"53186B414578": {
"model": 20,
"elevatingArm": {
"height": 100
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"C1CE3664220B": {
"model": 20,
"elevatingArm": {
"present": true,
"height": -27,
"speed": 13,
"leak": false
}
}
}
}
}
imuTemp?: number

IMU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AF40EF24EC2A": {
    "model": 20,
    "imuTemp": 75
    }
    }
    }
    }
  • IMU temperature warning

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2CFFE449A283": {
    "model": 20,
    "imuTemp": 75
    }
    }
    }
    }
  • IMU temperature shutdown

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0791E1972174": {
    "model": 20,
    "imuTemp": 85
    }
    }
    }
    }
incline?: number

Vehicle incline

minimum

-180.0

maximum

180.0

ip?: string

IP address

leftMotorDiagnostics?: MotorDiagnostics

Left Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"33C3C1AE3A45": {
"model": 20,
"leftMotorDiagnostics": {
"current": 0,
"overcurrent": false,
"pwm": 5,
"rpm": 1,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"4E016AA8954D": {
"model": 20,
"leftMotorDiagnostics": {
"current": 36,
"overcurrent": true,
"pwm": 55,
"rpm": -36,
"failure": false
}
}
}
}
}
rearLight?: Light

Aux Light

Controls the rear light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "BB1D9050EA3E": {
    "model": 20,
    "rearLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "319C43570486": {
    "model": 20,
    "rearLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "1DABC89200DC": {
    "model": 20,
    "rearLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "250C7513783C": {
    "model": 20,
    "rearLight": {
    "intensity": 59
    }
    }
    }
    }
    }
rightMotorDiagnostics?: MotorDiagnostics

Right Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"F92EC5CC6B3D": {
"model": 20,
"rightMotorDiagnostics": {
"current": 9,
"overcurrent": false,
"pwm": 0,
"rpm": -1,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"238DE0C447D3": {
"model": 20,
"rightMotorDiagnostics": {
"current": 25,
"overcurrent": true,
"pwm": 9,
"rpm": -66,
"failure": false
}
}
}
}
}
roll?: number

Vehicle roll

minimum

-180.0

maximum

180.0

sonde?: Sonde

Sonde

Example Payloads

SET Request

  • Sonde enabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeEnabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"93615BCEBE13": {
"model": 20,
"sonde": {
"enabled": true
}
}
}
}
}
  • Sonde Disabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeDisabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"47790DB34269": {
"model": 20,
"sonde": {
"enabled": false
}
}
}
}
}
usageTime?: UsageTime

Vehicle Usage Time

Example Payloads

GET Requests

  • Current seconds

    From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150CurrentSecondsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C05CC3580114": {
    "model": 20,
    "usageTime": {
    "currentSeconds": 65
    }
    }
    }
    }
    }
  • Total Seconds

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150TotalSecondsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"5C42DF48A5DC": {
"model": 20,
"usageTime": {
"totalSeconds": 56
}
}
}
}
}
  • Arbitrary Total Usage

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150UsageTimeRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "UPDATE",
"payload": {
"devices": {
"C72573A1ED31": {
"model": 20,
"usageTime": {
"totalSeconds": 23,
"currentSeconds": 19
}
}
}
}
}
version?: DeviceVersion

Version