Updating a community event
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 26, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To update a community event (whole series), send a replacement community event content entry document in Atom format to the existing community event's edit web address.
Tags: commapi

All existing community event information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. See Retrieving community events for more information. Provide an Atom entry document containing the updated Atom document for the community event.

Community event fields that allow update

For single event, you could update all the fields of this event. You could even update a single event into a repeating event. For repeating event, you could update most of the fields.


Method URI Description
PUT /communities/calendar/atom/calendar/event Value of the href attribute of the <link> element with a rel="edit" attribute value for each entry that represents a community event in community events feed.
Content Type: application/atom+xml
Sample Request:
<?xml version="1.0" encoding="UTF-8"?> <entry xmlns:snx="http://www.ibm.com/xmlns/prod/sn" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/2005/Atom"> <id>urn:lsid:ibm.com:calendar:event:6496bd599bcd44948b0fbe6361749259-013</id>
<title type="text">new event1234</title>
<content type="html">&lt;p>&amp;#160;&lt;/p></content>
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="event"></category>
	<snx:recurrence custom="no" frequency="daily" interval="">
	<snx:daylight>2014-03-30T11:23:46+01:00/2014-10-26T10:23:46+00:00</snx:daylight> </snx:recurrence> </entry>
Use the table below that represents the expected fields:
Name Type Optional Description
<snx:recurrence> frequency attribute
string Yes You can not change its repeating frequency, once a repeating event is created.
<snx:recurrence> interval attribute
string Yes You can not change its repeating interval, once a repeating event is created.
string Yes You can not change its repeating day settings, once a repeating event is created.
Name Type Optional Description
string No Calendar UUID of the event (series) you wish to update.
string No
Content Type: application/atom+xml
Code Description
Indicates that the community event was successfully found and updated. If an error occurs, this header will contain one of the error codes below.
Bad Request.
Not Found.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.