# Retrieve computers where a hardware component is installed Returns all computers that have the specified hardware component. ## Endpoint `GET /dcapi/inventory/viewData/computersByHW` ## Request ### Request URL `https://{serverurl}/dcapi/inventory/viewData/computersByHW` ### Scope `DesktopCentralCloud.Inventory.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/InventoryMobileAPI.v1+json` #### Query Parameters - **toolID** (`string`, Mandatory): Set value as `7773`. - **hwID** (`string`, Mandatory): Hardware ID. Obtain from the response of the [Get Installed Hardware List](https://www.manageengine.com/products/desktop-central/help/api/cloud/inventory-get-installed-hardware-list.html) API. - **domain** (`string`, Optional): Domain name to filter computers. Obtain from the response of the [Get Computers List](https://www.manageengine.com/products/desktop-central/help/api/cloud/computers-getcomputers.html) API. - **branchOffice** (`string`, Optional): Branch office ID to filter computers. Obtain it from the response of the [Get Remote Office List](https://www.manageengine.com/products/desktop-central/help/api/cloud/remote-offices-getremoteoffices.html) API. - **customGroup** (`string`, Optional): Custom group ID to filter computers. Obtain it from the response of the [Get Custom Group List](https://www.manageengine.com/products/desktop-central/help/api/cloud/custom-groups-get-cglist.html) API. ### Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/inventory/viewData/computersByHW?toolID=7773&hwID=SOME_STRING_VALUE' \ --header 'Accept: application/InventoryMobileAPI.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - **Response** (`JSON Object`) - **metadata** (`JSON Object`): Pagination metadata - **totalRecords** (`string`): Total number of records matching the query - **messageResponse** (`JSON Array`): Array of computer detail objects - **totalPages** (`string`): Total number of pages - **Links** (`JSON Object`): Pagination links - **status** (`string`): Response status - success ### HTTP Code 500 Response body: `application/json` - **Response** (`JSON Object`) - **error_code** (`string`): INTERNAL_ERROR - unexpected exception in the service layer - **error_description** (`string`): Internal server error message ### Possible Response Codes - **200**: HTTP code - **500**: HTTP code ### Sample Response: HTTP 200 Computers by hardware ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": "1", "messageResponse": [ { "resource_name_transform": "sample-computer", "model_transform": "Sample Model", "branch_office_id": "1", "product_number": "--", "copies": "1", "warranty_expiry_date_transform": "Oct 11, 2024", "model": "Sample Model", "live_status_resource_id": "301", "domain_netbios_name_transform": "WORKGROUP", "license_status_transform": "Licensed", "asset_tag": "-", "copies_transform": "1", "branch_office_name_transform": "Local Office", "asset_tag_transform": "-", "agent_last_contact_time_transform": "May 14, 2026 04:31 PM", "agent_logged_on_users": "Administrator", "fqdn_name_transform": "SAMPLE-COMPUTER.DOMAIN.COM", "license_status": "Licensed", "computer_description": "-", "no_of_processors": "1", "system_type": "x64-based PC", "computer_status_transform": "Unknown", "friendly_name_transform": "sample-computer", "computer_description_transform": "-", "product_number_transform": "--", "computer_status_update_time": "1778756474127", "no_of_processors_transform": "1", "computer_status": "Unknown", "branch_office_name": "Local Office", "shipping_date": "1570714200000", "agent_last_contact_time": "1778756473455", "domain_netbios_name": "WORKGROUP", "fqdn_name": "SAMPLE-COMPUTER.DOMAIN.COM", "primary_owner_name": "--", "ip_address_transform": "10.0.0.1", "agent_last_bootup_time_transform": "Apr 30, 2026 01:20 PM", "boot_up_state": "Normal boot", "mac_address": "00:00:00:00:00:00", "warranty_expiry_date": "1728653399000", "boot_up_state_transform": "Normal boot", "friendly_name": "sample-computer", "agent_logged_on_users_transform": "Administrator", "ip_address": "10.0.0.1", "shipping_date_transform": "Oct 10, 2019", "system_type_transform": "x64-based PC", "mac_address_transform": "00:00:00:00:00:00", "agent_last_bootup_time": "1777535435000", "servicetag": "SAMPLE01", "total_ram_memory": "17179869184", "resource_id": "301", "computer_live_status": "1", "resource_name": "sample-computer", "servicetag_transform": "SAMPLE01" } ], "totalPages": 1, "Links": { "next": null, "prev": null }, "status": "success" } ``` ### Sample Response: HTTP 500 Server error ```json { "error_description": "Internal server error", "error_code": "INTERNAL_ERROR" } ``` ## Rate Limit ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.