PUT associations({associationId})/events({eventId})

Method to update an event

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

eventId
Event of interest

Define this parameter in the request URI.

eventResource
Event to update

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Status": 1,
  "MemberId": 1,
  "Description": "sample string 3",
  "SponsoredBy": "sample string 4",
  "StartTime": "2024-11-21T13:12:33.3543078-06:00",
  "EndTime": "2024-11-21T13:12:33.3543078-06:00",
  "SearchDescription": "sample string 5",
  "Types": [
    1,
    2,
    3
  ],
  "MainPhotos": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "Pending": true,
  "Pdh": 6.1,
  "Ceu": 7.1,
  "Visibility": 1,
  "ContactInformation": "sample string 8",
  "RegistrationCutoffDate": "2024-11-21T13:12:33.3543078-06:00",
  "IsAllDay": true,
  "IsFeatured": true,
  "Admission": "sample string 10",
  "RegistrationCutoff": "2024-11-21T13:12:33.3543078-06:00",
  "Hours": "sample string 11",
  "Slug": "sample string 12",
  "FeaturedExpiration": "2024-11-21T13:12:33.3543078-06:00"
}

application/xml, text/xml

Sample:
<EventResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Admission>sample string 10</Admission>
  <Ceu>7.1</Ceu>
  <ContactInformation>sample string 8</ContactInformation>
  <Description>sample string 3</Description>
  <EndTime>2024-11-21T13:12:33.3543078-06:00</EndTime>
  <FeaturedExpiration>2024-11-21T13:12:33.3543078-06:00</FeaturedExpiration>
  <Hours>sample string 11</Hours>
  <Id>1</Id>
  <IsAllDay>true</IsAllDay>
  <IsFeatured>true</IsFeatured>
  <MainPhotos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </MainPhotos>
  <MemberId>1</MemberId>
  <Name>sample string 2</Name>
  <Pdh>6.1</Pdh>
  <Pending>true</Pending>
  <RegistrationCutoff>2024-11-21T13:12:33.3543078-06:00</RegistrationCutoff>
  <RegistrationCutoffDate>2024-11-21T13:12:33.3543078-06:00</RegistrationCutoffDate>
  <SearchDescription>sample string 5</SearchDescription>
  <Slug>sample string 12</Slug>
  <SponsoredBy>sample string 4</SponsoredBy>
  <StartTime>2024-11-21T13:12:33.3543078-06:00</StartTime>
  <Status>1</Status>
  <Types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </Types>
  <Visibility>1</Visibility>
</EventResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Updated event

Response body formats

application/json, text/json

Sample:

Sample not available.