PUT api/EventItem/Update
Request Information
URI Parameters
None.
Body Parameters
EventItemUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required |
|
| PreviewText | string |
None. |
|
| Detail | string |
Required |
|
| Url | string |
None. |
|
| LatitudeLongitude | string |
None. |
|
| Location | string |
None. |
|
| Price | string |
None. |
|
| EventStartDate | date |
Required |
|
| EventEndDate | date |
Required |
|
| LanguageID | globally unique identifier |
Required |
|
| EventID | globally unique identifier |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"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:29:22.3685365+03:00",
"eventEndDate": "2025-12-11T17:29:22.3685365+03:00",
"languageID": "49a44432-5298-43ac-a257-1cf6cdd1c34b",
"eventID": "424dcec8-1014-4f00-b815-3dee7c4ac14f",
"id": "014d9b3f-4f24-4c04-bc0f-de2145a6eeaf"
}
application/xml, text/xml
Sample:
<EventItemUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>014d9b3f-4f24-4c04-bc0f-de2145a6eeaf</ID> <Detail>sample string 3</Detail> <EventEndDate>2025-12-11T17:29:22.3685365+03:00</EventEndDate> <EventID>424dcec8-1014-4f00-b815-3dee7c4ac14f</EventID> <EventStartDate>2025-12-11T17:29:22.3685365+03:00</EventStartDate> <LanguageID>49a44432-5298-43ac-a257-1cf6cdd1c34b</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"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:29:22.3685365+03:00","EventEndDate":"2025-12-11T17:29:22.3685365+03:00","LanguageID":"49a44432-5298-43ac-a257-1cf6cdd1c34b","EventID":"424dcec8-1014-4f00-b815-3dee7c4ac14f","ID":"014d9b3f-4f24-4c04-bc0f-de2145a6eeaf"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.