POST api/TournamentPhase/CRUD
Add/Update/Delete TournamentPhases
Request Information
URI Parameters
None.
Body Parameters
String Array of TournamentPhases And Information(Mandatory)
Collection of TournamentPhaseInfoName | Description | Type | Additional information |
---|---|---|---|
TournamentPhaseId | integer |
None. |
|
PhaseCode | string |
None. |
|
PhaseName | string |
None. |
|
SortOrder | integer |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "TournamentPhaseId": 1, "PhaseCode": "sample string 2", "PhaseName": "sample string 3", "SortOrder": 4, "IsActive": true, "IsDeleted": true }, { "TournamentPhaseId": 1, "PhaseCode": "sample string 2", "PhaseName": "sample string 3", "SortOrder": 4, "IsActive": true, "IsDeleted": true } ]
application/xml, text/xml
Sample:
<ArrayOfTournamentPhaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <TournamentPhaseInfo> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <PhaseCode>sample string 2</PhaseCode> <PhaseName>sample string 3</PhaseName> <SortOrder>4</SortOrder> <TournamentPhaseId>1</TournamentPhaseId> </TournamentPhaseInfo> <TournamentPhaseInfo> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <PhaseCode>sample string 2</PhaseCode> <PhaseName>sample string 3</PhaseName> <SortOrder>4</SortOrder> <TournamentPhaseId>1</TournamentPhaseId> </TournamentPhaseInfo> </ArrayOfTournamentPhaseInfo>
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>