POST - Add feature

Purpose

This API helps in adding a new feature to resource booking. The features are the types of available resources like chairs, projectors, etc., that are available inside a room.

Request URL

https://calendar.zoho.com/api/v1/features

OAuth Scope

scope=ZohoCalendar.features.ALL

or

scope=ZohoCalendar.features.CREATE

ALL - Access to all features

CREATE - Adds a feature to resource booking

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.,
      • feature_typeint, mandatory
        • The feature type is given based on the feature's nature of availability.
        • Allowed values:
          • 0 - Availability - The admin can choose Yes/ No based on availability while adding the feature to a room in a branch.
          • 1 - Count (Monitor - 4, Projector - 2)
          • 2 - String (Contact Person - Peter)
      • 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.

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/features?featureData={"feature_name":"Test feature","feature_type":"1"}

Sample Response

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