POST api/Events/PostEventDetails
Request Information
URI Parameters
None.
Body Parameters
EventPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| OrganisedBy | string |
None. |
|
| Venue | string |
None. |
|
| Base64Image | string |
None. |
|
| ImagePath | string |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": 1,
"StartDate": "2025-10-28T01:05:48.6047952+05:30",
"EndDate": "2025-10-28T01:05:48.6047952+05:30",
"Title": "sample string 4",
"Description": "sample string 5",
"OrganisedBy": "sample string 6",
"Venue": "sample string 7",
"Base64Image": "sample string 8",
"ImagePath": "sample string 9",
"UserId": "sample string 10"
}
application/xml, text/xml
Sample:
<EventPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operation.CustomModels"> <Base64Image>sample string 8</Base64Image> <Description>sample string 5</Description> <EndDate>2025-10-28T01:05:48.6047952+05:30</EndDate> <EventId>1</EventId> <ImagePath>sample string 9</ImagePath> <OrganisedBy>sample string 6</OrganisedBy> <StartDate>2025-10-28T01:05:48.6047952+05:30</StartDate> <Title>sample string 4</Title> <UserId>sample string 10</UserId> <Venue>sample string 7</Venue> </EventPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>