# Retrieve hardware detected across managed computers Returns the complete list of hardware detected across all managed computers. ## Endpoint `GET /dcapi/inventory/viewData/hardware` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/inventory/viewData/hardware` ### Scope `Inventory.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` **Mandatory**: `application/InventoryMobileAPI.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/inventory/viewData/hardware \ --header 'Accept: application/InventoryMobileAPI.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - `JSON Object` - **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 ### 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" } ``` ### HTTP Code 500 Response body: `application/json` - `JSON Object` - **error_code** `string`: INTERNAL_ERROR - unexpected exception in the service layer - **error_description** `string`: Internal server error message ### Sample Response: HTTP 500 Server error ```json { "error_description": "Internal server error", "error_code": "INTERNAL_ERROR" } ``` ## Possible Response Codes - **200**: HTTP code - **500**: HTTP code ## 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.