event_set
Creates a new event in the Events Calendar.
Example Request:
service?ai_token=XXXXXXXX&ai_command=event_set&mode=insert&event_title=Test+Title&event_description=This is my event description&beg_date=2018-03-22&beg_time=12:00&end_time=13:00&is_repeating=1&repeat_period=1&repeat_units=weeks&series_end_date=2018-04-30&repeat_dows=Mon,Wed,Fri&event_color=FF00FF&event_location=Location name here&tags=tag1,tag2
Name | Type | Required | Example |
---|---|---|---|
mode | String | Y | insert/update 'insert' or 'update' |
event_id | String | N | 123456 Event id to update (leave empty for inserts) |
owner_id | Integer | N | 5 |
event_title | String | N | EXAMPLE TITLE |
event_description | String | N | Description goes here! |
all_day | String | N | 0 or 1 (times will be ignored for all-day events) |
beg_date | Date | N | 2018-03-16 |
end_date | Date | N | 2018-03-16 |
beg_time | Time | N | 11:00am All times in CST |
end_time | Time | N | 12:00pm All times in CST |
is_repeating | Integer | N | 1 |
repeat_period | Integer | N | 1 |
repeat_units | String | N | days/weeks/months/years @param repeat_dows Array or String N Mon,Wed,Fri Case sensitive csv string or array |
series_end_date | Date | N | 2018-04-30 |
event_color | String | N | FFFF00 |
event_location | String | N | Event Location Name |
tags | String | N | tag1,tag2 |
privacy | String | N | private/public |
for_lead_id | Integer | N | lead_id of lead this event is associated with |
Name | Type | Example |
---|---|---|
status | Integer | 0 |
status_message | String | Event Creation Successful |
event_id | Integer | 1001 |