GET api/Contest/GetContestList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ContestDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
AccountName | string |
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. |
|
Team1Name | string |
None. |
|
Team1Image | string |
None. |
|
Team2Image | string |
None. |
|
Team2 | globally unique identifier |
None. |
|
Team2Name | string |
None. |
|
IsContestLocked | boolean |
None. |
|
ContestImageDesktop | string |
None. |
|
WinnerImage | string |
None. |
|
ContestImageMobile | string |
None. |
|
StickerId | globally unique identifier |
None. |
|
StickerImage | string |
None. |
|
Sequence | integer |
None. |
|
UserId | globally unique identifier |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
StatusId | globally unique identifier |
None. |
|
Status | string |
None. |
|
SportsType | string |
None. |
|
PicksSubmitted | boolean |
None. |
|
PrizeDescription | string |
None. |
|
PrizeDescriptionFr | string |
None. |
|
IsPublished | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "cc50714f-fea5-4361-be2a-bfd20b287112", "AccountId": "f1d8ae94-4f58-4ba3-96a6-31581c8c2fd7", "AccountName": "sample string 2", "ContestName": "sample string 3", "ContestNameFr": "sample string 4", "ContestDescription": "sample string 5", "ContestDescriptionFr": "sample string 6", "ContestDate": "2025-04-03T20:37:17.0440355+00:00", "ContestTime": "00:00:00.1234567", "Team1": "aabcf1ae-1feb-48d3-9203-85f0bc3d12a9", "Team1Name": "sample string 7", "Team1Image": "sample string 8", "Team2Image": "sample string 9", "Team2": "0f9509f0-8a89-414d-9892-27da7bf350f4", "Team2Name": "sample string 10", "IsContestLocked": true, "ContestImageDesktop": "sample string 11", "WinnerImage": "sample string 12", "ContestImageMobile": "sample string 13", "StickerId": "dd3f2f4d-3835-414f-b202-9776464abf4f", "StickerImage": "sample string 14", "Sequence": 15, "UserId": "76a183e3-51d4-4d53-a2c8-8db3e82fffa1", "SportsTypeId": "44915d72-2f41-4a9c-9b37-975166689bbd", "StatusId": "96998a92-9769-4afc-8a58-1c90a798b650", "Status": "sample string 17", "SportsType": "sample string 18", "PicksSubmitted": true, "PrizeDescription": "sample string 20", "PrizeDescriptionFr": "sample string 21", "IsPublished": true }, { "Id": "cc50714f-fea5-4361-be2a-bfd20b287112", "AccountId": "f1d8ae94-4f58-4ba3-96a6-31581c8c2fd7", "AccountName": "sample string 2", "ContestName": "sample string 3", "ContestNameFr": "sample string 4", "ContestDescription": "sample string 5", "ContestDescriptionFr": "sample string 6", "ContestDate": "2025-04-03T20:37:17.0440355+00:00", "ContestTime": "00:00:00.1234567", "Team1": "aabcf1ae-1feb-48d3-9203-85f0bc3d12a9", "Team1Name": "sample string 7", "Team1Image": "sample string 8", "Team2Image": "sample string 9", "Team2": "0f9509f0-8a89-414d-9892-27da7bf350f4", "Team2Name": "sample string 10", "IsContestLocked": true, "ContestImageDesktop": "sample string 11", "WinnerImage": "sample string 12", "ContestImageMobile": "sample string 13", "StickerId": "dd3f2f4d-3835-414f-b202-9776464abf4f", "StickerImage": "sample string 14", "Sequence": 15, "UserId": "76a183e3-51d4-4d53-a2c8-8db3e82fffa1", "SportsTypeId": "44915d72-2f41-4a9c-9b37-975166689bbd", "StatusId": "96998a92-9769-4afc-8a58-1c90a798b650", "Status": "sample string 17", "SportsType": "sample string 18", "PicksSubmitted": true, "PrizeDescription": "sample string 20", "PrizeDescriptionFr": "sample string 21", "IsPublished": true } ]
application/xml, text/xml
Sample:
<ArrayOfContestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestModule.Model"> <ContestDto> <AccountId>f1d8ae94-4f58-4ba3-96a6-31581c8c2fd7</AccountId> <AccountName>sample string 2</AccountName> <ContestDate>2025-04-03T20:37:17.0440355+00:00</ContestDate> <ContestDescription>sample string 5</ContestDescription> <ContestDescriptionFr>sample string 6</ContestDescriptionFr> <ContestImageDesktop>sample string 11</ContestImageDesktop> <ContestImageMobile>sample string 13</ContestImageMobile> <ContestName>sample string 3</ContestName> <ContestNameFr>sample string 4</ContestNameFr> <ContestTime>PT0.1234567S</ContestTime> <Id>cc50714f-fea5-4361-be2a-bfd20b287112</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <PicksSubmitted>true</PicksSubmitted> <PrizeDescription>sample string 20</PrizeDescription> <PrizeDescriptionFr>sample string 21</PrizeDescriptionFr> <Sequence>15</Sequence> <SportsType>sample string 18</SportsType> <SportsTypeId>44915d72-2f41-4a9c-9b37-975166689bbd</SportsTypeId> <Status>sample string 17</Status> <StatusId>96998a92-9769-4afc-8a58-1c90a798b650</StatusId> <StickerId>dd3f2f4d-3835-414f-b202-9776464abf4f</StickerId> <StickerImage>sample string 14</StickerImage> <Team1>aabcf1ae-1feb-48d3-9203-85f0bc3d12a9</Team1> <Team1Image>sample string 8</Team1Image> <Team1Name>sample string 7</Team1Name> <Team2>0f9509f0-8a89-414d-9892-27da7bf350f4</Team2> <Team2Image>sample string 9</Team2Image> <Team2Name>sample string 10</Team2Name> <UserId>76a183e3-51d4-4d53-a2c8-8db3e82fffa1</UserId> <WinnerImage>sample string 12</WinnerImage> </ContestDto> <ContestDto> <AccountId>f1d8ae94-4f58-4ba3-96a6-31581c8c2fd7</AccountId> <AccountName>sample string 2</AccountName> <ContestDate>2025-04-03T20:37:17.0440355+00:00</ContestDate> <ContestDescription>sample string 5</ContestDescription> <ContestDescriptionFr>sample string 6</ContestDescriptionFr> <ContestImageDesktop>sample string 11</ContestImageDesktop> <ContestImageMobile>sample string 13</ContestImageMobile> <ContestName>sample string 3</ContestName> <ContestNameFr>sample string 4</ContestNameFr> <ContestTime>PT0.1234567S</ContestTime> <Id>cc50714f-fea5-4361-be2a-bfd20b287112</Id> <IsContestLocked>true</IsContestLocked> <IsPublished>true</IsPublished> <PicksSubmitted>true</PicksSubmitted> <PrizeDescription>sample string 20</PrizeDescription> <PrizeDescriptionFr>sample string 21</PrizeDescriptionFr> <Sequence>15</Sequence> <SportsType>sample string 18</SportsType> <SportsTypeId>44915d72-2f41-4a9c-9b37-975166689bbd</SportsTypeId> <Status>sample string 17</Status> <StatusId>96998a92-9769-4afc-8a58-1c90a798b650</StatusId> <StickerId>dd3f2f4d-3835-414f-b202-9776464abf4f</StickerId> <StickerImage>sample string 14</StickerImage> <Team1>aabcf1ae-1feb-48d3-9203-85f0bc3d12a9</Team1> <Team1Image>sample string 8</Team1Image> <Team1Name>sample string 7</Team1Name> <Team2>0f9509f0-8a89-414d-9892-27da7bf350f4</Team2> <Team2Image>sample string 9</Team2Image> <Team2Name>sample string 10</Team2Name> <UserId>76a183e3-51d4-4d53-a2c8-8db3e82fffa1</UserId> <WinnerImage>sample string 12</WinnerImage> </ContestDto> </ArrayOfContestDto>