Versions Compared

Key

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

Property Key Definitions can be accessed through this API using service: GET. This service allow for the retrieval of Property Key Definitions.

...

Info
titleAPI URL

http://host:port/flexdeploy/rest/v2/administration/propertykeydefinition?

Append the following character sequences to the above URL to specify Query parameters.
Use '&' between successive query parameters: 

propertyDefinitionId={propertyDefinitionId}

propertyKeyName={propertyKeyName}

isActive={isActive}

displayName={displayName}

propertyScope={propertyScope}

isCustom={isCustom}

description={description}

isAllowsVariant={isAllowsVariant}

isMultiSelect={isMultiSelect}

isDefaultExpression={isDefaultExpression}


Examples:
To Specify the code parameter only:

http://host:port/flexdeploy/rest/v2/administration/propertykeydefinition?propertyDefinitionId={propertyDefinitionId}

To Specify the code and group code parameters:

http://host:port/flexdeploy/rest/v2/administration/propertykeydefinition?propertyDefinitionId={propertyDefinitionId}&propertyKeyName={propertyKeyName}

To Specify the name, group code, and sub group code parameters:

http://host:port/flexdeploy/rest/v2/administration/propertykeydefinition?propertyDefinitionId={propertyDefinitionId}&propertyKeyName={propertyKeyName}&description={description}


Tip

The query parameters are not case sensitive. Searching by propertyKeyName=NAME is the same as searching by propertyKeyName=name.

Request

Parameter
Required
Type
Description
propertyDefinitionIdNoQuery - Long

This is a URL query parameter for the Property Definition Id which is used to search the Property Key Definitions.

Equals search

propertyKeyNameNoQuery - String

This is a URL query parameter for the Property Key Name which is used to search the Property Key Definitions.

Like ignore case search

descriptionNoQuery - String

This is a URL query parameter for the Description which is used to search the Property Key Definitions.

Equals ignore case search

displayNameNoQuery - String

This is a URL query parameter for the Display Name which is used to search the Property Key Definitions.

Equals search

isActiveNoQuery - Boolean

This is a URL query parameter for the Is Active which is used to search the Property Key Definitions.

Equals search

isCustomNoQuery - Boolean

This is a URL query parameter for the Is Custom which is used to search the Property Key Definitions.

Equals search

isAllowsVariantNoQuery - Boolean

This is a URL query parameter for the Is Allows Variant which is used to search the Property Key Definitions.

Equals search

isMultiSelectNoQuery - Boolean

This is a URL query parameter for the Is Multi Select which is used to search the Property Key Definitions.

Equals search

isDefaultExpressionNoQuery - Boolean

This is a URL query parameter for the Is Default Expression which is used to search the Property Key Definitions.

Equals search

propertyScopeNoQuery - String

This is a URL query parameter for the Property Scope which is used to search the Property Key Definitions.

Like ignore case search

...

Output when querying by isActive through http://host:port/flexdeploy/rest/v2/administration/propertykeydefinition?isActive=false

Code Block
titleSample JSON Output
[
    {
        "length": null,
        "defaultValue": null,
        "displayName": "Jira Port",
        "minValue": null,
        "maxValue": null,
        "isRequired": false,
        "description": "Jira Port",
        "versionNumber": 1,
        "isActive": false,
        "createdOn": "2021-01-22T04:54:46.538+0000",
        "createdBy": "autoupload",
        "isCustom": false,
        "isMultiselect": false,
        "updatedOn": "2021-01-22T04:54:46.591+0000",
        "sortNumber": 10,
        "isEncrypted": false,
        "updatedBy": "autoupload",
        "propertyDefinitionId": 10058,
        "propertyKeyName": "JIRA_PORT",
        "isAllowsVariant": false,
        "isDefaultExpression": false,
        "displayColumns": null,
        "validator1": null,
        "validator2": null,
        "validator4": null,
        "validator3": null,
        "validator5": null,
        "displayRows": null,
        "propertyScope": "INST",
        "listData": null,
        "propertyKeyDatatype": "Integer",
        "propertyKeySubDatatype": null
    }
]

...