POST api/Contest/UpdateContestSequence

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "c6574cbd-5615-44e5-808e-96fb0add3549",
    "AccountId": "d8fa89d9-c68d-4e9d-b6da-9852f5ceac6b",
    "AccountName": "sample string 2",
    "ContestName": "sample string 3",
    "ContestNameFr": "sample string 4",
    "ContestDescription": "sample string 5",
    "ContestDescriptionFr": "sample string 6",
    "ContestDate": "2024-12-01T01:15:05.245029+00:00",
    "ContestTime": "00:00:00.1234567",
    "Team1": "03bf737f-6924-4450-b52d-2db9124e61eb",
    "Team1Name": "sample string 7",
    "Team1Image": "sample string 8",
    "Team2Image": "sample string 9",
    "Team2": "d6e2b39e-1d97-4dcd-96ec-3435ffd390e9",
    "Team2Name": "sample string 10",
    "IsContestLocked": true,
    "ContestImageDesktop": "sample string 11",
    "WinnerImage": "sample string 12",
    "ContestImageMobile": "sample string 13",
    "StickerId": "f35392c2-d893-4c91-833e-bc24c5099d19",
    "StickerImage": "sample string 14",
    "Sequence": 15,
    "UserId": "e298616d-3a3b-4910-b8c2-3b00229081a5",
    "SportsTypeId": "d9fe4cbb-a2f7-451b-9178-d5cdbc60a535",
    "StatusId": "db039e67-4b62-4191-9dcc-2a366429f838",
    "Status": "sample string 17",
    "SportsType": "sample string 18",
    "PicksSubmitted": true,
    "PrizeDescription": "sample string 20",
    "PrizeDescriptionFr": "sample string 21",
    "IsPublished": true
  },
  {
    "Id": "c6574cbd-5615-44e5-808e-96fb0add3549",
    "AccountId": "d8fa89d9-c68d-4e9d-b6da-9852f5ceac6b",
    "AccountName": "sample string 2",
    "ContestName": "sample string 3",
    "ContestNameFr": "sample string 4",
    "ContestDescription": "sample string 5",
    "ContestDescriptionFr": "sample string 6",
    "ContestDate": "2024-12-01T01:15:05.245029+00:00",
    "ContestTime": "00:00:00.1234567",
    "Team1": "03bf737f-6924-4450-b52d-2db9124e61eb",
    "Team1Name": "sample string 7",
    "Team1Image": "sample string 8",
    "Team2Image": "sample string 9",
    "Team2": "d6e2b39e-1d97-4dcd-96ec-3435ffd390e9",
    "Team2Name": "sample string 10",
    "IsContestLocked": true,
    "ContestImageDesktop": "sample string 11",
    "WinnerImage": "sample string 12",
    "ContestImageMobile": "sample string 13",
    "StickerId": "f35392c2-d893-4c91-833e-bc24c5099d19",
    "StickerImage": "sample string 14",
    "Sequence": 15,
    "UserId": "e298616d-3a3b-4910-b8c2-3b00229081a5",
    "SportsTypeId": "d9fe4cbb-a2f7-451b-9178-d5cdbc60a535",
    "StatusId": "db039e67-4b62-4191-9dcc-2a366429f838",
    "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>d8fa89d9-c68d-4e9d-b6da-9852f5ceac6b</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContestDate>2024-12-01T01:15:05.245029+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>c6574cbd-5615-44e5-808e-96fb0add3549</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>d9fe4cbb-a2f7-451b-9178-d5cdbc60a535</SportsTypeId>
    <Status>sample string 17</Status>
    <StatusId>db039e67-4b62-4191-9dcc-2a366429f838</StatusId>
    <StickerId>f35392c2-d893-4c91-833e-bc24c5099d19</StickerId>
    <StickerImage>sample string 14</StickerImage>
    <Team1>03bf737f-6924-4450-b52d-2db9124e61eb</Team1>
    <Team1Image>sample string 8</Team1Image>
    <Team1Name>sample string 7</Team1Name>
    <Team2>d6e2b39e-1d97-4dcd-96ec-3435ffd390e9</Team2>
    <Team2Image>sample string 9</Team2Image>
    <Team2Name>sample string 10</Team2Name>
    <UserId>e298616d-3a3b-4910-b8c2-3b00229081a5</UserId>
    <WinnerImage>sample string 12</WinnerImage>
  </ContestDto>
  <ContestDto>
    <AccountId>d8fa89d9-c68d-4e9d-b6da-9852f5ceac6b</AccountId>
    <AccountName>sample string 2</AccountName>
    <ContestDate>2024-12-01T01:15:05.245029+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>c6574cbd-5615-44e5-808e-96fb0add3549</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>d9fe4cbb-a2f7-451b-9178-d5cdbc60a535</SportsTypeId>
    <Status>sample string 17</Status>
    <StatusId>db039e67-4b62-4191-9dcc-2a366429f838</StatusId>
    <StickerId>f35392c2-d893-4c91-833e-bc24c5099d19</StickerId>
    <StickerImage>sample string 14</StickerImage>
    <Team1>03bf737f-6924-4450-b52d-2db9124e61eb</Team1>
    <Team1Image>sample string 8</Team1Image>
    <Team1Name>sample string 7</Team1Name>
    <Team2>d6e2b39e-1d97-4dcd-96ec-3435ffd390e9</Team2>
    <Team2Image>sample string 9</Team2Image>
    <Team2Name>sample string 10</Team2Name>
    <UserId>e298616d-3a3b-4910-b8c2-3b00229081a5</UserId>
    <WinnerImage>sample string 12</WinnerImage>
  </ContestDto>
</ArrayOfContestDto>

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 'List`1'.

Response Information

Resource Description

string

Response 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>