# Retrieve hardware detected across managed computers Returns the complete list of hardware detected across all managed computers. ## Endpoint `GET /dcapi/inventory/viewData/hardware` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/inventory/viewData/hardware` ## Scope `DesktopCentralCloud.Inventory.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Accept | string | Mandatory | `application/InventoryMobileAPI.v1+json` | ### Query Parameters | Parameter | Type | Required | Description | |---|---|---|---| | toolID | string | Mandatory | Set value as 2111 | | 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. | | hardwareTypeFilter | string | Optional | Hardware type to filter by. Obtain the list of hardware types from the response of the [Get Filter Parameters](https://www.manageengine.com/products/desktop-central/help/api/cloud/inventory-get-filter-parameters.html) API. | | manufacturerFilter | string | Optional | Manufacturer name to filter by. Obtain the list of manufacturers from the response of the [Get Filter Parameters](https://www.manageengine.com/products/desktop-central/help/api/cloud/inventory-get-filter-parameters.html) API. | ## Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/inventory/viewData/hardware?toolID=2111' \ --header 'Accept: application/InventoryMobileAPI.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - `metadata` — JSON Object: Pagination metadata - `totalRecords` — string: Total number of records matching the query - `messageResponse` — JSON Array: Array of hardware 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` - `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 Hardware view data ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": "23", "messageResponse": [ { "managed_installations_transform": "1", "hardware_name_transform": "Sample Hardware Name", "installations_transform": "1", "hardware_name": "Sample Hardware", "installations": "1", "hw_type_description_transform": "Sample Type", "manufacturer_name": "Sample Manufacturer", "hw_type_description": "Sample Hardware Type", "hardware_id": "1", "manufacturer_name_transform": "Sample Manufacturer", "managed_installations": "1" } ], "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" } ``` ![](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.