POST api/activity/Tournment/CreateTournments
Request Information
URI Parameters
None.
Body Parameters
Tournments| Name | Description | Type | Additional information |
|---|---|---|---|
| TournmentId | integer |
None. |
|
| TournmentName | string |
None. |
|
| Description | string |
None. |
|
| PostalCode | string |
None. |
|
| City | string |
None. |
|
| CityId | integer |
None. |
|
| StateName | string |
None. |
|
| StateId | integer |
None. |
|
| Country | string |
None. |
|
| CountryId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Address | string |
None. |
|
| FeesSingle | integer |
None. |
|
| FeesDouble | integer |
None. |
|
| FeesTeam | integer |
None. |
|
| GoogleLocation | string |
None. |
|
| EventPicture | Collection of byte |
None. |
|
| ContactPersonName | string |
None. |
|
| ContactPersonDetails | string |
None. |
|
| CreatedBy | integer |
None. |
|
| ApplyLastDate | date |
None. |
|
| TypeofCourt | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TournmentId": 1,
"TournmentName": "sample string 2",
"Description": "sample string 3",
"PostalCode": "sample string 4",
"City": "sample string 5",
"CityId": 6,
"StateName": "sample string 7",
"StateId": 8,
"Country": "sample string 9",
"CountryId": 10,
"StartDate": "2025-12-06T05:41:05.4315175+01:00",
"EndDate": "2025-12-06T05:41:05.4315175+01:00",
"Address": "sample string 13",
"FeesSingle": 14,
"FeesDouble": 15,
"FeesTeam": 16,
"GoogleLocation": "sample string 17",
"EventPicture": "QEA=",
"ContactPersonName": "sample string 18",
"ContactPersonDetails": "sample string 19",
"CreatedBy": 20,
"ApplyLastDate": "2025-12-06T05:41:05.4315175+01:00",
"TypeofCourt": "sample string 22"
}
application/xml, text/xml
Sample:
<Tournments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportClub.DTO"> <Address>sample string 13</Address> <ApplyLastDate>2025-12-06T05:41:05.4315175+01:00</ApplyLastDate> <City>sample string 5</City> <CityId>6</CityId> <ContactPersonDetails>sample string 19</ContactPersonDetails> <ContactPersonName>sample string 18</ContactPersonName> <Country>sample string 9</Country> <CountryId>10</CountryId> <CreatedBy>20</CreatedBy> <Description>sample string 3</Description> <EndDate>2025-12-06T05:41:05.4315175+01:00</EndDate> <EventPicture>QEA=</EventPicture> <FeesDouble>15</FeesDouble> <FeesSingle>14</FeesSingle> <FeesTeam>16</FeesTeam> <GoogleLocation>sample string 17</GoogleLocation> <PostalCode>sample string 4</PostalCode> <StartDate>2025-12-06T05:41:05.4315175+01:00</StartDate> <StateId>8</StateId> <StateName>sample string 7</StateName> <TournmentId>1</TournmentId> <TournmentName>sample string 2</TournmentName> <TypeofCourt>sample string 22</TypeofCourt> </Tournments>
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.