Update Asset

/assets/:id

Update Asset [PUT]

Update an existing asset.

Authorization: Admin, Web, Mobile

Request

Body

{

"id": 522540,

"id1": "SA9000",

"id2": "GC908",

"lat": 33.785882,

"lon": -84.394221,

"description": "14' Hoist Crane",

"urgentNote": "cut power",

"statusId": "239",

"locationId": "10565",

"areadId": "9981",

"classificationId": 477,

"attributes": {

"4478": {

"value": "ACME"

},

"4479": {

"value": "14",

"unitOfMeasure": "feet"

},

"4480": {

"value": "09/15/2014"

}

}

}


Response 200

Body

{

"item": {

"id": 522540,

"guid": "434b89eb-0923-4f32-a5f5-4e382d7d473b",

"id1": "PO90819",

"id2": "GC908",

"accountId": 19820,

"locationId": 60092,

"description": "14' Gantry Crane",

"createdAt": "2014-02-28T17:30:42.56",

"createdBy": {

"id": 1011,

"firtName": "Homer",

"lastName": "Simpson"

},

"lat": 33.785882,

"lon": -84.394221,

"latLonDate": "2014-02-28T17:30:42.56",

"latLonAccuracyInMeters": 10,

"urgentNote": "cut power",

"statusId": 897,

"status": "In Service",

"rowStatus": 1,

"areaName": "Base 3",

"modifiedAt": "2014-02-28T17:30:42.883",

"account": {

"id": 9082,

"num": "1001",

"name": "Springfield Nuclear Plant",

"nameNum": "Springfield Nuclear Plant:1001",

"address": "123 Peachtree Street",

"rowStatus": 1,

"city": "Springfield",

"state": null,

"zip": "30022",

"country": "US"

},

"location": {

"id": 5093,

"name": "Ground Floor",

"num": "908"

},

"classification": {

"id": 152,

"name": "Gantry Cranes",

"rowStatus": 1,

"imageUrlSmall": "https://archive.inspectall.com/...Small",

"categoryId": 9088,

"id1Name": "Identifier",

"id1Required": true,

"id2Name": "TagID2",

"id2Active": true,

"statusActive": true,

"urgentNoteActive": true,

"defaultReport": "ItemDetailReport",

"category": {

"id": 17,

"name": "Cranes",

"rowStatus": 1

}

},

"attributes": [

{

"id": 37862,

"classAttributeId": 4478,

"value": "ACME"

},

{

"id": 37863,

"classAttributeId": 4479,

"value": 14,

"unitOfMeasure": "feet"

},

{

"id": 39082,

"classAttributeId": 4480,

"value": "09/15/2014"

}

],

"classificationId": 897,

"areaId": "434b89eb-0923-4f32-a5f5-4e382d7d473b"

}

}


Still need help? Contact Us Contact Us