# Retrieve computers where a specific prohibited software is detected by using Query param prohibitedswid={software_id} Returns the list of computers that have the specified prohibited software installed. Use the query parameter prohibitedswid to specify the prohibited software. ## Endpoints **GET** `/dcapi/inventory/viewData/computersBySW` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/inventory/viewData/computersBySW` ## 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 `4202` - **prohibitedswid** — string — **Mandatory** - Prohibited software ID to filter by prohibited software. Obtain from the response of the [Get Prohibited Software List](https://www.manageengine.com/products/desktop-central/help/api/cloud/inventory-get-prohibited-software-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. - **liveStatus** — string — Optional - Agent live status. Allowed values: `1` - Live, `2` - Down, `3` - Unknown - **architecture** — string — Optional - OS architecture filter. Allowed values: `32-bit` - 32 bit OS, `64-bit` - 64 bit OS ## Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/inventory/viewData/computersBySW?toolID=4202&prohibitedswid=SOME_STRING_VALUE' \ --header 'Accept: application/InventoryMobileAPI.v1+json' \ --header 'Authorization: Zoho-oauthtoken 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 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 - 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 ## 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.