Retrieves per-resource execution status for a deployment

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Fetches the installation execution status for each target resource in a deployment collection, including success/failure remarks and timestamps.

Request URL

https://{server-hostname}:8383/dcapi/swDeployment/swExecutionStatus

Scope

SWDeployment.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/swExecutionStatus.v1+jsonapplication/swExecutionStatus.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
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
Hide Sub-Attributes
totalCountinteger

Total number of execution status records

executionDetailsJSON Array

Array of per-resource execution status entries

Show Sub-Attributes
JSON Object
Show Sub-Attributes
resourceIdlong

Managed resource (computer) identifier

resourceNamestring

Display name of the managed resource

packageNamestring

Name of the deployed software package

statusstring

Execution status: Yet to Install, Installed, Failed, Uninstalled, Downloading

remarksstring

Detailed status remarks or error description

executedTimelong

Epoch timestamp (ms) of last execution attempt

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

INTERNAL_ERROR for DB query failures, SW_INTERNAL_ERROR for package operation errors

errorMessagestring

Internal server error with details about the package retrieval or execution status failure

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Mixed execution results

Copied!
  {
    "executionDetails": [
      {
        "resourceId": 301,
        "executedTime": 1713264000000,
        "resourceName": "DESKTOP-ABC123",
        "packageName": "7-Zip",
        "remarks": "Successfully installed",
        "status": "Installed"
      }
    ],
    "totalCount": 2
  }
                
Show full

Sample Response: HTTP 500

Server error

Copied!
  {
    "errorMessage": "Internal Server Error",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

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.