Skip to main content
PUT
/
api
/
content
/
calendarevents
{
  "Status": 123,
  "Message": "<string>",
  "Value": "<any>",
  "WasSuccessful": true,
  "Errors": [
    {
      "AttemptedValue": "<any>",
      "Message": "<string>",
      "PropertyName": "<string>"
    }
  ]
}
Updates an existing CalendarEvent record. You must include the Id of the record to update along with all required fields.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CalendarEvent-Edit role.

Enums

ValueName
1Daily
2Weekly
3Monthly
4Yearly
5FirstOfMonth
6SecondOfMonth
7ThirdOfMonth
8LastOfMonth
9FourthOfMonth
ValueName
1UpdateThisEventOnly
2UpdateFutureEventsOnly
3UpdateAllEvents
4DeleteAllEvents
5DeleteEventsAfterThis
6UpdateEventProducts

Request Body

Required Fields

Id
integer
required
The Id of the CalendarEvent record to update.
BusinessId
integer
required
The location this event belongs to.
Name
string
required
Event name.
StartDate
string
required
Event start date and time (UTC).
EndDate
string
required
Event end date and time (UTC).

Optional Fields

HostFullName
string
Full name of the event host or presenter.
ShortDescription
string
Brief summary shown under the event name on the Members Portal.
LongDescription
string
Full event description visible when a customer opens the event on the Members Portal.
TicketNotes
string
Additional notes included in ticket confirmation emails.
EnableWaitList
boolean
Allow customers to join a waiting list when the event is at full capacity.
AskBuyerAddress
boolean
Request the buyer’s postal address during ticket checkout.
ShowEventAttendees
boolean
Display the attendee list on the Members Portal event page.
Location
string
Venue or room name displayed on the event page.
VenueAddress
string
Street address of the event venue.
ResourceId
integer
Resource linked to this event; automatically blocked from bookings for the event’s duration.
Allocation
integer
Maximum number of attendees; leave empty for unlimited.
EventCategories
integer[]
Categories assigned to this event.
AddedEventCategories
integer[]
Added Event Categories.
RemovedEventCategories
integer[]
Removed Event Categories.
PublishDate
string
Date and time the event becomes visible on the Members Portal (UTC).
ShowInHomeBanner
boolean
Display this event in the home page banner on the Members Portal.
ShowInHomePage
boolean
Display this event on the Members Portal home page.
AllowComments
boolean
Allow customers to post comments on the event.
IncludeZoomInvite
boolean
Attach a Zoom conference call link to this event.
CreateZoomWebinarInvite
boolean
Create a Zoom webinar instead of a regular conference call.
ZoomWebinarAlternativeHosts
string
Comma-separated email addresses of alternative Zoom hosts who can start the meeting.
ZoomEventData
string
Raw Zoom meeting data returned after the Zoom event is created.
ZoomMeetingId
string
Zoom meeting or webinar ID.
OnlyForContacts
boolean
Restrict event attendance to contacts only.
OnlyForMembers
boolean
Restrict event attendance to members only.
NewSmallLogoUrl
string
URL of an image to upload as the small event image.
ClearSmallLogoFile
boolean
Remove the current small event image.
NewLargeLogoUrl
string
URL of an image to upload as the large event image.
ClearLargeLogoFile
boolean
Remove the current large event image.
WebAddress
string
URL of an external website related to this event.
FacebookPage
string
URL of a Facebook event or page for this event.
TicketsPage
string
URL of an external ticketing page for this event.
RepeatSeriesUniqueId
string
Unique identifier shared by all occurrences in a repeat series.
RepeatEvent
boolean
Create this event as a recurring series (create only).
Repeats
integer
Recurrence pattern for the event series. See eCalendarEventRepeatCycle enum above.
WhichEventsToUpdate
integer
Which events in the recurring series to update (update only). See eRepeatedCalendarEventUpdateAction enum above.
RepeatEvery
integer
Number of cycles between occurrences (e.g. 2 with Weekly means every two weeks).
RepeatUntil
string
Date the recurring series ends (create only).
RepeatOnMondays
boolean
Include Mondays in the recurring schedule.
RepeatOnTuesdays
boolean
Include Tuesdays in the recurring schedule.
RepeatOnWednesdays
boolean
Include Wednesdays in the recurring schedule.
RepeatOnThursdays
boolean
Include Thursdays in the recurring schedule.
RepeatOnFridays
boolean
Include Fridays in the recurring schedule.
RepeatOnSaturdays
boolean
Include Saturdays in the recurring schedule.
RepeatOnSundays
boolean
Include Sundays in the recurring schedule.
StartDateLocal
string
Event start date and time in the location’s local timezone.
EndDateLocal
string
Event end date and time in the location’s local timezone.
PublishDateLocal
string
Publish date and time in the location’s local timezone.
AfterEventNotificationJobId
string
Background job ID for the scheduled post-event notification email.
SendAfterEventNotification
boolean
Send a follow-up notification email to attendees after the event ends.
AfterEventNotificationText
string
Custom message body for the post-event notification email.
SendBeforeEventNotification
boolean
Send a reminder notification email to attendees before the event starts.
HasEventForm
boolean
A form is linked to this event that attendees are asked to complete.
SendEventFormByEmail
boolean
Send the linked event form to attendees by email.
FormPageId
integer
ID of the form page linked to this event.

Code Examples

curl -X PUT \
  "https://spaces.nexudus.com/api/content/calendarevents" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "BusinessId": 0,
    "Name": "",
    "StartDate": "2025-01-15T10:30:00Z",
    "EndDate": "2025-01-15T10:30:00Z",
    "Id": 87654321
}'

Response

200

Status
integer
HTTP status code. 200 on success.
Message
string
A human-readable message confirming the update.
Value
object
Contains the Id of the updated record.
WasSuccessful
boolean
true if the calendarevent was updated successfully.
Errors
array
null on success.
Example Response
{
  "Status": 200,
  "Message": "CalendarEvent was successfully updated.",
  "Value": {
    "Id": 87654321
  },
  "OpenInDialog": false,
  "OpenInWindow": false,
  "RedirectURL": null,
  "JavaScript": null,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "UpdatedBy": "admin@example.com",
  "Errors": null,
  "WasSuccessful": true
}

400

Message
string
A summary of the validation error(s), in the format PropertyName: error message.
Value
any
null on validation failure.
Errors
object[]
Array of validation errors.
WasSuccessful
boolean
false when the request fails validation.
Example Response
{
  "Message": "Name: is a required field",
  "Value": null,
  "Errors": [
    {
      "AttemptedValue": null,
      "Message": "is a required field",
      "PropertyName": "Name"
    }
  ],
  "WasSuccessful": false
}