POST api/activity/event/create
Request Information
URI Parameters
None.
Body Parameters
Event| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| EventName | string |
None. |
|
| EventIcon | Collection of byte |
None. |
|
| Description | string |
None. |
|
| StartDate | date |
Data type: Date |
|
| StartTime | date |
Data type: Time |
|
| EndDate | date |
Data type: Date |
|
| EndTime | date |
Data type: Time |
|
| EventCity | string |
None. |
|
| PostalCode | string |
None. |
|
| Country | string |
None. |
|
| CountryId | integer |
None. |
|
| EventGoogleLocation | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactPersonId | integer |
None. |
|
| ContractPersonDetails | string |
None. |
|
| EventCharges | decimal number |
None. |
|
| EventPaymentMode | string |
None. |
|
| MaxNoOfPlayersSingles | integer |
None. |
|
| MaxNoOfPlayersDouble | integer |
None. |
|
| EventPlayingMode | string |
None. |
|
| State | string |
None. |
|
| PaymentConfirmationMessage | string |
None. |
|
| PointforSinglewinner | integer |
None. |
|
| PointsforDoublewinner | integer |
None. |
|
| Pointforsinglelooser | integer |
None. |
|
| pointfordoublelooser | integer |
None. |
|
| PointFinalWinnerDoubles | integer |
None. |
|
| PointFinalWinnerSingles | integer |
None. |
|
| PointFinalRunnerUpDoubles | integer |
None. |
|
| PointFinalRunnerUpSingle | integer |
None. |
|
| StateId | integer |
None. |
|
| CityId | integer |
None. |
|
| ScoreSuperscriptDisplay | boolean |
None. |
|
| ActivityType | string |
None. |
|
| SkillLevelAllowed | string |
None. |
|
| PaymentReceived | boolean |
None. |
|
| PaymentQRCode | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": 1,
"EventName": "sample string 2",
"EventIcon": "QEA=",
"Description": "sample string 3",
"StartDate": "2025-12-06T05:43:26.1821647+01:00",
"StartTime": "2025-12-06T05:43:26.1821647+01:00",
"EndDate": "2025-12-06T05:43:26.1821647+01:00",
"EndTime": "2025-12-06T05:43:26.1821647+01:00",
"EventCity": "sample string 8",
"PostalCode": "sample string 9",
"Country": "sample string 10",
"CountryId": 11,
"EventGoogleLocation": "sample string 12",
"ContactPerson": "sample string 13",
"ContactPersonId": 14,
"ContractPersonDetails": "sample string 15",
"EventCharges": 16.0,
"EventPaymentMode": "sample string 17",
"MaxNoOfPlayersSingles": 18,
"MaxNoOfPlayersDouble": 19,
"EventPlayingMode": "sample string 20",
"State": "sample string 21",
"PaymentConfirmationMessage": "sample string 22",
"PointforSinglewinner": 23,
"PointsforDoublewinner": 24,
"Pointforsinglelooser": 25,
"pointfordoublelooser": 26,
"PointFinalWinnerDoubles": 27,
"PointFinalWinnerSingles": 28,
"PointFinalRunnerUpDoubles": 29,
"PointFinalRunnerUpSingle": 30,
"StateId": 31,
"CityId": 32,
"ScoreSuperscriptDisplay": true,
"ActivityType": "sample string 34",
"SkillLevelAllowed": "sample string 35",
"PaymentReceived": true,
"PaymentQRCode": "QEA="
}
application/xml, text/xml
Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportClub.DTO"> <ActivityType>sample string 34</ActivityType> <CityId>32</CityId> <ContactPerson>sample string 13</ContactPerson> <ContactPersonId>14</ContactPersonId> <ContractPersonDetails>sample string 15</ContractPersonDetails> <Country>sample string 10</Country> <CountryId>11</CountryId> <Description>sample string 3</Description> <EndDate>2025-12-06T05:43:26.1821647+01:00</EndDate> <EndTime>2025-12-06T05:43:26.1821647+01:00</EndTime> <EventCharges>16</EventCharges> <EventCity>sample string 8</EventCity> <EventGoogleLocation>sample string 12</EventGoogleLocation> <EventIcon>QEA=</EventIcon> <EventId>1</EventId> <EventName>sample string 2</EventName> <EventPaymentMode>sample string 17</EventPaymentMode> <EventPlayingMode>sample string 20</EventPlayingMode> <MaxNoOfPlayersDouble>19</MaxNoOfPlayersDouble> <MaxNoOfPlayersSingles>18</MaxNoOfPlayersSingles> <PaymentConfirmationMessage>sample string 22</PaymentConfirmationMessage> <PaymentQRCode>QEA=</PaymentQRCode> <PaymentReceived>true</PaymentReceived> <PointFinalRunnerUpDoubles>29</PointFinalRunnerUpDoubles> <PointFinalRunnerUpSingle>30</PointFinalRunnerUpSingle> <PointFinalWinnerDoubles>27</PointFinalWinnerDoubles> <PointFinalWinnerSingles>28</PointFinalWinnerSingles> <PointforSinglewinner>23</PointforSinglewinner> <Pointforsinglelooser>25</Pointforsinglelooser> <PointsforDoublewinner>24</PointsforDoublewinner> <PostalCode>sample string 9</PostalCode> <ScoreSuperscriptDisplay>true</ScoreSuperscriptDisplay> <SkillLevelAllowed>sample string 35</SkillLevelAllowed> <StartDate>2025-12-06T05:43:26.1821647+01:00</StartDate> <StartTime>2025-12-06T05:43:26.1821647+01:00</StartTime> <State>sample string 21</State> <StateId>31</StateId> <pointfordoublelooser>26</pointfordoublelooser> </Event>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.