Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Response Codes

HTTP Code
Description
200Search successful and results returned
400Bad request
401Authentication failure
403Authorization failure (no access to resource)
500Unexpected internal server error

Example

Code Block
themeEclipse
titleCMS: 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
}

...