Update an Asset

This API allows you to update an asset and add all its associated information. You are allowed to update only the assets you have access to.

{
    "name": "testAsset111",
    "assetno": "testAsset2",
    "make": "Volkswagen",
    "model": "Golf",
    "year": "2013",
    "licensePlateNo": "A12345",
    "identification": "Asset54",
    "groupId": "db6c11dc-4f9d-11e4-950e-699a6d6c7858",
    "deviceId": "01cff9f3-e5ae-11ec-9f98-d71f751c0e0c",
    "engineRunTime": 144000,
    "lastServiceDate": "07/05/2022",
    "nextServiceDate": "07/30/2022",
    "extensionLiteStr": "{\"extension1Id\":\"4f3473fb-c9c1-11ea-bd28-3956495f9ab5\",\"extension2Id\":\"a5d892f4-decc-11ea-944f-2dcdde665427\"}",
    "tagsAssociated": "[\"Business\"]",
    "assetTagsNames": null,
    "bgColor": "#010000",
    "color": "#ff0000",
    "iconName": "SUV",
    "temperatureSensorIds": null,
    "currentOdometerReading": "0.0000",
    "id": "35abce75-0f47-11ed-8365-0b43f444e82c"
}

📘

Sample Request

https://services.azuga.com/azuga-ws-oauth/v3/assets/35abce75-0f47-11ed-8365-0b43f444e82c.json

API Response glossary

FieldDescriptionData Type
idUnique id represents the assetString
assetnoName of the asset typeString
makeMake of the vehicleString
modelModel of the vehicleString
yearManufactured year of the vehicleInteger
tagNamesFor Azuga internal useString
groupIdUnique identifier representing the group associated with the assetString
groupNameName of the groupString
nameName of the assetString
deviceIdUnique identifier of the datalogger device associated with the assetString
trackeeTypeIdUnique identifier representing the vehicle type
1 = Vehicle
3 = Asset
Short
deviceNameSerial number of the device associated with the assetString
associatedTagIdsFor Azuga internal useString
licensePlateNoLicense plate number of the vehicleString
identificationAsset identification nameString
lastServiceDateLast service date of the vehicle in dd/mm/yyyy formatDate
nextServiceDateNext service date of the vehicle in dd/mm/yyyy formatDate
lsdTimestampLast service time of the vehicle in UTC millisecondsTimestamp
nsdTimestampNext service time of the vehicle in UTC millisecondsTimestamp
isSharedFor Azuga internal useBoolean
extensionLiteMeta-data of the extensionsObject
extension1IdThe unique identifier represents the extension1 which is associated with the assetString
extension2IdThe unique identifier represents the extension2 which is associated with the assetString
extension1NameName of the extension1String
extension2NameName of the extension2String
extensionTypeFor Azuga internal useString
extensionEnabledFor Azuga internal useBoolean
extensionLiteStrFor Azuga internal useString
extension1NameFor Azuga internal useString
extension2NameFor Azuga internal useString
iconNameName of the icon configured for this assetString
customIconFor Azuga internal usebyte[]
colorHex color code which denotes the text color. Default color is red.String
bgColorHex color code which denotes the background color. Default color is red.String
vehicleIconFor Azuga internal useString
engineRunTimeCurrent engine time in secondsInteger
initialEngineRuntimeInitial engine time in secondsInteger
temperatureSensorIdsFor Azuga internal usestring
assetTagsTag names enclosed by # symbol
Eg: "assetTags": "#Tag1#"
string
tagsAssociatedFor Azuga internal usestring
assetTagsNamesFor Azuga internal usestring
fuelCardNumberFor Azuga internal usestring
iconUrlFor Azuga internal usestring
imeiIMEI of the SIM associated with the devicestring
vehicleDeviceOdoReadingOdometer reading from the assetDouble
vehicleDeviceCurrentodoReadingSystem calculated odometer reading of the assetDouble
odometerReadingRounded odometer reading from the assetDouble
currentOdometerReadingRounded system calculated odometer reading of the assetDouble
errorError description - if anyList
Language
Credentials
Header
Click Try It! to start a request and see the response here!