Create a Config

This API allows the user to create a device configuration in your account

{
    "name": "TESTING",
    "description": null,
    "trackingSchedule": 1,
    "trackNonGPSPoints": 1,
    "deviceConfigurations": [
        {
            "ignitionOnFrequency": 10,
            "ignitionOffFrequency": 4,
            "deviceTypeId": 1,
            "deviceVendorId": 1,
            "buzzerEnabled": true,
            "highIgnitionOnFrequency": 600,
            "highIgnitionOffFrequency": 4
        },
        {
            "ignitionOnFrequency": 24,
            "ignitionOffFrequency": 60,
            "deviceTypeId": 6,
            "deviceVendorId": 3
        }
    ],
    "hrsOfOperation": [
        {
            "day": "0",
            "startTime": "00:00",
            "endTime": "23:59",
            "hooConfigType": 1
        }
    ]
}

API Response explanation

Field

Description

Data Type

id

Unique identifier representing the configuration

String

name

Name of the configuration

String

description

Description of the configuration

String

trackingSchedule

Boolean value representing whether the tracking schedule is enabled.

True = Enabled
False = Disabled

boolean

groupList

Array of objects representing the meta data of the group

List<GroupsVO>

groupId

Unique identifier representing the group

String

hrsOfOperation

Array of objects representing the work hours

List<HoursOfOperationVO>

id

Unique identifier representing the hrsOfOperation

String

day

Integer value representing the day of the week to be tracked

0 = Sunday
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday

Byte

startTime

Start time for the vehicle to be tracked. This is in hh:mm format

String

endTime

End time for the vehicle to be tracked. This is in hh:mm format

String

hooConfigType

Integer value representing the configuration type if the hrsOfOperation. The valid inputs are 1 & 2.

1 = Hours of operation(work hours) for normal tracking interval
2 = Hours of operation(work hours) for high frequency tracking interval

Integer

deviceConfigurations

Array of objects representing the configurations for different device types - Devices & Asset Trackers

Set<DeviceConfiguration>

id

Unique identifier representing the device configuration

String

ignitionOnFrequency

Tracking interval in minutes when the ignition is ON

Integer

ignitionOffFrequency

Tracking interval in hours when the ignition is OFF

Integer

deviceTypeId

Unique identifier representing the device type.

1 = Device
6 = Asset tracker

Integer

deviceVendorId

Unique identifier representing the device vendor

Integer

deleted

Delete status of the configuration.

True = Deleted
False = Not deleted

boolean

deletedAt

Deleted time of the configuration in UTC milliseconds

Timestamp

buzzerEnabled

Boolean value representing the ON/OFF status of the buzzer

True = Buzzer is ON
False = Buzzer is OFF

boolean

highIgnitionOnFrequency

High frequency tracking interval in seconds when the ignition is ON

Integer

highIgnitionOffFrequency

High frequency tracking interval in hours when the ignition is OFF

Integer

statusChanged

For internal Azuga use

boolean

ignitionChanged

For internal Azuga use

boolean

error

Error description - if any

List<Error>

Language
Credentials
Header
Click Try It! to start a request and see the response here!