POST api/Match/create

Request Information

URI Parameters

None.

Body Parameters

RegisterMatch
NameDescriptionTypeAdditional information
MatchId

integer

None.

MatchDate

date

None.

MatchTime

date

None.

Duration

integer

None.

ClubCourtId

integer

None.

GoogleLocation

string

None.

PostCodeOfClub

string

None.

State

string

None.

Country

string

None.

CountryId

integer

None.

PartnerSkillLevel

string

None.

NoOfPlayersNeeded

integer

None.

PlayingMode

string

None.

Comments

string

None.

ExpiryDate

date

None.

Deleted

integer

None.

CreatedBy

integer

None.

CreatedDateTime

date

None.

LastModifiedBy

integer

None.

LastModifiedDateTime

date

None.

isDeleted

integer

None.

ClubNameAddress

string

None.

City

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MatchId": 1,
  "MatchDate": "2025-12-06T05:43:15.5098974+01:00",
  "MatchTime": "2025-12-06T05:43:15.5098974+01:00",
  "Duration": 4,
  "ClubCourtId": 5,
  "GoogleLocation": "sample string 6",
  "PostCodeOfClub": "sample string 7",
  "State": "sample string 8",
  "Country": "sample string 9",
  "CountryId": 10,
  "PartnerSkillLevel": "sample string 11",
  "NoOfPlayersNeeded": 12,
  "PlayingMode": "sample string 13",
  "Comments": "sample string 14",
  "ExpiryDate": "2025-12-06T05:43:15.5098974+01:00",
  "Deleted": 16,
  "CreatedBy": 17,
  "CreatedDateTime": "2025-12-06T05:43:15.5098974+01:00",
  "LastModifiedBy": 19,
  "LastModifiedDateTime": "2025-12-06T05:43:15.5098974+01:00",
  "isDeleted": 21,
  "ClubNameAddress": "sample string 22",
  "City": "sample string 23"
}

application/xml, text/xml

Sample:
<RegisterMatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportClub.DTO">
  <City>sample string 23</City>
  <ClubCourtId>5</ClubCourtId>
  <ClubNameAddress>sample string 22</ClubNameAddress>
  <Comments>sample string 14</Comments>
  <Country>sample string 9</Country>
  <CountryId>10</CountryId>
  <CreatedBy>17</CreatedBy>
  <CreatedDateTime>2025-12-06T05:43:15.5098974+01:00</CreatedDateTime>
  <Deleted>16</Deleted>
  <Duration>4</Duration>
  <ExpiryDate>2025-12-06T05:43:15.5098974+01:00</ExpiryDate>
  <GoogleLocation>sample string 6</GoogleLocation>
  <LastModifiedBy>19</LastModifiedBy>
  <LastModifiedDateTime>2025-12-06T05:43:15.5098974+01:00</LastModifiedDateTime>
  <MatchDate>2025-12-06T05:43:15.5098974+01:00</MatchDate>
  <MatchId>1</MatchId>
  <MatchTime>2025-12-06T05:43:15.5098974+01:00</MatchTime>
  <NoOfPlayersNeeded>12</NoOfPlayersNeeded>
  <PartnerSkillLevel>sample string 11</PartnerSkillLevel>
  <PlayingMode>sample string 13</PlayingMode>
  <PostCodeOfClub>sample string 7</PostCodeOfClub>
  <State>sample string 8</State>
  <isDeleted>21</isDeleted>
</RegisterMatch>

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.