# Retrieve hardware summary of a computer Returns a consolidated hardware summary of a computer including processor, memory, disk, and system model information. ## Endpoints `GET /dcapi/inventory/computers/{resourceID}/hardwareSummary` ## Request URL `https://{server-hostname}:8383/dcapi/inventory/computers/{resourceID}/hardwareSummary` ## Scope `Inventory.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** (`string`, Mandatory): `application/hardwareSummary.v1+json` ### Path Parameters - **resourceID** (`string`, Mandatory): Resource identifier of the computer. Obtain from the response of the [Get Computers List](https://www.manageengine.com/products/desktop-central/help/api/onpremise/computers-getcomputers.html) API. ## Sample Request ### Curl ```curl curl --request GET \ --url https://appdomain/dcapi/inventory/computers/{resourceID}/hardwareSummary \ --header 'Accept: application/hardwareSummary.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | manufacturerShortName | string | Short name of the computer manufacturer | | redirectionURL | string | URL to the manufacturer's support page for this service tag | | epochShippingDate | string | Shipping date in epoch milliseconds | | warrantyExpiryDate | string | Warranty expiry date in human-readable format | | daysToWarrantyExpiry | string | Number of days remaining until warranty expiry (negative if expired) | | computerAge | string | Age of the computer in years | | shippingDate | string | Shipping date in human-readable format | | computerModel | string | Model name of the computer | | processorArchitecture | string | Processor architecture type | | ramMemory | string | Total RAM in MB | | computerManufacturer | string | Full name of the computer manufacturer | | processorNames | string | Name of the processor(s) installed | | productNumber | string | Product number of the computer | | epochWarrantyExpiryDate | string | Warranty expiry date in epoch milliseconds | | serviceTag | string | Service tag of the computer | | computerType | string | Type of computer (e.g., Desktop, Laptop, All in One) | ### HTTP Code 401 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | UAC_UNAUTHORIZED - user lacks the required uem-roles or credentials are missing | | error_description | string | Authentication or authorization failure reason | ### HTTP Code 404 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | RESOURCE_NOT_AVAILABLE - the specified resourceID does not exist or is not accessible | | error_description | string | Resource not found message | ### HTTP Code 500 Response Body: `application/json` | Attribute | Type | Description | |---|---|---| | error_code | string | INTERNAL_ERROR - unexpected exception in the service layer | | error_description | string | Internal server error message | ## Possible Response Codes - `200` HTTP code - `401` HTTP code - `404` HTTP code - `500` HTTP code ## Sample Response: HTTP 200 Hardware summary ```json { "computerType": "Desktop", "daysToWarrantyExpiry": "-579", "shippingDate": "Oct 10, 2019", "ramMemory": 16384, "manufacturerShortName": "Sample", "productNumber": "--", "computerManufacturer": "Sample Manufacturer", "warrantyExpiryDate": "Oct 11, 2024", "serviceTag": "SAMPLE01", "epochShippingDate": "1570714200000", "epochWarrantyExpiryDate": "1728653399000", "processorNames": "Sample Processor @ 3.20GHz", "computerAge": "6", "processorArchitecture": "x64-based PC", "redirectionURL": "https://www.example.com/support/servicetag/SAMPLE01", "computerModel": "Sample Model" } ``` ## Sample Response: HTTP 401 Missing credentials ```json { "error_description": "Unauthorized access", "error_code": "UAC_UNAUTHORIZED" } ``` ## Sample Response: HTTP 404 Resource not found ```json { "error_description": "The specified resource was not found", "error_code": "RESOURCE_NOT_AVAILABLE" } ``` ## Sample Response: HTTP 500 Server error ```json { "error_description": "Internal server error", "error_code": "INTERNAL_ERROR" } ``` ## Rate Limit **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.