POST api/events

Request Information

URI Parameters

None.

Body Parameters

CreateEventDto
NameDescriptionTypeAdditional information
EventCategoryId

integer

None.

LocalBodyId

integer

None.

VenueId

integer

None.

MahalId

integer

None.

Title

string

None.

TitleMl

string

None.

CustomVenueName

string

None.

CustomVenueAddress

string

None.

EventDate

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

HostPersonName

string

None.

HostPhone

string

None.

HostWhatsApp

string

None.

EstimatedGuests

integer

None.

Description

string

None.

IsPublic

boolean

None.

IsPrivate

boolean

None.

ConflictAcknowledged

boolean

None.

ConflictNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventCategoryId": 1,
  "LocalBodyId": 2,
  "VenueId": 1,
  "MahalId": 1,
  "Title": "sample string 3",
  "TitleMl": "sample string 4",
  "CustomVenueName": "sample string 5",
  "CustomVenueAddress": "sample string 6",
  "EventDate": "2026-11-03T08:36:30.2605406+04:00",
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "HostPersonName": "sample string 10",
  "HostPhone": "sample string 11",
  "HostWhatsApp": "sample string 12",
  "EstimatedGuests": 1,
  "Description": "sample string 13",
  "IsPublic": true,
  "IsPrivate": true,
  "ConflictAcknowledged": true,
  "ConflictNotes": "sample string 17"
}

application/xml, text/xml

Sample:
<CreateEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellMarket.Models">
  <ConflictAcknowledged>true</ConflictAcknowledged>
  <ConflictNotes>sample string 17</ConflictNotes>
  <CustomVenueAddress>sample string 6</CustomVenueAddress>
  <CustomVenueName>sample string 5</CustomVenueName>
  <Description>sample string 13</Description>
  <EndTime>PT0.1234567S</EndTime>
  <EstimatedGuests>1</EstimatedGuests>
  <EventCategoryId>1</EventCategoryId>
  <EventDate>2026-11-03T08:36:30.2605406+04:00</EventDate>
  <HostPersonName>sample string 10</HostPersonName>
  <HostPhone>sample string 11</HostPhone>
  <HostWhatsApp>sample string 12</HostWhatsApp>
  <IsPrivate>true</IsPrivate>
  <IsPublic>true</IsPublic>
  <LocalBodyId>2</LocalBodyId>
  <MahalId>1</MahalId>
  <StartTime>PT0.1234567S</StartTime>
  <Title>sample string 3</Title>
  <TitleMl>sample string 4</TitleMl>
  <VenueId>1</VenueId>
</CreateEventDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.