Create a Time Group

This API allows you to create a new Time Group.

Sample Request

curl --request POST \
     --url \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

📘 Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Body Params)

The following parameter is required to create a Time Group:

Variable NameDescriptionData Type
nameName of the time group.String
from_timeStart time of the time group.Array of Strings
to_timeEnd time of the time group.Array of Strings
daysDays on which time group is applicable.String
datesDates on which time group is applicable. Min:1 & Max: 31.Array of Strings
monthsMonths on which time group is applicable.Array of Strings

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
SuccessThe request success status, the possible values are: True (default) for success. False for failure.Boolean
MessageThe message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here.String
Click Try It! to start a request and see the response here!