POST api/Contest/SendContestEmail
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": "7dab3690-3e04-4a44-a0dd-4b9e23d699ef", "AccountId": "af4c6cce-e85e-4627-af48-fcae50c822a2", "ContestName": "sample string 2", "ContestNameFr": "sample string 3", "ContestDescription": "sample string 4", "ContestDescriptionFr": "sample string 5", "ContestDate": "2024-11-28T08:01:25.7050235+00:00", "ContestTime": "00:00:00.1234567", "Team1": "772e510b-6f2b-41f7-9b68-a6a1ae826e25", "Team2": "a5190593-16b5-49ea-9075-3435a9e06364", "IsContestLocked": true, "StickerId": "23d31fb2-0794-4496-8733-ea77d1c1ab98", "Sequence": 7, "UserId": "42f2775e-1732-466e-85df-234400748671", "SportsTypeId": "5b5c992e-7dd9-44e3-97cd-3083f4e49a9e", "StatusId": "bc5f0887-e4ec-4678-a790-a259acf90ab6", "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>af4c6cce-e85e-4627-af48-fcae50c822a2</AccountId> <ContestDate>2024-11-28T08:01:25.7050235+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>7dab3690-3e04-4a44-a0dd-4b9e23d699ef</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <Sequence>7</Sequence> <SportsTypeId>5b5c992e-7dd9-44e3-97cd-3083f4e49a9e</SportsTypeId> <StatusId>bc5f0887-e4ec-4678-a790-a259acf90ab6</StatusId> <StickerId>23d31fb2-0794-4496-8733-ea77d1c1ab98</StickerId> <Team1>772e510b-6f2b-41f7-9b68-a6a1ae826e25</Team1> <Team2>a5190593-16b5-49ea-9075-3435a9e06364</Team2> <UserId>42f2775e-1732-466e-85df-234400748671</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>