# 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 ## Sample Response: HTTP 200 ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": "1", "messageResponse": [ { "resource_name_transform": "sample-computer", "model_transform": "Sample Model 7470", "installed_date_transform": "Mar 5, 2026", "architecture_transform": "32-bit", "uninstall_remarks": "--", "processor_arch_name": "x64-based PC", "uninstall_remarks_transform": "--", "sw_usage_type": "dc.common.NOT_KNOWN", "branch_office_id": "1", "model": "Sample Model 7470", "os_name_transform": "Windows 11 Professional Edition (x64)", "installed_date": "1772700015000", "software_name": "Sample Prohibited Software", "software_version": "1.0.0", "domain_netbios_name_transform": "WORKGROUP", "computer_resource_id": "301", "asset_tag": "-", "software_name_transform": "Sample Prohibited Software", "location_transform": "--", "branch_office_name_transform": "Local Office", "asset_tag_transform": "-", "os_platform": "1", "agent_logged_on_users": "SampleUser", "fqdn_name_transform": "sample-computer.example.com", "display_name": "Sample Prohibited Software", "osflavor_id": "0", "computer_description": "-", "user_name_transform": "--", "processor_arch_name_transform": "x64-based PC", "no_of_processors": "1", "domain": null, "computer_status_transform": "Unknown", "friendly_name_transform": "sample-computer", "computer_description_transform": "-", "last_successful_scan": "1778767527524", "computer_status_update_time": "1778767500267", "no_of_processors_transform": "1", "computer_status": "Unknown", "branch_office_name": "Local Office", "software_version_transform": "1.0.0", "processor_architecture": "2", "user_name": null, "domain_netbios_name": "WORKGROUP", "primary_owner_name_transform": "--", "user_component_id": null, "fqdn_name": "sample-computer.example.com", "primary_owner_name": "--", "software_id": "1", "ip_address_transform": "10.0.0.1", "boot_up_state": "Normal boot", "mac_address": "00:00:00:00:00:00", "architecture": "32-bit", "boot_up_state_transform": "Normal boot", "domain_transform": "--", "friendly_name": "sample-computer", "last_successful_scan_transform": "May 14, 2026 07:35 PM", "uninstall_status_transform": "--", "last_sync_time": "1778828070858", "agent_logged_on_users_transform": "SampleUser", "ip_address": "10.0.0.1", "sw_family": "1", "mac_address_transform": "00:00:00:00:00:00", "servicetag": "SAMPLE01", "total_ram_memory": "17179869184", "resource_id": "301", "os_name": "Windows 11 Professional Edition (x64)", "location": "--", "computer_live_status": "1", "uninstall_status": "--", "resource_name": "sample-computer", "customer_id": "1", "is_usage_prohibited": "2", "servicetag_transform": "SAMPLE01" } ], "totalPages": 1, "Links": { "next": null, "prev": null }, "status": "success" } ``` ## Sample Response: HTTP 500 ```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.