POST - Update feature

Purpose

This API helps in updating a feature in resource booking. You can add or remove the numbers of a particular feature or multiple features using this API. The feature ID in the Request URL given below can be fetched using the GET all features API.

Request URL

https://calendar.zoho.com/api/v1/features/<featureId>

OAuth Scope

scope=ZohoCalendar.features.ALL

or

scope=ZohoCalendar.features.UPDATE

ALL - Access to all features

UPDATE - Updates a feature to resource booking

Path Parameters

  • featureIdlong, mandatory
    • It is a unique ID that's assigned to each feature that's available in resource booking. You can fetch the featureId using the Get all features API.

Request Parameters

  • featureDataJSONObject, mandatory
    • This is a mandatory FeatureJson that has the values of the key parameters such as feature name, its type, and whether it is shown/ hidden. 
    • FeatureJson:
      • feature_namestring, mandatory
        • The feature name is the name of the available features in a room.
        • Example: Chairs, Projectors, Monitors, etc.,
      • is_hiddenboolean, optional
        • The boolean value for the feature will be false if the feature is visible to add to a room. If the value is true, the feature will not be available while adding features to a room.

Note: The feature type cannot be modified, once added.

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/features/1596623326304000001?featureData={"feature_name":"Test feature edit","is_hidden":false}

Sample Response

Copied{
"feature_id":"1596623326304000001",
"feature_type":1,
"feature_name":"Test feature edit",
"is_hidden":false
}