POST api/Contest/DeleteContest
Request Information
URI Parameters
None.
Body Parameters
EditContestCommandDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
ContestName | string |
None. |
|
ContestDescription | string |
None. |
|
ContestDate | date |
None. |
|
ContestTime | time interval |
None. |
|
Team1 | globally unique identifier |
None. |
|
Team2 | globally unique identifier |
None. |
|
IsContestLocked | boolean |
None. |
|
StickerId | globally unique identifier |
None. |
|
Sequence | integer |
None. |
|
UserId | globally unique identifier |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
StatusId | globally unique identifier |
None. |
|
IsPublished | boolean |
None. |
|
SeasonTypeId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "1ef18b49-bc5a-4f0f-8cc4-4d22e47846dd", "AccountId": "613a074f-981f-456f-ab32-e24f647c5549", "ContestName": "sample string 2", "ContestDescription": "sample string 3", "ContestDate": "2025-07-23T00:15:06.8210182+00:00", "ContestTime": "00:00:00.1234567", "Team1": "1c8f5f26-02c9-4e23-bcfb-bab41200a56e", "Team2": "7d4789b6-b1b2-44f3-8bbb-6886808cc088", "IsContestLocked": true, "StickerId": "6c65c212-a2b6-455e-8310-c8e5ead6a90b", "Sequence": 5, "UserId": "311482a7-46ff-4dc4-98d3-10738056cf5d", "SportsTypeId": "8acfb969-f72b-4e8d-8665-b71ac972df5b", "StatusId": "13cc4d88-94dd-4dbb-8359-72756d899b98", "IsPublished": true, "SeasonTypeId": "ec47ef53-d627-4b3d-bffc-e99aca033dec" }
application/xml, text/xml
Sample:
<EditContestCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestModule.Model"> <AccountId>613a074f-981f-456f-ab32-e24f647c5549</AccountId> <ContestDate>2025-07-23T00:15:06.8210182+00:00</ContestDate> <ContestDescription>sample string 3</ContestDescription> <ContestName>sample string 2</ContestName> <ContestTime>PT0.1234567S</ContestTime> <Id>1ef18b49-bc5a-4f0f-8cc4-4d22e47846dd</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <SeasonTypeId>ec47ef53-d627-4b3d-bffc-e99aca033dec</SeasonTypeId> <Sequence>5</Sequence> <SportsTypeId>8acfb969-f72b-4e8d-8665-b71ac972df5b</SportsTypeId> <StatusId>13cc4d88-94dd-4dbb-8359-72756d899b98</StatusId> <StickerId>6c65c212-a2b6-455e-8310-c8e5ead6a90b</StickerId> <Team1>1c8f5f26-02c9-4e23-bcfb-bab41200a56e</Team1> <Team2>7d4789b6-b1b2-44f3-8bbb-6886808cc088</Team2> <UserId>311482a7-46ff-4dc4-98d3-10738056cf5d</UserId> </EditContestCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>