POST api/Contest/DuplicateContest
Request Information
URI Parameters
None.
Body Parameters
DuplicateContestCommandDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
ContestName | string |
None. |
|
StickerId | globally unique identifier |
None. |
|
ContestType | globally unique identifier |
None. |
|
ContestDescription | string |
None. |
|
ContestImageDesktop | string |
None. |
|
ContestImageMobile | string |
None. |
|
WinnerImage | string |
None. |
|
Sequence | integer |
None. |
|
ContestDate | date |
None. |
|
ContestTime | time interval |
None. |
|
Team1 | globally unique identifier |
None. |
|
Team2 | globally unique identifier |
None. |
|
Location | string |
None. |
|
PrizePool | decimal number |
None. |
|
BannerImage | string |
None. |
|
BannerImageURL | string |
None. |
|
EntryFee | decimal number |
None. |
|
IsContestLocked | boolean |
None. |
|
IsRaceLocked | boolean |
None. |
|
RaceMode | globally unique identifier |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
StatusId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
ContestNameFr | string |
None. |
|
ContestDescriptionFr | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "8cffd349-28e5-4da8-972c-7d9eb501fe67", "AccountId": "e64fbe2b-9660-4671-9946-3fc1adb932d1", "ContestName": "sample string 2", "StickerId": "63cf6ffe-dfa4-40be-9001-43bfe16e1eed", "ContestType": "86de2d2f-d458-4f0e-81d0-eb4c2608cae0", "ContestDescription": "sample string 3", "ContestImageDesktop": "sample string 4", "ContestImageMobile": "sample string 5", "WinnerImage": "sample string 6", "Sequence": 1, "ContestDate": "2025-04-03T20:06:25.6317885+00:00", "ContestTime": "00:00:00.1234567", "Team1": "94856e3e-d044-4983-9731-16386ab5d552", "Team2": "013d78e7-dc00-47c1-8080-40c292f9a84e", "Location": "sample string 7", "PrizePool": 1.0, "BannerImage": "sample string 8", "BannerImageURL": "sample string 9", "EntryFee": 1.0, "IsContestLocked": true, "IsRaceLocked": true, "RaceMode": "a6a3e39d-27cb-4dc2-b9b9-4dd2eb3b28b8", "SportsTypeId": "cb7448c5-4da3-46d8-9d85-40dfa4cfdd6e", "StatusId": "a79e854e-ee1b-4bfa-853e-da4bd9b7bccc", "UserId": "292e71e7-c9ae-4170-85b7-15bfb87cce86", "ContestNameFr": "sample string 11", "ContestDescriptionFr": "sample string 12" }
application/xml, text/xml
Sample:
<DuplicateContestCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestModule.Model"> <AccountId>e64fbe2b-9660-4671-9946-3fc1adb932d1</AccountId> <BannerImage>sample string 8</BannerImage> <BannerImageURL>sample string 9</BannerImageURL> <ContestDate>2025-04-03T20:06:25.6317885+00:00</ContestDate> <ContestDescription>sample string 3</ContestDescription> <ContestDescriptionFr>sample string 12</ContestDescriptionFr> <ContestImageDesktop>sample string 4</ContestImageDesktop> <ContestImageMobile>sample string 5</ContestImageMobile> <ContestName>sample string 2</ContestName> <ContestNameFr>sample string 11</ContestNameFr> <ContestTime>PT0.1234567S</ContestTime> <ContestType>86de2d2f-d458-4f0e-81d0-eb4c2608cae0</ContestType> <EntryFee>1</EntryFee> <Id>8cffd349-28e5-4da8-972c-7d9eb501fe67</Id> <IsContestLocked>true</IsContestLocked> <IsRaceLocked>true</IsRaceLocked> <Location>sample string 7</Location> <PrizePool>1</PrizePool> <RaceMode>a6a3e39d-27cb-4dc2-b9b9-4dd2eb3b28b8</RaceMode> <Sequence>1</Sequence> <SportsTypeId>cb7448c5-4da3-46d8-9d85-40dfa4cfdd6e</SportsTypeId> <StatusId>a79e854e-ee1b-4bfa-853e-da4bd9b7bccc</StatusId> <StickerId>63cf6ffe-dfa4-40be-9001-43bfe16e1eed</StickerId> <Team1>94856e3e-d044-4983-9731-16386ab5d552</Team1> <Team2>013d78e7-dc00-47c1-8080-40c292f9a84e</Team2> <UserId>292e71e7-c9ae-4170-85b7-15bfb87cce86</UserId> <WinnerImage>sample string 6</WinnerImage> </DuplicateContestCommandDto>
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>