POST api/Event/ChangeMode
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": "4ce9bf33-90ff-46b6-85e0-87ec971248b0",
"webSiteID": "785ad144-34bd-497a-8572-95b68524408d",
"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:57.3984165+03:00",
"eventEndDate": "2025-12-11T17:32:57.3984165+03:00",
"languageID": "777c0fc3-078c-44ff-9fc3-05c4aa64e3da",
"eventID": "02007795-cf85-4f0f-b92f-73b0b012c8cb",
"id": "78fcbbbf-61b5-420b-aea9-0fefbb4eafbb"
},
{
"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:57.3984165+03:00",
"eventEndDate": "2025-12-11T17:32:57.3984165+03:00",
"languageID": "777c0fc3-078c-44ff-9fc3-05c4aa64e3da",
"eventID": "02007795-cf85-4f0f-b92f-73b0b012c8cb",
"id": "78fcbbbf-61b5-420b-aea9-0fefbb4eafbb"
}
],
"coverPhotoID": "070993b7-6677-43f0-9539-b99400b6f128",
"id": "0403fa98-e402-4444-bb57-511c41c01de8"
}
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>0403fa98-e402-4444-bb57-511c41c01de8</ID>
<CoverPhotoID>070993b7-6677-43f0-9539-b99400b6f128</CoverPhotoID>
<EventCategoryID>4ce9bf33-90ff-46b6-85e0-87ec971248b0</EventCategoryID>
<IsActive>true</IsActive>
<WebSiteID>785ad144-34bd-497a-8572-95b68524408d</WebSiteID>
<eventItemUpdates>
<EventItemUpdateDto>
<ID>78fcbbbf-61b5-420b-aea9-0fefbb4eafbb</ID>
<Detail>sample string 3</Detail>
<EventEndDate>2025-12-11T17:32:57.3984165+03:00</EventEndDate>
<EventID>02007795-cf85-4f0f-b92f-73b0b012c8cb</EventID>
<EventStartDate>2025-12-11T17:32:57.3984165+03:00</EventStartDate>
<LanguageID>777c0fc3-078c-44ff-9fc3-05c4aa64e3da</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>78fcbbbf-61b5-420b-aea9-0fefbb4eafbb</ID>
<Detail>sample string 3</Detail>
<EventEndDate>2025-12-11T17:32:57.3984165+03:00</EventEndDate>
<EventID>02007795-cf85-4f0f-b92f-73b0b012c8cb</EventID>
<EventStartDate>2025-12-11T17:32:57.3984165+03:00</EventStartDate>
<LanguageID>777c0fc3-078c-44ff-9fc3-05c4aa64e3da</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":"4ce9bf33-90ff-46b6-85e0-87ec971248b0","WebSiteID":"785ad144-34bd-497a-8572-95b68524408d","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:57.3984165+03:00","EventEndDate":"2025-12-11T17:32:57.3984165+03:00","LanguageID":"777c0fc3-078c-44ff-9fc3-05c4aa64e3da","EventID":"02007795-cf85-4f0f-b92f-73b0b012c8cb","ID":"78fcbbbf-61b5-420b-aea9-0fefbb4eafbb"},{"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:57.3984165+03:00","EventEndDate":"2025-12-11T17:32:57.3984165+03:00","LanguageID":"777c0fc3-078c-44ff-9fc3-05c4aa64e3da","EventID":"02007795-cf85-4f0f-b92f-73b0b012c8cb","ID":"78fcbbbf-61b5-420b-aea9-0fefbb4eafbb"}],"CoverPhotoID":"070993b7-6677-43f0-9539-b99400b6f128","ID":"0403fa98-e402-4444-bb57-511c41c01de8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.