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. |
|
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": "285b5e10-6c5c-4555-9094-59214e17a1cd", "AccountId": "d43eab9e-d750-4311-9e1f-6cce66001ccd", "ContestName": "sample string 2", "ContestNameFr": "sample string 3", "ContestDescription": "sample string 4", "ContestDescriptionFr": "sample string 5", "ContestDate": "2025-04-03T20:33:41.5072393+00:00", "ContestTime": "00:00:00.1234567", "Team1": "cf21b624-c643-4337-9caf-fa3d41c22707", "Team2": "6344f823-f122-4ddc-a33e-248d09a1d83e", "IsContestLocked": true, "StickerId": "bc775b66-735e-4708-9825-2fc933c20123", "Sequence": 7, "UserId": "a7acea3e-b697-454b-96c9-4b167c9afa0f", "SportsTypeId": "76197f21-0b28-429e-b4cf-ab1d4caf584f", "StatusId": "28c46341-2975-4784-b025-8e59b8798a61", "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>d43eab9e-d750-4311-9e1f-6cce66001ccd</AccountId> <ContestDate>2025-04-03T20:33:41.5072393+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>285b5e10-6c5c-4555-9094-59214e17a1cd</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <Sequence>7</Sequence> <SportsTypeId>76197f21-0b28-429e-b4cf-ab1d4caf584f</SportsTypeId> <StatusId>28c46341-2975-4784-b025-8e59b8798a61</StatusId> <StickerId>bc775b66-735e-4708-9825-2fc933c20123</StickerId> <Team1>cf21b624-c643-4337-9caf-fa3d41c22707</Team1> <Team2>6344f823-f122-4ddc-a33e-248d09a1d83e</Team2> <UserId>a7acea3e-b697-454b-96c9-4b167c9afa0f</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>