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": "404e5b4b-7be3-41fd-8cb1-ab39bf4a0bee", "AccountId": "cd67ebbf-2bf2-4ef3-b127-0f018e43ec60", "ContestName": "sample string 2", "StickerId": "15205d6f-4506-4f34-85d6-d903d5d490a1", "ContestType": "ae1ac081-c609-4b96-a1c8-05954a7e9e65", "ContestDescription": "sample string 3", "ContestImageDesktop": "sample string 4", "ContestImageMobile": "sample string 5", "WinnerImage": "sample string 6", "Sequence": 1, "ContestDate": "2024-11-28T07:42:58.1757056+00:00", "ContestTime": "00:00:00.1234567", "Team1": "65258230-30d0-41b2-94ef-248b6391f675", "Team2": "b10b9d03-caa0-4fb7-ad47-c303973cdec0", "Location": "sample string 7", "PrizePool": 1.0, "BannerImage": "sample string 8", "BannerImageURL": "sample string 9", "EntryFee": 1.0, "IsContestLocked": true, "IsRaceLocked": true, "RaceMode": "ee6ce4de-8e86-448a-9fa7-d5caf68aa55e", "SportsTypeId": "c301b0a0-b4a9-4acb-a088-ade7d3a53825", "StatusId": "4fc262ea-2fea-4786-af51-84f466161788", "UserId": "ba7ac7f0-75c4-41f8-8642-4e494000918c", "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>cd67ebbf-2bf2-4ef3-b127-0f018e43ec60</AccountId> <BannerImage>sample string 8</BannerImage> <BannerImageURL>sample string 9</BannerImageURL> <ContestDate>2024-11-28T07:42:58.1757056+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>ae1ac081-c609-4b96-a1c8-05954a7e9e65</ContestType> <EntryFee>1</EntryFee> <Id>404e5b4b-7be3-41fd-8cb1-ab39bf4a0bee</Id> <IsContestLocked>true</IsContestLocked> <IsRaceLocked>true</IsRaceLocked> <Location>sample string 7</Location> <PrizePool>1</PrizePool> <RaceMode>ee6ce4de-8e86-448a-9fa7-d5caf68aa55e</RaceMode> <Sequence>1</Sequence> <SportsTypeId>c301b0a0-b4a9-4acb-a088-ade7d3a53825</SportsTypeId> <StatusId>4fc262ea-2fea-4786-af51-84f466161788</StatusId> <StickerId>15205d6f-4506-4f34-85d6-d903d5d490a1</StickerId> <Team1>65258230-30d0-41b2-94ef-248b6391f675</Team1> <Team2>b10b9d03-caa0-4fb7-ad47-c303973cdec0</Team2> <UserId>ba7ac7f0-75c4-41f8-8642-4e494000918c</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>