POST api/EventItem/Add
Request Information
URI Parameters
None.
Body Parameters
EventItemAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required |
|
| PreviewText | string |
None. |
|
| Detail | string |
Required |
|
| Url | string |
None. |
|
| Location | string |
None. |
|
| Price | string |
None. |
|
| LatitudeLongitude | string |
None. |
|
| EventStartDate | date |
Required |
|
| EventEndDate | date |
Required |
|
| LanguageID | globally unique identifier |
Required |
|
| EventID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"previewText": "sample string 2",
"detail": "sample string 3",
"url": "sample string 4",
"location": "sample string 5",
"price": "sample string 6",
"latitudeLongitude": "sample string 7",
"eventStartDate": "2025-12-11T17:29:03.7761292+03:00",
"eventEndDate": "2025-12-11T17:29:03.7761292+03:00",
"languageID": "da8a02df-d989-41ac-af4b-7477134915e7",
"eventID": "361823f0-e039-4bb7-9432-69055e25f58b"
}
application/xml, text/xml
Sample:
<EventItemAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Detail>sample string 3</Detail> <EventEndDate>2025-12-11T17:29:03.7761292+03:00</EventEndDate> <EventID>361823f0-e039-4bb7-9432-69055e25f58b</EventID> <EventStartDate>2025-12-11T17:29:03.7761292+03:00</EventStartDate> <LanguageID>da8a02df-d989-41ac-af4b-7477134915e7</LanguageID> <LatitudeLongitude>sample string 7</LatitudeLongitude> <Location>sample string 5</Location> <PreviewText>sample string 2</PreviewText> <Price>sample string 6</Price> <Title>sample string 1</Title> <Url>sample string 4</Url> </EventItemAddDto>
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","Location":"sample string 5","Price":"sample string 6","LatitudeLongitude":"sample string 7","EventStartDate":"2025-12-11T17:29:03.7761292+03:00","EventEndDate":"2025-12-11T17:29:03.7761292+03:00","LanguageID":"da8a02df-d989-41ac-af4b-7477134915e7","EventID":"361823f0-e039-4bb7-9432-69055e25f58b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.