POST Hardware Asset Components
You can fetch all the details of the Hardware tab's components like OS, BIOS, etc.
URL: https://{{server-url}}/api/v1/asset/{asset_id}/discoveryComponent/{component_type}
Example: https://{{server-url}}/api/v1/asset/1/discoveryComponent/ram_component
Header:
Key | Description |
---|---|
Authorization | Bearer {access token obtained after authorization} |
Content-Type | application/json |
Request
curl --location --request POST 'https://172.16.11.148/api/v1/asset/1/discoveryComponent/ram_component'
Response
{
"discoveryComponentRestList": [
{
"type": "Ram",
"id": 1,
"assetId": 1,
"componentType": "ram_component",
"serialNumber": "00000000",
"manufacturerName": "Hynix",
"size": "8192 MB",
"memoryType": "Unknown",
"width": 64,
"clockSpeed": 3.2E9,
"bankLocater": "DIMM 0"
}
],
"totalCount": 1
}