POST api/Contest/EditContest
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": "0dce133d-8878-48fd-9d11-add4579a3607", "AccountId": "ba750baf-9172-4398-94f8-fa4b56494a55", "ContestName": "sample string 2", "ContestDescription": "sample string 3", "ContestDate": "2025-07-23T00:17:05.4576242+00:00", "ContestTime": "00:00:00.1234567", "Team1": "f2c2e76b-f1c8-4f11-b3ef-41f1a4e76c9b", "Team2": "7a0c428a-6122-4f22-b692-03bc25b11a14", "IsContestLocked": true, "StickerId": "40b8b3ca-d71c-4edb-aab6-1a7a6d6750c9", "Sequence": 5, "UserId": "770c11c5-e5f2-4712-835b-bc6a019f7112", "SportsTypeId": "1c6e4850-c23d-4abb-a5ec-e9aa13ed6148", "StatusId": "83c6ac07-7223-4286-b5f8-a1876238cf15", "IsPublished": true, "SeasonTypeId": "d9a12606-892f-4629-bc8a-dfea3a924de3" }
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>ba750baf-9172-4398-94f8-fa4b56494a55</AccountId> <ContestDate>2025-07-23T00:17:05.4576242+00:00</ContestDate> <ContestDescription>sample string 3</ContestDescription> <ContestName>sample string 2</ContestName> <ContestTime>PT0.1234567S</ContestTime> <Id>0dce133d-8878-48fd-9d11-add4579a3607</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <SeasonTypeId>d9a12606-892f-4629-bc8a-dfea3a924de3</SeasonTypeId> <Sequence>5</Sequence> <SportsTypeId>1c6e4850-c23d-4abb-a5ec-e9aa13ed6148</SportsTypeId> <StatusId>83c6ac07-7223-4286-b5f8-a1876238cf15</StatusId> <StickerId>40b8b3ca-d71c-4edb-aab6-1a7a6d6750c9</StickerId> <Team1>f2c2e76b-f1c8-4f11-b3ef-41f1a4e76c9b</Team1> <Team2>7a0c428a-6122-4f22-b692-03bc25b11a14</Team2> <UserId>770c11c5-e5f2-4712-835b-bc6a019f7112</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>