POST api/activity/League/Update

Request Information

URI Parameters

None.

Body Parameters

League
NameDescriptionTypeAdditional information
LeagueId

integer

None.

LeagueName

string

None.

LeagueCity

string

None.

Description

string

None.

StartDate

date

Data type: Date

StartTime

date

Data type: Time

EndDate

date

Data type: Date

EndTime

date

Data type: Time

PostalCode

string

None.

State

string

None.

Country

string

None.

CountryId

integer

None.

GoogleLocation

string

None.

ContactPerson

string

None.

ContactPersonId

integer

None.

ContactPersonDetails

string

None.

LeagueCharges

string

Data type: Currency

LeaguePaymentMode

string

None.

MaxNoOfPlayersSingles

integer

None.

MaxNoOfPlayersDouble

integer

None.

WhoIsPayingEntryFee

string

None.

LeaguePlayingMode

string

None.

TypeOfLeague

string

None.

LeagueRules

string

None.

LeagueLogo

Collection of byte

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.

SkillLevelAllowed

string

None.

PaymentQRCode

Collection of byte

None.

stopregistration

boolean

None.

WhatsappNeeded

boolean

None.

QualiferEliminator

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LeagueId": 1,
  "LeagueName": "sample string 2",
  "LeagueCity": "sample string 3",
  "Description": "sample string 4",
  "StartDate": "2025-12-06T05:44:57.0195265+01:00",
  "StartTime": "2025-12-06T05:44:57.0195265+01:00",
  "EndDate": "2025-12-06T05:44:57.0195265+01:00",
  "EndTime": "2025-12-06T05:44:57.0195265+01:00",
  "PostalCode": "sample string 9",
  "State": "sample string 10",
  "Country": "sample string 11",
  "CountryId": 12,
  "GoogleLocation": "sample string 13",
  "ContactPerson": "sample string 14",
  "ContactPersonId": 15,
  "ContactPersonDetails": "sample string 16",
  "LeagueCharges": "sample string 17",
  "LeaguePaymentMode": "sample string 18",
  "MaxNoOfPlayersSingles": 19,
  "MaxNoOfPlayersDouble": 20,
  "WhoIsPayingEntryFee": "sample string 21",
  "LeaguePlayingMode": "sample string 22",
  "TypeOfLeague": "sample string 23",
  "LeagueRules": "sample string 24",
  "LeagueLogo": "QEA=",
  "PaymentConfirmationMessage": "sample string 25",
  "PointforSinglewinner": 26,
  "PointsforDoublewinner": 27,
  "Pointforsinglelooser": 28,
  "pointfordoublelooser": 29,
  "PointFinalWinnerDoubles": 30,
  "PointFinalWinnerSingles": 31,
  "PointFinalRunnerUpDoubles": 32,
  "PointFinalRunnerUpSingle": 33,
  "StateId": 34,
  "CityId": 35,
  "ScoreSuperscriptDisplay": true,
  "SkillLevelAllowed": "sample string 37",
  "PaymentQRCode": "QEA=",
  "stopregistration": true,
  "WhatsappNeeded": true,
  "QualiferEliminator": true
}

application/xml, text/xml

Sample:
<League xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportClub.DTO">
  <CityId>35</CityId>
  <ContactPerson>sample string 14</ContactPerson>
  <ContactPersonDetails>sample string 16</ContactPersonDetails>
  <ContactPersonId>15</ContactPersonId>
  <Country>sample string 11</Country>
  <CountryId>12</CountryId>
  <Description>sample string 4</Description>
  <EndDate>2025-12-06T05:44:57.0195265+01:00</EndDate>
  <EndTime>2025-12-06T05:44:57.0195265+01:00</EndTime>
  <GoogleLocation>sample string 13</GoogleLocation>
  <LeagueCharges>sample string 17</LeagueCharges>
  <LeagueCity>sample string 3</LeagueCity>
  <LeagueId>1</LeagueId>
  <LeagueLogo>QEA=</LeagueLogo>
  <LeagueName>sample string 2</LeagueName>
  <LeaguePaymentMode>sample string 18</LeaguePaymentMode>
  <LeaguePlayingMode>sample string 22</LeaguePlayingMode>
  <LeagueRules>sample string 24</LeagueRules>
  <MaxNoOfPlayersDouble>20</MaxNoOfPlayersDouble>
  <MaxNoOfPlayersSingles>19</MaxNoOfPlayersSingles>
  <PaymentConfirmationMessage>sample string 25</PaymentConfirmationMessage>
  <PaymentQRCode>QEA=</PaymentQRCode>
  <PointFinalRunnerUpDoubles>32</PointFinalRunnerUpDoubles>
  <PointFinalRunnerUpSingle>33</PointFinalRunnerUpSingle>
  <PointFinalWinnerDoubles>30</PointFinalWinnerDoubles>
  <PointFinalWinnerSingles>31</PointFinalWinnerSingles>
  <PointforSinglewinner>26</PointforSinglewinner>
  <Pointforsinglelooser>28</Pointforsinglelooser>
  <PointsforDoublewinner>27</PointsforDoublewinner>
  <PostalCode>sample string 9</PostalCode>
  <QualiferEliminator>true</QualiferEliminator>
  <ScoreSuperscriptDisplay>true</ScoreSuperscriptDisplay>
  <SkillLevelAllowed>sample string 37</SkillLevelAllowed>
  <StartDate>2025-12-06T05:44:57.0195265+01:00</StartDate>
  <StartTime>2025-12-06T05:44:57.0195265+01:00</StartTime>
  <State>sample string 10</State>
  <StateId>34</StateId>
  <TypeOfLeague>sample string 23</TypeOfLeague>
  <WhatsappNeeded>true</WhatsappNeeded>
  <WhoIsPayingEntryFee>sample string 21</WhoIsPayingEntryFee>
  <pointfordoublelooser>29</pointfordoublelooser>
  <stopregistration>true</stopregistration>
</League>

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.