# Retrieves the current state of the template subsystem Fetches template package creation status, proxy configuration, latest template count, upgrade-available template count, and Patch DB sync status. ## Endpoints `GET /dcapi/swDeployment/sofwareTemplateParams` ## Request ### Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/swDeployment/sofwareTemplateParams` ### Scope `DesktopCentralCloud.SWDeployment.READ` #### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory** - `application/sofwareTemplateParams.v1+json` ### Sample Request ```shell curl --request GET \ --url https://appdomains/dcapi/swDeployment/sofwareTemplateParams \ --header 'Accept: application/sofwareTemplateParams.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP Code 200 #### Response Body — `application/json` `JSON Object` - **pkgCreationStatus** `boolean` - true if a template package creation task is in progress - **isCreatedPackage** `boolean` - true if any template packages have been created - **isProxyDefined** `boolean` - true if a proxy server is configured - **latestTemplateCount** `integer` - Number of latest-version templates available - **upgradeTemplateCount** `integer` - Number of templates with newer versions available - **patchDBInprogress** `boolean` - true if Patch DB sync is in progress #### Sample Response: HTTP 200 Normal operational state ```json { "upgradeTemplateCount": 12, "pkgCreationStatus": false, "isCreatedPackage": true, "latestTemplateCount": 145, "isProxyDefined": true, "patchDBInprogress": false } ``` ### HTTP Code 500 #### Response Body — `application/json` `JSON Object` - **errorCode** `string` - INTERNAL_ERROR for general failures, SW_INTERNAL_ERROR for software deployment internal errors - **errorMessage** `string` - Internal server error with details about the template/auto-update operation failure #### Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ### Possible Response Codes - **200** — HTTP code - **500** — HTTP code ## API Rate Limits **Duration:** 1 minute | **Threshold:** 80 | **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.