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": "96253cc9-3f00-41aa-9cad-79222bc170db", "AccountId": "75828a06-7050-419e-b5ef-d59c2c43bfb8", "ContestName": "sample string 2", "ContestNameFr": "sample string 3", "ContestDescription": "sample string 4", "ContestDescriptionFr": "sample string 5", "ContestDate": "2024-12-01T02:52:50.1099894+00:00", "ContestTime": "00:00:00.1234567", "Team1": "8c97c56a-2d08-4acb-8d5b-70f317d38bb9", "Team2": "473e544b-4343-4f4d-8cfe-d998b2fb84a2", "IsContestLocked": true, "StickerId": "34fa78f0-87ab-413b-a1a7-c0d1fdb5899d", "Sequence": 7, "UserId": "87c5cf37-600d-4719-86bf-3b008ed60c78", "SportsTypeId": "86ec2d6d-c4cd-4a2c-96d3-7a0627c06fb4", "StatusId": "db079885-8939-49cb-9862-e6be9f4dc325", "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>75828a06-7050-419e-b5ef-d59c2c43bfb8</AccountId> <ContestDate>2024-12-01T02:52:50.1099894+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>96253cc9-3f00-41aa-9cad-79222bc170db</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <Sequence>7</Sequence> <SportsTypeId>86ec2d6d-c4cd-4a2c-96d3-7a0627c06fb4</SportsTypeId> <StatusId>db079885-8939-49cb-9862-e6be9f4dc325</StatusId> <StickerId>34fa78f0-87ab-413b-a1a7-c0d1fdb5899d</StickerId> <Team1>8c97c56a-2d08-4acb-8d5b-70f317d38bb9</Team1> <Team2>473e544b-4343-4f4d-8cfe-d998b2fb84a2</Team2> <UserId>87c5cf37-600d-4719-86bf-3b008ed60c78</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>