post https://api.timeero.app/api/public/schedules/
Request Body Sample:
{
"assigned_by": 679, // required, must be active user's id
"event_pid": "", // optional
"title": "Schedule Try",
"description": "Description here", // optional
"job_id": 5118, // optional
"timzone": "Africa/Accra", // optional
"repeat": true, // required; must be boolean
"all_day": false, // required; must be boolean
"color": "black", // required
"user_ids": [
680
], // required; must be active users' ids
"publish": true, // optional; must be boolean
"start_date": "05/01/2024", // required
"end_date": "05/02/2024", // required
"start_time": "06:00", // required except when "all_day" is true; must be same format mm:ss
"end_time": "05:00", // required except when "all_day" is true; must be same format mm:ss
"use_different_address": true, // optional if you want to use the job address
"street": "Street", // optional
"city": "city", // optional
"state": "state", // optional
"country": "country", // optional
"zip_code": "zipcode", // optional
"repeat_type": "weekly", // required when "repeat" is true
"repeat_end_date": "05/29/2024", // required when "repeat" is true
"weeks": "monday,thursday" // required when "repeat_type" is "weekly"