# Fetches the full configuration details of a specific deployment Used to get deployment data ## Endpoint `GET /intelligence/api/deployments/v2/{deploymentId}` ## Request URL `https://{serverurl}/intelligence/api/deployments/v2/{deploymentId}` ## Scope `DesktopCentralCloud.DEX.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/getDeployment.v2+json` ### Path Parameters - **deploymentId** `string` — **Mandatory** - RoleId. [Get Role Id](https://www.manageengine.com/products/desktop-central/help/api/cloud/dex-get-deployment-v2.html?getRoles) ## Sample Request ### Curl ```curl curl --request GET \ --url https://appdomains/intelligence/api/deployments/v2/{deploymentId} \ --header 'Accept: application/getDeployment.v2+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — `application/json` - `JSON Object` - **deploymentData** `JSON Object` - Core deployment configuration - **details** `JSON Object` - Deployment name and description - **deploymentType** `integer` - Deployment type code: 0=Immediate, 1=Scheduled, 2=Trigger - **details** `JSON Object` - Deployment name and description - **deploymentType** `integer` - Deployment type code: 0=Immediate, 1=Scheduled, 2=Trigger - **targetData** `JSON Object` - Target selection for the deployment - **included** `JSON Array` - Included target custom groups - **included** `JSON Array` - Included target custom groups - **resourcesDetails** `JSON Array` - Resources included in the deployment ### Sample Response: HTTP 200 ```json { "targetData": { "included": [ { "label": "All Windows Devices", "value": "10" } ] }, "resourcesDetails": [ { "versionID": 1001, "resourceTypeID": 1, "resourceName": "Onboarding Workflow" } ], "deploymentData": { "deploymentType": 0, "details": { "name": "Onboarding Deployment", "description": "Deploy onboarding workflow to all Windows devices" } } } ``` ![](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.