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. |
|
ContestNameFr | string |
None. |
|
ContestDescription | string |
None. |
|
ContestDescriptionFr | 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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "375e21db-1e39-43a9-8d5c-3a0f824515f9", "AccountId": "30577388-ab44-423c-8bf1-5a54cde73c19", "ContestName": "sample string 2", "ContestNameFr": "sample string 3", "ContestDescription": "sample string 4", "ContestDescriptionFr": "sample string 5", "ContestDate": "2024-12-01T00:30:15.37435+00:00", "ContestTime": "00:00:00.1234567", "Team1": "fd34d9cd-593e-4134-a4ed-f3a3e323a111", "Team2": "0571cdbe-384a-4a9a-bd7d-a290ec05a9e0", "IsContestLocked": true, "StickerId": "481cadab-fc82-44b9-a2be-c95c9ce72efd", "Sequence": 7, "UserId": "f15f76a5-a583-4396-8e6f-cd2619be43f1", "SportsTypeId": "5ed70987-009f-4ac3-9689-95a6370f3120", "StatusId": "a2f25352-3aae-4ae5-b655-d2d85cd8133e", "IsPublished": true }
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>30577388-ab44-423c-8bf1-5a54cde73c19</AccountId> <ContestDate>2024-12-01T00:30:15.37435+00:00</ContestDate> <ContestDescription>sample string 4</ContestDescription> <ContestDescriptionFr>sample string 5</ContestDescriptionFr> <ContestName>sample string 2</ContestName> <ContestNameFr>sample string 3</ContestNameFr> <ContestTime>PT0.1234567S</ContestTime> <Id>375e21db-1e39-43a9-8d5c-3a0f824515f9</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <Sequence>7</Sequence> <SportsTypeId>5ed70987-009f-4ac3-9689-95a6370f3120</SportsTypeId> <StatusId>a2f25352-3aae-4ae5-b655-d2d85cd8133e</StatusId> <StickerId>481cadab-fc82-44b9-a2be-c95c9ce72efd</StickerId> <Team1>fd34d9cd-593e-4134-a4ed-f3a3e323a111</Team1> <Team2>0571cdbe-384a-4a9a-bd7d-a290ec05a9e0</Team2> <UserId>f15f76a5-a583-4396-8e6f-cd2619be43f1</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>