# Retrieves per-resource execution status for a deployment Fetches the installation execution status for each target resource in a deployment collection, including success/failure remarks and timestamps. ## Endpoints `GET` `/dcapi/swDeployment/swExecutionStatus` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/swDeployment/swExecutionStatus` ## Scope `DesktopCentralCloud.SWDeployment.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/swExecutionStatus.v1+json` ### Query Parameters - **collectionId** `long` — Optional - Deployment collection ID. Obtain from the collectionId field in the response of the [Custom Group Deployments](https://www.manageengine.com/products/desktop-central/help/api/cloud/self-service-portal-get-cg-deployments.html) API. - **resourceId** `long` — Optional - Target resource ID to filter execution status for a specific computer. Obtain from the resourceId field in the response of the [Get Computers](https://www.manageengine.com/products/desktop-central/help/api/cloud/computers_getcomputers.html) API. - **status** `string` — Optional - Optional status filter: Yet to Install, Installed, Failed, Uninstalled, or Downloading. - **packageName** `string` — Optional - Optional package name filter to narrow results to a specific package. - **offset** `integer` — Optional - Zero-based starting index. Defaults to 0. - **limit** `integer` — Optional - Maximum records per page. Maximum allowed value: 1000. ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/swDeployment/swExecutionStatus \ --header 'Accept: application/swExecutionStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **totalCount** `integer` - Total number of execution status records - **executionDetails** `JSON Array` - Array of per-resource execution status entries ### HTTP Code 500 Response Body — `application/json` - `JSON Object` - **errorCode** `string` - INTERNAL_ERROR for DB query failures, SW_INTERNAL_ERROR for package operation errors - **errorMessage** `string` - Internal server error with details about the package retrieval or execution status failure ## Possible Response Codes - **200** — HTTP code - **500** — HTTP code ## Sample Response: HTTP 200 Mixed execution results ```json { "executionDetails": [ { "resourceId": 301, "executedTime": 1713264000000, "resourceName": "DESKTOP-ABC123", "packageName": "7-Zip", "remarks": "Successfully installed", "status": "Installed" } ], "totalCount": 2 } ``` ## Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.