Skip to main content
Version: 8.4

GET an Asset

URL: BaseURL/api/v1/asset/modelName/assetId

Example (Response)

Hardware Asset

BaseURL/api/v1/asset/asset_hardware/assetId

{
"type": "HardwareAsset",
"id": 1,
"assetTypeName": "Computer",
"assetId": "AST-1",
"name": "Hardware Asset Name Updated",
"impactName": "Low",
"statusName": "In Use",
"origin": "manual",
"acquitionDate": "15-08-2020",
"tags": [
"tag-1",
"tag-2"
],
"customField": {
"hardware-textbox": "hardware-text-updated",
"number": 8778
},
"createdDate": "19-10-2020 11:23",
"updatedDate": "19-10-2020 11:41",
"assetPropertyList": [
{
"id": 1,
"refName": "AST-1",
"type": "HardwareProperty",
"serialNumber": null,
"propertyCustomField": null
},
{
"id": 1,
"refName": "AST-1",
"type": "ComputerProperty",
"osName": "Windows X10",
"osVersion": null,
"servicePackName": null,
"osLicenceKey": null,
"osArchitecture": null,
"bootupState": null,
"memorySize": 0,
"diskSize": 0,
"domainName": null,
"cpuSpeed": 0,
"cpuCoreCount": 0,
"partOfDomain": false,
"numberOfLogicalProcessors": 0,
"numberOfProcessors": 0,
"pcSystemType": null,
"lastLoggedInUser": null,
"activationStatus": null,
"propertyCustomField": {
"computerproperty-textbox": "computer-text-updated"
}
}
]
}

Software Asset

BaseURL/api/v1/asset/asset_software/assetId

{
"type": "SoftwareAsset",
"id": 1,
"assetTypeName": "OS",
"assetId": "AST-3",
"name": "Software Asset Name Updated",
"impactName": "Low",
"statusName": "In Use",
"origin": "manual",
"acquitionDate": "15-08-2020",
"tags": [
"tag-1",
"tag-2"
],
"customField": {
"number": 889,
"software-textbox": "software-text-updated"
},
"createdDate": "19-10-2020 11:30",
"updatedDate": "19-10-2020 11:39",
"assetPropertyList": [
{
"id": 1,
"refName": "AST-3",
"type": "SoftwareProperty",
"softwareCost": 500,
"licenseKeys": [],
"executableFileNames": [],
"propertyCustomField": {
"softwareproperty-textbox": "softwareproperty-text-updated"
}
}
],
"installationStatus": false
}

Non-IT Asset

BaseURL/api/v1/asset/asset_non_it/assetId

{
"type": "NonITAsset",
"id": 1,
"assetTypeName": "Document",
"assetId": "AST-4",
"name": "Non IT Asset Name updated",
"impactName": "Low",
"statusName": "In Use",
"origin": "manual",
"acquitionDate": "15-08-2020",
"tags": [
"tag-1",
"tag-2"
],
"customField": {
"number": 89,
"nonit-textbox" : "nonit-textbox-updated"
},
"createdDate": "19-10-2020 11:33",
"updatedDate": "19-10-2020 11:37"
}