post https://services.azuga.com/azuga-ws-oauth/v3/maintanance/update.json
This API allows the user to update a maintenance reminder details that is added in your account
{
"alertName": "General Service",
"alertId": "6a1f82c3-4a5c-11ed-bec3-1125f51b370d",
"cc": "[email protected]",
"emailAdmin": false,
"emailDriver": false,
"ruleSets": [
{
"name": "General Service",
"baseTimeStr": "06-30-2022 12:00AM",
"operationType": 0,
"ruleConditions": [
{
"baseValue": "06-30-2022 12:00AM",
"conditionType": 1,
"requiredValue": "180"
}
]
}
],
"alertReminders": [
{
"alertReminderId": "6a1f82c4-4a5c-11ed-bec3-21569acd5bac",
"days": 7,
"miles": 500,
"engineHours": 100,
"thresholdExceed": false
}
],
"alertType": {
"alertTypeId": 11
},
"muted": false,
"parameters": [],
"users": [
{
"userId": "8a9388a9-7d5a-bf20-017d-723abf730e61"
}
],
"alertToTrackeeMapping": [
{
"vehicleId": "c78d4454-4569-11ed-8b3a-b975b20af0dc"
}
],
"createdAt": 1665599630000,
"createdBy": "8a9388a8-7b52-e9f5-017b-7912215618ff",
"customerId": 1059
}
API Response explanation
Field | Description | Data Type |
---|---|---|
generatedAtInMillis | API request time in UTC milliseconds | Long |
data | Response from the API request. On successful update, the server responds with "Updated Successfully" | String |
error | Error description - If any | List |