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": "97e90ea9-0ca6-4960-ab5f-271055bf2450", "AccountId": "7248daae-d8a7-44e3-9024-e65b3fdb9f60", "ContestName": "sample string 2", "ContestNameFr": "sample string 3", "ContestDescription": "sample string 4", "ContestDescriptionFr": "sample string 5", "ContestDate": "2024-12-01T00:25:02.8114008+00:00", "ContestTime": "00:00:00.1234567", "Team1": "daf6c059-8bdd-4401-964e-c5be94f26ead", "Team2": "4c027bf5-e533-4318-a3e2-f6d3eef1be80", "IsContestLocked": true, "StickerId": "30e8a407-4f1f-430b-aced-e4b5c5a99ad8", "Sequence": 7, "UserId": "a8dee14d-9dfa-4ea8-abcf-146417f9096c", "SportsTypeId": "4dcc33a5-3862-4048-9899-4d045baa2e73", "StatusId": "44364c64-7af9-433b-89e5-4ed05f66b0f7", "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>7248daae-d8a7-44e3-9024-e65b3fdb9f60</AccountId> <ContestDate>2024-12-01T00:25:02.8114008+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>97e90ea9-0ca6-4960-ab5f-271055bf2450</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <Sequence>7</Sequence> <SportsTypeId>4dcc33a5-3862-4048-9899-4d045baa2e73</SportsTypeId> <StatusId>44364c64-7af9-433b-89e5-4ed05f66b0f7</StatusId> <StickerId>30e8a407-4f1f-430b-aced-e4b5c5a99ad8</StickerId> <Team1>daf6c059-8bdd-4401-964e-c5be94f26ead</Team1> <Team2>4c027bf5-e533-4318-a3e2-f6d3eef1be80</Team2> <UserId>a8dee14d-9dfa-4ea8-abcf-146417f9096c</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>