Create Event From Template
POST /api/v2/events/create_from_template
Headers
Name
Type
Description
Content-Type
string
application/vnd.api+json
Request
{
"data": {
"type": "event_from_template",
"relationships": {
"event_template": {
"data": {
"type": "event_templates",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
},
"attributes": {
"name": "My Event",
"duration": 60,
"start_at": 1554392102,
"start_mode": "manual",
"repeat": false,
"end_mode": "duration"
}
}
}Attributes
Name
Type
Description
name
string
Event name
duration
integer
Event duration in seconds
start_at
integer
Planned event start time (timestamp)
start_mode
string
Start mode, one of : "manual", "clock"
repeat
boolean
true to say this event has to be automatically recreated after it's finished
repeat_in
integer
Repeat event will be automatically created in repeat_in minutes after end of original event
end_mode
string
Event end mode, one of "duration", "scheduled"
Response
Example
Last updated

