put https://services.azuga.com/azuga-ws-oauth/v3/configs/
This API allows the user to update a device configuration in your account
{
"name": "TESTING",
"description": null,
"deviceConfigurations": [
{
"ignitionOnFrequency": "15",
"ignitionOffFrequency": 5,
"deviceTypeId": 1,
"deviceVendorId": 1,
"buzzerEnabled": true,
"highIgnitionOnFrequency": 900,
"highIgnitionOffFrequency": 4
},
{
"ignitionOnFrequency": 24,
"ignitionOffFrequency": 60,
"deviceTypeId": 6,
"deviceVendorId": 3
}
],
"id": "a13c527a-3da0-11ed-85d6-932419d798ee"
}
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 |
groupListString | Comma-seperated strings representing the group names associated with the configuration | String |
hrsOfOperation | Array of objects representing the work hours | Object |
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 | Timestamp |
endTime | End time for the vehicle to be tracked. This is in hh:mm format | Timestamp |
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 |
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 |