Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Authentication - Use Basic Authentication for this API.

GET

API URL

http://host:port/flexdeploy/rest/v1/administration/changemanagementsystem

Information about available Change Management Systems can be accessed through this method. It returns the name, id, and information about the properties of all available Change Management Systems.

Request

No request parameters.

Response

NameTypeDescription
idLongThe id of the change management system.
nameStringThe name of the change management system.
propertiesList<Properties>A list of properties associated with the corresponding Change Management System.

Properties definition has following attributes.

NameTypeDescription
nameStringName of property.
displayNameStringDisplay name of property
dataTypeStringData type for property
descriptionStringDescription for property
isRequiredBooleanTrue if property is required
isEncryptedBooleanTrue if property value will be encrypted
isActiveBooleanTrue if property is active

Example

CMS: ServiceNow
[{
   "name": "ServiceNow",
   "properties":    [
            {
         "name": "SN_URL",
         "displayName": "ServiceNow URL",
         "description": "ServiceNow URL",
         "dataType": "String",
         "isActive": true,
         "isRequired": true,
         "isEncrypted": false
      },
            {
         "name": "SN_PORT",
         "displayName": "ServiceNow Port",
         "description": "ServiceNow Port",
         "dataType": "String",
         "isActive": true,
         "isRequired": true,
         "isEncrypted": false
      },
            {
         "name": "SN_USER_NAME",
         "displayName": "ServiceNow User Name",
         "description": "ServiceNow User Name",
         "dataType": "String",
         "isActive": true,
         "isRequired": true,
         "isEncrypted": false
      },
            {
         "name": "SN_PASSWORD",
         "displayName": "ServiceNow Password",
         "description": "ServiceNow Password",
         "dataType": "String",
         "isActive": true,
         "isRequired": true,
         "isEncrypted": true
      },
            {
         "name": "SN_APPROVED_SCRIPT",
         "displayName": "Approved Check Script",
         "description": "ServiceNow approved check Groovy script",
         "dataType": "String",
         "isActive": true,
         "isRequired": false,
         "isEncrypted": false
      },
            {
         "name": "SN_REJECTED_SCRIPT",
         "displayName": "Rejected Check Script",
         "description": "ServiceNow rejected check Groovy script",
         "dataType": "String",
         "isActive": true,
         "isRequired": false,
         "isEncrypted": false
      },
            {
         "name": "SN_DONT_POLL",
         "displayName": "Don't poll",
         "description": "Disable automatic polling (every minute) of ServiceNow tickets for status changes. Check if using REST API to communicate status changes to FlexDeploy.",
         "dataType": "Boolean",
         "isActive": true,
         "isRequired": false,
         "isEncrypted": false
      }
   ],
   "id": 1
}
  • No labels