Create a new event. Valid for Communifire version 5.2 and above.
Specifies if the user is registered on the site; set to true for registered users, false for unregistered users.
Defines the user's attendance status:
1: Attending
2: Maybe attending
3: Not attending
Defines the frequency of the recurring event. Possible values:
0: None (default)
1: Daily
2: Weekly
4: Monthly
16: Yearly
32: Every weekday (Monday to Friday)
64: Every Monday, Wednesday, and Friday
128: Every Tuesday and Thursday
Defines the gap in days between each occurrence of the event when it is set to repeat daily. E.g., every day, every 2 days, every 3 days, .... , every n days. For instance, setting it to 3 will cause the event to occur every 3 days. Default: 1
Specifies how the event should repeat on a monthly basis, with two values:
1 - The event repeats on the same date each month. For example, if you schedule the event for the 10th of January, it will repeat on the 10th of every month (e.g., February 10th, March 10th, etc.).
2 - The event repeats on the same day of the week in the month. For example, if the event is scheduled on the second Tuesday of January, it will repeat on the second Tuesday of every month (e.g., the second Tuesday in February, the second Tuesday in March, etc.).
Default: 1
Specifies the days of the week on which the event occurs. The days are represented as:
1: Sunday
2: Monday
4: Tuesday
8: Wednesday
16: Thursday
32: Friday
64: Saturday
You can add the numbers together to represent multiple days. For example, if you want to run the event on Monday and Tuesday, you add 2 (Monday) and 4 (Tuesday), giving you 6.
Defines how the recurring event ends. Possible values:
1: Never ends
2: Ends after a specific number of occurrences
3: Ends on a specific date (specified by EndDate)
POST https://myintranet.communifire.com/api/events
Body:
{ "EventTypeID":552, "Description":"Join us for a serene evening under the stars with Harmony in the Park, a classical music concert featuring renowned musicians performing timeless pieces from composers like Mozart, Beethoven, and Tchaikovsky. This enchanting event will transport you to a world of elegance and harmony, providing a perfect escape into the beauty of classical music.", "Title":"Harmony in the Park: An Evening of Classical Music", "StartDate":"2024-09-01T19:30:00", "EndDate":"2024-09-01T22:00:00", "SpaceID":715, "WhoShouldAttend":"Anyone interested in classical music", "Address":"Central Park", "City":"NYC", "CountryID": 617 }
Event ID is returned as ResponseData.
{ { "IsError": false, "ResponseMessage": "ToBePublished", "ResponseData": { "CanBeViewed": true, "CanBeEdited": true, "CanBeDeleted": true, "iCalUID": "a759da74-6b82-4d41-81ef-a4f0592c31af-0000-61e10cb9-9401-4c44-a06d-c90a3b6f6b98@events", "IsBusy": false, "NewUsers": [], "IsShared": false, "CanInviteOthers": false, "RemovedResources": [], "AllowComments": false, "AllowLikes": false, "AllowRating": false, "EventID": 14882, "AlbumID": 0, "IsPrivate": false, "IsScheduled": false, "IsEvent": true, "IsClassPeriod": false, "MediaServerID": 78, "CommentCount": 0, "EventTypeID": 552, "Title": "Harmony in the Park: An Evening of Classical Music", "WorkFlowID": 0, "CurrentWorkFlowStepID": 0, "SpaceName": "Culture & Events", "Description": "Join us for a serene evening under the stars with Harmony in the Park, a classical music concert featuring renowned musicians performing timeless pieces from composers like Mozart, Beethoven, and Tchaikovsky. This enchanting event will transport you to a world of elegance and harmony, providing a perfect escape into the beauty of classical music.", "StartDate": "2024-09-01T16:30:00Z", "EndDate": "2024-09-01T19:00:00Z", "SpaceID": 715, "Views": 0, "IsFeatured": false, "IsPrivateSpace": false, "IsPublishedFromDraftMode": false, "Address": "Central Park", "CountryID": 617, "EventStatusID": 1, "CreatedOnDate": "2024-09-02T19:52:20.4090365Z", "WhoShouldAttend": "Anyone interested in classical music", "City": "NYC", "AttendanceID": 0, "UserID": 1245, "IsOnline": false, "MetroID": 0, "StateID": 0, "UpdatedByUserID": 1245, "AttendeeCount": 0, "MayBeAttendeeCount": 0, "Rating": 0.0, "EventBookedByUserID": 0, "IsAllDay": false, "MaxAttendees": 0, "FrequencyChoice": 0, "Frequency": 0, "DaysOfWeek": 0, "IsRepeat": false, "QuarterInterval": 0, "QuarterlyInterval": 0, "MonthlyInterval": 0, "WeeklyInterval": 0, "DaysOfMonth": 0, "IsSundaySelected": false, "IsMondaySelected": false, "IsTuesdaySelected": false, "IsWednesdaySelected": false, "IsThursdaySelected": false, "IsFridaySelected": false, "IsSaturdaySelected": false, "IsFirstWeekOfMonthSelected": false, "IsSecondWeekOfMonthSelected": false, "IsThirdWeekOfMonthSelected": false, "IsFourthWeekOfMonthSelected": false, "IsLastWeekOfMonthSelected": false, "FrequencyTypeOption": 0, "QuarterlyOptions": 0, "QuarterlyIntervalOptions": 0, "MonthlyIntervalOptions": 0, "WeeklyIntervalOptions": 0, "DaysOfWeekOptions": 0, "RangeStartMonth": 0, "RangeEndMonth": 0, "RepeatStartDate": "2024-09-01T16:30:00Z", "MonthRepeatBy": 0, "EndAfterOccurences": 0, "DayInterval": 0, "MonthInterval": 0, "DayOfMonth": 0, "YearInterval": 0, "RepeatEndType": 0, "StartDateWithRespectToUser": "0001-01-01T00:00:00", "EndDateWithRespectToUser": "0001-01-01T00:00:00", "RepeatStartDateWithRespectToUser": "0001-01-01T00:00:00", "RepeatEndDateWithRespectToUser": "0001-01-01T00:00:00", "SeriesEventID": 0, "InstanceExceptions": 0, "InstanceChanges": 0, "TimezoneOffset": 2.0, "TimeZoneID": "GTB Standard Time", "IsDayLightSaving": true, "InstanceNumber": 0, "TenantID": 1 } } }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/489/rest-api-create-event?locale=en-US%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.