PostAsk AIpost https://api.formant.io/v1/admin/schedulesCreate a new command schedule. Resource: schedules Authorized roles: administratorBody ParamsScheduleorganizationIduuidID of the organization to which you want to add this new schedule.namestringrequiredlength ≤ 50Name of this schedule.descriptionstringrequiredlength ≤ 500User-friendly description of this command schedule.typestringenumrequiredEnter command.commandrun-workflowgenerate-insightsAllowed:commandrun-workflowgenerate-insightsatdate-time | nullrequiredTimestamp at which this command should execute. Must be in the future. Format: YYYY-MM-DDTHH:MM:SScronstring | nullrequiredFrequency of this command schedule, as defined at https://crontab.gurudurationMsint64required0 to 9007199254740991Enter 0 for this parameter.timezonestringrequiredTimezone which corresponds to the timestamp provided in the at parameter, in tz database format.displayTimezonestringcommandTemplateIduuid | nullrequiredYou must create a command template before you can schedule this command.workflowIdstring | nullparameterValuestring | nullrequiredValue of the command parameter to be sent with this scheduled command.deviceIduuidrequiredID of the device to which to send this command.statusstringlength ≤ 1000Internal use only, ignore.iduuidcreatedAtdate-timeupdatedAtdate-timeResponse 201Updated 5 months ago