# 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. ## Endpoint **GET** `/dcapi/swDeployment/sofwareTemplateParams` ## Request ### Request URL ```text https://{server-hostname}:8383/dcapi/swDeployment/sofwareTemplateParams ``` ### Scope ```text SWDeployment.READ ``` ### Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory - `application/sofwareTemplateParams.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/swDeployment/sofwareTemplateParams \ --header 'Accept: application/sofwareTemplateParams.v1+json' \ --header 'Authorization: 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 ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.