POST api/MatchConfiguration/CRUD
Add/Update/Delete TimeZones
Request Information
URI Parameters
None.
Body Parameters
String Array of MatchConfigurations And Information(Mandatory)
Collection of MatchConfigurationsInfoName | Description | Type | Additional information |
---|---|---|---|
MatchConfigurationId | integer |
None. |
|
MatchConfigName | string |
None. |
|
BestOfXGames | integer |
None. |
|
MaxpointsperGame | integer |
None. |
|
AdvantageperGame | integer |
None. |
|
SuddenDeathPoint | integer |
None. |
|
TTRReview | boolean |
None. |
|
MaxChallengesPerCompetitor | integer |
None. |
|
YellowCard | boolean |
None. |
|
YellowRed1 | boolean |
None. |
|
YellowRed2 | boolean |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
TeamMatchTotal | integer |
None. |
|
TeamMatchBestOfXGames | integer |
None. |
|
TeamMatchWinnerNumberOfGames | integer |
None. |
|
TeamMatchSequence | string |
None. |
|
IndividualMatchType | integer |
None. |
|
MaxGamesPerIndividualMatch | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "MatchConfigurationId": 1, "MatchConfigName": "sample string 2", "BestOfXGames": 3, "MaxpointsperGame": 4, "AdvantageperGame": 5, "SuddenDeathPoint": 6, "TTRReview": true, "MaxChallengesPerCompetitor": 1, "YellowCard": true, "YellowRed1": true, "YellowRed2": true, "IsActive": true, "IsDeleted": true, "TeamMatchTotal": 1, "TeamMatchBestOfXGames": 1, "TeamMatchWinnerNumberOfGames": 1, "TeamMatchSequence": "sample string 7", "IndividualMatchType": 1, "MaxGamesPerIndividualMatch": 1 }, { "MatchConfigurationId": 1, "MatchConfigName": "sample string 2", "BestOfXGames": 3, "MaxpointsperGame": 4, "AdvantageperGame": 5, "SuddenDeathPoint": 6, "TTRReview": true, "MaxChallengesPerCompetitor": 1, "YellowCard": true, "YellowRed1": true, "YellowRed2": true, "IsActive": true, "IsDeleted": true, "TeamMatchTotal": 1, "TeamMatchBestOfXGames": 1, "TeamMatchWinnerNumberOfGames": 1, "TeamMatchSequence": "sample string 7", "IndividualMatchType": 1, "MaxGamesPerIndividualMatch": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfMatchConfigurationsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <MatchConfigurationsInfo> <AdvantageperGame>5</AdvantageperGame> <BestOfXGames>3</BestOfXGames> <IndividualMatchType>1</IndividualMatchType> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <MatchConfigName>sample string 2</MatchConfigName> <MatchConfigurationId>1</MatchConfigurationId> <MaxChallengesPerCompetitor>1</MaxChallengesPerCompetitor> <MaxGamesPerIndividualMatch>1</MaxGamesPerIndividualMatch> <MaxpointsperGame>4</MaxpointsperGame> <SuddenDeathPoint>6</SuddenDeathPoint> <TTRReview>true</TTRReview> <TeamMatchBestOfXGames>1</TeamMatchBestOfXGames> <TeamMatchSequence>sample string 7</TeamMatchSequence> <TeamMatchTotal>1</TeamMatchTotal> <TeamMatchWinnerNumberOfGames>1</TeamMatchWinnerNumberOfGames> <YellowCard>true</YellowCard> <YellowRed1>true</YellowRed1> <YellowRed2>true</YellowRed2> </MatchConfigurationsInfo> <MatchConfigurationsInfo> <AdvantageperGame>5</AdvantageperGame> <BestOfXGames>3</BestOfXGames> <IndividualMatchType>1</IndividualMatchType> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <MatchConfigName>sample string 2</MatchConfigName> <MatchConfigurationId>1</MatchConfigurationId> <MaxChallengesPerCompetitor>1</MaxChallengesPerCompetitor> <MaxGamesPerIndividualMatch>1</MaxGamesPerIndividualMatch> <MaxpointsperGame>4</MaxpointsperGame> <SuddenDeathPoint>6</SuddenDeathPoint> <TTRReview>true</TTRReview> <TeamMatchBestOfXGames>1</TeamMatchBestOfXGames> <TeamMatchSequence>sample string 7</TeamMatchSequence> <TeamMatchTotal>1</TeamMatchTotal> <TeamMatchWinnerNumberOfGames>1</TeamMatchWinnerNumberOfGames> <YellowCard>true</YellowCard> <YellowRed1>true</YellowRed1> <YellowRed2>true</YellowRed2> </MatchConfigurationsInfo> </ArrayOfMatchConfigurationsInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>