# 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://{server-hostname}:8383/dcapi/swDeployment/swExecutionStatus` ## Scope `SWDeployment.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory - `application/swExecutionStatus.v1+json` ## Sample Request ### Curl ```curl curl --request GET \ --url https://appdomain/dcapi/swDeployment/swExecutionStatus \ --header 'Accept: application/swExecutionStatus.v1+json' \ --header 'Authorization: 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" } ``` ![ ](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.