How can we help?

Searching:

0 results found

featureSet/Put

PUT/api/featureSet/Put/[featureSetId]

Description

To update an existing Feature Set.

See the following for request and response details ‒

See Also

Request ‒ featureSet/Put

In the request, specify the ID of the featureSet whose definition to change and the name of the property(s) to change. These properties are described in featureSet/Post. All unspecified fields are assigned default values.

Property Type Description Mandatory
appId String A unique identifier that is automatically generated by Axonize for this Application.

This property is used to link between other entities (such as Users and Devices) and this Application.

Y
id String A unique identifier for this featureSet that is automatically generated. Please note that this ID is only intended for internal use by Axonize. Y

 

Example JSON featureset/Put Request

curl -X PUT \

  https://api.stg.axonize.com/api/featureSet/5aa164c9feae0d3d043ed964 \

  -H ‘Accept: application/json, text/plain, */*’ \

  -H ‘Content-Type: application/json’ \

  -H ‘appId: 13247866-d4c3-4afa-96eb-8182c6de6c77’ \

  -d ‘{

    “_t” : [

        “BaseNonSqlEntity”,

        “FeatureSet”

    ],

    “deleted” : false,

    “properties” : null,

    “createDate” : “2019-04-29T13:45:15.610+0000”,

    “createUser” : null,

    “updateDate” : “2019-04-29T13:45:15.610+0000”,

    “updateUser” : null,

    “deleteDate” : “2019-04-29T13:45:15.610+0000”,

    “deleteUser” : null,

    “appId” : “13247866-d4c3-4afa-96eb-8182c6de6c77”,

    “name” : “aditest2”,

    “tenants” : [],

    “features” :

    [

        {

            “isAllowed” : true,

            “locked” : false,

            “name” : “SHARED-Groups-GroupDeviceCalculation”,

            “displayName” : “SHARED-Groups-GroupDeviceCalculation”,

            “type” : 2

        },

        {

            “isAllowed” : true,

            “locked” : false,

            “name” : “UI-Groups-panelAutoOpening”,

            “displayName” : “UI-Groups-panelAutoOpening”,

            “type” : 0

        },

        {

            “isAllowed” : true,

            “locked” : false,

            “name” : “UI-Rules-additionalPropertiesConditions”,

            “displayName” : “UI-Rules-additionalPropertiesConditions”,

            “type” : 0

        },

        {

            “isAllowed” : true,

            “locked” : false,

            “name” : “UI-Filters”,

            “displayName” : “UI-Filters”,

            “type” : 0

        }

    ]

 

}’

Response ‒ featureSet/Put

Example JSON featureSet/Put Response

Status 204 – No Content