POST api/Contest/GetContestFilterForAdmin

Request Information

URI Parameters

None.

Body Parameters

FilterInfo
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

ContestDate

date

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "d7ae5e47-6878-47d6-bdf1-50425cf97a05",
  "CustomerId": "9940f9e8-d87c-47e3-b8ed-b1d70637771a",
  "ContestDate": "2024-11-28T07:47:35.2480462+00:00",
  "Type": "sample string 2"
}

application/xml, text/xml

Sample:
<FilterInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestModule.Model">
  <AccountId>d7ae5e47-6878-47d6-bdf1-50425cf97a05</AccountId>
  <ContestDate>2024-11-28T07:47:35.2480462+00:00</ContestDate>
  <CustomerId>9940f9e8-d87c-47e3-b8ed-b1d70637771a</CustomerId>
  <Type>sample string 2</Type>
</FilterInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FilterInfo'.

Response Information

Resource Description

Collection of ContestDto
NameDescriptionTypeAdditional 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": "95178c56-75f6-4313-b8eb-726e44c77689",
    "AccountId": "f5c64535-8e1b-431e-9c9b-8ebced82287e",
    "AccountName": "sample string 2",
    "ContestName": "sample string 3",
    "ContestNameFr": "sample string 4",
    "ContestDescription": "sample string 5",
    "ContestDescriptionFr": "sample string 6",
    "ContestDate": "2024-11-28T07:47:35.2636752+00:00",
    "ContestTime": "00:00:00.1234567",
    "Team1": "5d034199-6445-445d-b95f-87c81b77f7c2",
    "Team1Name": "sample string 7",
    "Team1Image": "sample string 8",
    "Team2Image": "sample string 9",
    "Team2": "4a5abb99-e92b-43af-9f4c-94e435b59ccf",
    "Team2Name": "sample string 10",
    "IsContestLocked": true,
    "ContestImageDesktop": "sample string 11",
    "WinnerImage": "sample string 12",
    "ContestImageMobile": "sample string 13",
    "StickerId": "a46c772a-4dfb-42c6-896b-a08528618f14",
    "StickerImage": "sample string 14",
    "Sequence": 15,
    "UserId": "a1b139b3-9f80-4840-a846-738e667376bd",
    "SportsTypeId": "715b1277-aba2-48b8-9992-274804035c1a",
    "StatusId": "e526ffca-3bae-4748-a608-53b4d4601712",
    "Status": "sample string 17",
    "SportsType": "sample string 18",
    "PicksSubmitted": true,
    "PrizeDescription": "sample string 20",
    "PrizeDescriptionFr": "sample string 21",
    "IsPublished": true
  },
  {
    "Id": "95178c56-75f6-4313-b8eb-726e44c77689",
    "AccountId": "f5c64535-8e1b-431e-9c9b-8ebced82287e",
    "AccountName": "sample string 2",
    "ContestName": "sample string 3",
    "ContestNameFr": "sample string 4",
    "ContestDescription": "sample string 5",
    "ContestDescriptionFr": "sample string 6",
    "ContestDate": "2024-11-28T07:47:35.2636752+00:00",
    "ContestTime": "00:00:00.1234567",
    "Team1": "5d034199-6445-445d-b95f-87c81b77f7c2",
    "Team1Name": "sample string 7",
    "Team1Image": "sample string 8",
    "Team2Image": "sample string 9",
    "Team2": "4a5abb99-e92b-43af-9f4c-94e435b59ccf",
    "Team2Name": "sample string 10",
    "IsContestLocked": true,
    "ContestImageDesktop": "sample string 11",
    "WinnerImage": "sample string 12",
    "ContestImageMobile": "sample string 13",
    "StickerId": "a46c772a-4dfb-42c6-896b-a08528618f14",
    "StickerImage": "sample string 14",
    "Sequence": 15,
    "UserId": "a1b139b3-9f80-4840-a846-738e667376bd",
    "SportsTypeId": "715b1277-aba2-48b8-9992-274804035c1a",
    "StatusId": "e526ffca-3bae-4748-a608-53b4d4601712",
    "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>f5c64535-8e1b-431e-9c9b-8ebced82287e</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContestDate>2024-11-28T07:47:35.2636752+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>95178c56-75f6-4313-b8eb-726e44c77689</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>715b1277-aba2-48b8-9992-274804035c1a</SportsTypeId>
    <Status>sample string 17</Status>
    <StatusId>e526ffca-3bae-4748-a608-53b4d4601712</StatusId>
    <StickerId>a46c772a-4dfb-42c6-896b-a08528618f14</StickerId>
    <StickerImage>sample string 14</StickerImage>
    <Team1>5d034199-6445-445d-b95f-87c81b77f7c2</Team1>
    <Team1Image>sample string 8</Team1Image>
    <Team1Name>sample string 7</Team1Name>
    <Team2>4a5abb99-e92b-43af-9f4c-94e435b59ccf</Team2>
    <Team2Image>sample string 9</Team2Image>
    <Team2Name>sample string 10</Team2Name>
    <UserId>a1b139b3-9f80-4840-a846-738e667376bd</UserId>
    <WinnerImage>sample string 12</WinnerImage>
  </ContestDto>
  <ContestDto>
    <AccountId>f5c64535-8e1b-431e-9c9b-8ebced82287e</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContestDate>2024-11-28T07:47:35.2636752+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>95178c56-75f6-4313-b8eb-726e44c77689</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>715b1277-aba2-48b8-9992-274804035c1a</SportsTypeId>
    <Status>sample string 17</Status>
    <StatusId>e526ffca-3bae-4748-a608-53b4d4601712</StatusId>
    <StickerId>a46c772a-4dfb-42c6-896b-a08528618f14</StickerId>
    <StickerImage>sample string 14</StickerImage>
    <Team1>5d034199-6445-445d-b95f-87c81b77f7c2</Team1>
    <Team1Image>sample string 8</Team1Image>
    <Team1Name>sample string 7</Team1Name>
    <Team2>4a5abb99-e92b-43af-9f4c-94e435b59ccf</Team2>
    <Team2Image>sample string 9</Team2Image>
    <Team2Name>sample string 10</Team2Name>
    <UserId>a1b139b3-9f80-4840-a846-738e667376bd</UserId>
    <WinnerImage>sample string 12</WinnerImage>
  </ContestDto>
</ArrayOfContestDto>