PUT residentapi/events/{id}

Updates an event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

EventId. Uniqueidentifier for an event

integer

Required

Body Parameters

EventUpdate
NameDescriptionTypeAdditional information
EventId

EventId. Uniqueidentifier for the event.

integer

None.

Title

Title. The title of the event.

string

Required

Description

Description. Description of the event

string

Required

Location

Location. Location of the event. If a value is not provided this field will be cleared out.

string

None.

DateStart

DateStart. Start Date and time of the event

date

Required

DateEnd

DateEnd. End Date and time of the event

date

Required

Fee

Fee. Event fee. If a value is not provided this field will be cleared out.

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "eventId": 1,
  "title": "sample string 2",
  "description": "sample string 3",
  "location": "sample string 4",
  "dateStart": "2025-12-24T09:19:29.7012916-05:00",
  "dateEnd": "2025-12-24T09:19:29.7012916-05:00",
  "fee": 1.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.