Create a Time Group

This API allows you to create a new Time Group.

Sample Request

This API allows you to create a new Time Group.

curl --request POST \
     --url https://api-smartflo.tatateleservices.com/v1/timegroup \
     --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)

Variable NameDescriptionData Type
nameName for the time groupstring
from_timestart time of time grouparray of strings
to_timeend time of time grouparray of strings
daysdays on which time group is applicablearray of strings
datesDates on which timegroup is applicable, min:1, max:31array of strings
monthsMonths on which timegroup is applicablearray of strings

Response Variables

After the execution of the API, you will get the following response:

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
Language
Click Try It! to start a request and see the response here!