PUT api/Event/Update
Request Information
URI Parameters
None.
Body Parameters
EventUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsActive | boolean |
None. |
|
| EventCategoryID | globally unique identifier |
None. |
|
| WebSiteID | globally unique identifier |
None. |
|
| eventItemUpdates | Collection of EventItemUpdateDto |
None. |
|
| CoverPhotoID | globally unique identifier |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"isActive": true,
"eventCategoryID": "67341994-6e79-42f3-b845-c3b79070b11d",
"webSiteID": "6838b8c2-8e2e-4e95-a9f8-2a5c890f4536",
"eventItemUpdates": [
{
"title": "sample string 1",
"previewText": "sample string 2",
"detail": "sample string 3",
"url": "sample string 4",
"latitudeLongitude": "sample string 5",
"location": "sample string 6",
"price": "sample string 7",
"eventStartDate": "2025-12-11T17:32:58.1174351+03:00",
"eventEndDate": "2025-12-11T17:32:58.1174351+03:00",
"languageID": "59865f07-2eb3-42b7-ae39-517e227a54d9",
"eventID": "0111e439-d55e-4eaf-ae8d-d408c28f2371",
"id": "147671a1-3a16-41c6-8777-0067b959934e"
},
{
"title": "sample string 1",
"previewText": "sample string 2",
"detail": "sample string 3",
"url": "sample string 4",
"latitudeLongitude": "sample string 5",
"location": "sample string 6",
"price": "sample string 7",
"eventStartDate": "2025-12-11T17:32:58.1174351+03:00",
"eventEndDate": "2025-12-11T17:32:58.1174351+03:00",
"languageID": "59865f07-2eb3-42b7-ae39-517e227a54d9",
"eventID": "0111e439-d55e-4eaf-ae8d-d408c28f2371",
"id": "147671a1-3a16-41c6-8777-0067b959934e"
}
],
"coverPhotoID": "03d44b26-4365-40ed-8093-60d7ebffbedc",
"id": "79dbe059-3746-4e53-8add-6ec9c8d073bf"
}
application/xml, text/xml
Sample:
<EventUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
<ID>79dbe059-3746-4e53-8add-6ec9c8d073bf</ID>
<CoverPhotoID>03d44b26-4365-40ed-8093-60d7ebffbedc</CoverPhotoID>
<EventCategoryID>67341994-6e79-42f3-b845-c3b79070b11d</EventCategoryID>
<IsActive>true</IsActive>
<WebSiteID>6838b8c2-8e2e-4e95-a9f8-2a5c890f4536</WebSiteID>
<eventItemUpdates>
<EventItemUpdateDto>
<ID>147671a1-3a16-41c6-8777-0067b959934e</ID>
<Detail>sample string 3</Detail>
<EventEndDate>2025-12-11T17:32:58.1174351+03:00</EventEndDate>
<EventID>0111e439-d55e-4eaf-ae8d-d408c28f2371</EventID>
<EventStartDate>2025-12-11T17:32:58.1174351+03:00</EventStartDate>
<LanguageID>59865f07-2eb3-42b7-ae39-517e227a54d9</LanguageID>
<LatitudeLongitude>sample string 5</LatitudeLongitude>
<Location>sample string 6</Location>
<PreviewText>sample string 2</PreviewText>
<Price>sample string 7</Price>
<Title>sample string 1</Title>
<Url>sample string 4</Url>
</EventItemUpdateDto>
<EventItemUpdateDto>
<ID>147671a1-3a16-41c6-8777-0067b959934e</ID>
<Detail>sample string 3</Detail>
<EventEndDate>2025-12-11T17:32:58.1174351+03:00</EventEndDate>
<EventID>0111e439-d55e-4eaf-ae8d-d408c28f2371</EventID>
<EventStartDate>2025-12-11T17:32:58.1174351+03:00</EventStartDate>
<LanguageID>59865f07-2eb3-42b7-ae39-517e227a54d9</LanguageID>
<LatitudeLongitude>sample string 5</LatitudeLongitude>
<Location>sample string 6</Location>
<PreviewText>sample string 2</PreviewText>
<Price>sample string 7</Price>
<Title>sample string 1</Title>
<Url>sample string 4</Url>
</EventItemUpdateDto>
</eventItemUpdates>
</EventUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"IsActive":true,"EventCategoryID":"67341994-6e79-42f3-b845-c3b79070b11d","WebSiteID":"6838b8c2-8e2e-4e95-a9f8-2a5c890f4536","eventItemUpdates":[{"Title":"sample string 1","PreviewText":"sample string 2","Detail":"sample string 3","Url":"sample string 4","LatitudeLongitude":"sample string 5","Location":"sample string 6","Price":"sample string 7","EventStartDate":"2025-12-11T17:32:58.1174351+03:00","EventEndDate":"2025-12-11T17:32:58.1174351+03:00","LanguageID":"59865f07-2eb3-42b7-ae39-517e227a54d9","EventID":"0111e439-d55e-4eaf-ae8d-d408c28f2371","ID":"147671a1-3a16-41c6-8777-0067b959934e"},{"Title":"sample string 1","PreviewText":"sample string 2","Detail":"sample string 3","Url":"sample string 4","LatitudeLongitude":"sample string 5","Location":"sample string 6","Price":"sample string 7","EventStartDate":"2025-12-11T17:32:58.1174351+03:00","EventEndDate":"2025-12-11T17:32:58.1174351+03:00","LanguageID":"59865f07-2eb3-42b7-ae39-517e227a54d9","EventID":"0111e439-d55e-4eaf-ae8d-d408c28f2371","ID":"147671a1-3a16-41c6-8777-0067b959934e"}],"CoverPhotoID":"03d44b26-4365-40ed-8093-60d7ebffbedc","ID":"79dbe059-3746-4e53-8add-6ec9c8d073bf"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.