GET api/Contest/GetContestListforAccount?accountId={accountId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | globally unique identifier |
Required |
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": "53073b73-ab6f-4d9d-94e5-97b850e32785", "AccountId": "d0190332-97bd-46c3-9a39-fb6177593610", "AccountName": "sample string 2", "ContestName": "sample string 3", "ContestNameFr": "sample string 4", "ContestDescription": "sample string 5", "ContestDescriptionFr": "sample string 6", "ContestDate": "2024-11-28T07:44:42.0083185+00:00", "ContestTime": "00:00:00.1234567", "Team1": "cb44fb7e-f62f-4981-8c02-d9a93e67715f", "Team1Name": "sample string 7", "Team1Image": "sample string 8", "Team2Image": "sample string 9", "Team2": "58ab3dd2-2c16-46af-9f89-1a41fce8250e", "Team2Name": "sample string 10", "IsContestLocked": true, "ContestImageDesktop": "sample string 11", "WinnerImage": "sample string 12", "ContestImageMobile": "sample string 13", "StickerId": "93387f17-d921-4e49-8392-81f2195eb600", "StickerImage": "sample string 14", "Sequence": 15, "UserId": "35bd38be-893a-428a-8312-b6706d0c3f14", "SportsTypeId": "dfbf30c6-2c23-4124-bfd8-613f53800200", "StatusId": "1315c174-f753-4309-b102-206bf6bd850b", "Status": "sample string 17", "SportsType": "sample string 18", "PicksSubmitted": true, "PrizeDescription": "sample string 20", "PrizeDescriptionFr": "sample string 21", "IsPublished": true }, { "Id": "53073b73-ab6f-4d9d-94e5-97b850e32785", "AccountId": "d0190332-97bd-46c3-9a39-fb6177593610", "AccountName": "sample string 2", "ContestName": "sample string 3", "ContestNameFr": "sample string 4", "ContestDescription": "sample string 5", "ContestDescriptionFr": "sample string 6", "ContestDate": "2024-11-28T07:44:42.0083185+00:00", "ContestTime": "00:00:00.1234567", "Team1": "cb44fb7e-f62f-4981-8c02-d9a93e67715f", "Team1Name": "sample string 7", "Team1Image": "sample string 8", "Team2Image": "sample string 9", "Team2": "58ab3dd2-2c16-46af-9f89-1a41fce8250e", "Team2Name": "sample string 10", "IsContestLocked": true, "ContestImageDesktop": "sample string 11", "WinnerImage": "sample string 12", "ContestImageMobile": "sample string 13", "StickerId": "93387f17-d921-4e49-8392-81f2195eb600", "StickerImage": "sample string 14", "Sequence": 15, "UserId": "35bd38be-893a-428a-8312-b6706d0c3f14", "SportsTypeId": "dfbf30c6-2c23-4124-bfd8-613f53800200", "StatusId": "1315c174-f753-4309-b102-206bf6bd850b", "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>d0190332-97bd-46c3-9a39-fb6177593610</AccountId> <AccountName>sample string 2</AccountName> <ContestDate>2024-11-28T07:44:42.0083185+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>53073b73-ab6f-4d9d-94e5-97b850e32785</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>dfbf30c6-2c23-4124-bfd8-613f53800200</SportsTypeId> <Status>sample string 17</Status> <StatusId>1315c174-f753-4309-b102-206bf6bd850b</StatusId> <StickerId>93387f17-d921-4e49-8392-81f2195eb600</StickerId> <StickerImage>sample string 14</StickerImage> <Team1>cb44fb7e-f62f-4981-8c02-d9a93e67715f</Team1> <Team1Image>sample string 8</Team1Image> <Team1Name>sample string 7</Team1Name> <Team2>58ab3dd2-2c16-46af-9f89-1a41fce8250e</Team2> <Team2Image>sample string 9</Team2Image> <Team2Name>sample string 10</Team2Name> <UserId>35bd38be-893a-428a-8312-b6706d0c3f14</UserId> <WinnerImage>sample string 12</WinnerImage> </ContestDto> <ContestDto> <AccountId>d0190332-97bd-46c3-9a39-fb6177593610</AccountId> <AccountName>sample string 2</AccountName> <ContestDate>2024-11-28T07:44:42.0083185+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>53073b73-ab6f-4d9d-94e5-97b850e32785</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>dfbf30c6-2c23-4124-bfd8-613f53800200</SportsTypeId> <Status>sample string 17</Status> <StatusId>1315c174-f753-4309-b102-206bf6bd850b</StatusId> <StickerId>93387f17-d921-4e49-8392-81f2195eb600</StickerId> <StickerImage>sample string 14</StickerImage> <Team1>cb44fb7e-f62f-4981-8c02-d9a93e67715f</Team1> <Team1Image>sample string 8</Team1Image> <Team1Name>sample string 7</Team1Name> <Team2>58ab3dd2-2c16-46af-9f89-1a41fce8250e</Team2> <Team2Image>sample string 9</Team2Image> <Team2Name>sample string 10</Team2Name> <UserId>35bd38be-893a-428a-8312-b6706d0c3f14</UserId> <WinnerImage>sample string 12</WinnerImage> </ContestDto> </ArrayOfContestDto>