The AssetUpdate API allows you to update an existing Asset record. The request body includes asset name, asset status, asset type, and other relevant information.
Method
API Endpoint
Headers
Example Request
{
"name": "assest1",
"installationDate": null,
"serialNo": null,
"brand": null,
"customer": null,
"customerLocation": null,
"assetsLocation": {
"building": null,
"floor": null,
"room": null
},
"warrantyStartDate": null,
"warrantyEndDate": null,
"description": null,
"notes": null,
"status": true,
"condition": null,
"createdBy": {
"id": 1,
"login": "load.test1@trial.custella.com",
"firstName": "Load",
"lastName": "Adminnn",
"imageUrl": null,
"fullName": "Load Adminnn"
},
"modifiedBy": {
"id": 1,
"login": "load.test1@trial.custella.com",
"firstName": "Load",
"lastName": "Adminnn",
"imageUrl": null,
"fullName": "Load Adminnn"
},
"createdDate": "2023-10-05T02:26:18Z",
"lastModifiedDate": "2023-10-05T02:26:21Z",
"runningNo": "assest1 012293",
"street": null,
"city": null,
"state": null,
"postCode": null,
"country": null,
"latitude": null,
"longitude": null,
"majorServiceFreq": null,
"minorServiceFreq": null,
"nextMaintenanceDate": null,
"nextMaintenanceType": null,
"maintenanceStatus": "OVERDUE",
"equipmentNumber": null,
"equipmentMeterReading": null,
"manufacturer": null,
"manufactureYear": null,
"engineModel": null,
"engineNumber": null,
"model": null,
"attachments": [],
"product": null,
"assetsType": {
"createdBy": "system",
"createdDate": "2023-04-30T23:25:44Z",
"lastModifiedBy": "load.test1@trial.custella.com",
"lastModifiedDate": "2023-05-08T09:09:57Z",
"id": 1,
"name": "Asset",
"label": null,
"isDefault": false,
"active": true,
"systemValue": false,
"code": "Asset",
"order": 1
},
"assetsStatus": {
"createdBy": "system",
"createdDate": "2023-04-30T23:25:44Z",
"lastModifiedBy": "load.test1@trial.custella.com",
"lastModifiedDate": "2023-05-15T23:11:38Z",
"id": 4,
"name": "Available",
"label": null,
"order": 0,
"isDefault": false,
"active": true,
"systemValue": false,
"code": "Available",
"colorCode": null
},
"custodian": null,
"location": null,
"acquisitionDate": null,
"externalId": "assetExtId",
"assetsCode": null,
"equipmentType": null,
"nextMaintenanceItem": null,
"engineMake": null,
"engineNumber2": null,
"serviceZone": null,
"assetsJsonField": {
"mccbMake": null,
"mccbType": null,
"mccbRelatedAMPS": null,
"mccbSerialNumber": null,
"elrMake": null,
"elrType": null,
"elrRelatedAMPS": null,
"elrSerialNumber": null,
"engineOilCapacity": null,
"engineFuelTankCapacity": null,
"engineFuelConsumption": null,
"engineRpm": null,
"engineRatedNetOutput": null,
"engineRatedFrequency": null,
"engineCoolingSystem": null,
"engineCoolantCapacity": null,
"overallHeight": null,
"overallWidth": null,
"overallLength": null,
"dryWeight": null,
"wetWeight": null,
"rigSaver": null,
"zoneToMachine": null,
"offshoreSpecification": null,
"compressorTankCapacity": null,
"compressorTankSerialNumber": null
},
"placeId": null,
"site": null
}
Example Response
//status - 200
{
"id": 12293
}