GET api/QuestionHeader/GetContestDetails?contestId={contestId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contestId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ContestQuestionsDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
QuestionId | globally unique identifier |
None. |
|
QuestionText | string |
None. |
|
QuestionTextFr | string |
None. |
|
QuestionSubText | string |
None. |
|
QuestionSubTextFr | string |
None. |
|
OptionType | string |
None. |
|
QuestionPoints | integer |
None. |
|
DisplayQuestionImage | string |
None. |
|
BannerImage | string |
None. |
|
BannerUrl | string |
None. |
|
IsContestLocked | boolean |
None. |
|
ContainsAdvert | boolean |
None. |
|
Options | Collection of QuestionOptions |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContestId": "575e49ba-3afc-4538-b385-78729598d10d", "QuestionId": "9a7c2651-81a0-48bc-9655-0d0af7e3ed01", "QuestionText": "sample string 3", "QuestionTextFr": "sample string 4", "QuestionSubText": "sample string 5", "QuestionSubTextFr": "sample string 6", "OptionType": "sample string 7", "QuestionPoints": 1, "DisplayQuestionImage": "sample string 8", "BannerImage": "sample string 9", "BannerUrl": "sample string 10", "IsContestLocked": true, "ContainsAdvert": true, "Options": [ { "OptionText": "sample string 1", "OptionTextFr": "sample string 2", "OptionId": "ccfec9ba-eb65-4b5d-979c-3518d4ae67c4", "OptionImage": "sample string 3", "IsAnswer": true, "DriverName": "sample string 4", "DriverNameFr": "sample string 5", "DriverImage": "sample string 6", "TeamName": "sample string 7", "TeamNameFr": "sample string 8", "TeamLogo": "sample string 9", "TeamStats": "sample string 10", "LeagueImage": "sample string 11", "PercentageResponse": 1.0 }, { "OptionText": "sample string 1", "OptionTextFr": "sample string 2", "OptionId": "ccfec9ba-eb65-4b5d-979c-3518d4ae67c4", "OptionImage": "sample string 3", "IsAnswer": true, "DriverName": "sample string 4", "DriverNameFr": "sample string 5", "DriverImage": "sample string 6", "TeamName": "sample string 7", "TeamNameFr": "sample string 8", "TeamLogo": "sample string 9", "TeamStats": "sample string 10", "LeagueImage": "sample string 11", "PercentageResponse": 1.0 } ] }, { "ContestId": "575e49ba-3afc-4538-b385-78729598d10d", "QuestionId": "9a7c2651-81a0-48bc-9655-0d0af7e3ed01", "QuestionText": "sample string 3", "QuestionTextFr": "sample string 4", "QuestionSubText": "sample string 5", "QuestionSubTextFr": "sample string 6", "OptionType": "sample string 7", "QuestionPoints": 1, "DisplayQuestionImage": "sample string 8", "BannerImage": "sample string 9", "BannerUrl": "sample string 10", "IsContestLocked": true, "ContainsAdvert": true, "Options": [ { "OptionText": "sample string 1", "OptionTextFr": "sample string 2", "OptionId": "ccfec9ba-eb65-4b5d-979c-3518d4ae67c4", "OptionImage": "sample string 3", "IsAnswer": true, "DriverName": "sample string 4", "DriverNameFr": "sample string 5", "DriverImage": "sample string 6", "TeamName": "sample string 7", "TeamNameFr": "sample string 8", "TeamLogo": "sample string 9", "TeamStats": "sample string 10", "LeagueImage": "sample string 11", "PercentageResponse": 1.0 }, { "OptionText": "sample string 1", "OptionTextFr": "sample string 2", "OptionId": "ccfec9ba-eb65-4b5d-979c-3518d4ae67c4", "OptionImage": "sample string 3", "IsAnswer": true, "DriverName": "sample string 4", "DriverNameFr": "sample string 5", "DriverImage": "sample string 6", "TeamName": "sample string 7", "TeamNameFr": "sample string 8", "TeamLogo": "sample string 9", "TeamStats": "sample string 10", "LeagueImage": "sample string 11", "PercentageResponse": 1.0 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfContestQuestionsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionHeaderModule.Model"> <ContestQuestionsDto> <BannerImage>sample string 9</BannerImage> <BannerUrl>sample string 10</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>575e49ba-3afc-4538-b385-78729598d10d</ContestId> <DisplayQuestionImage>sample string 8</DisplayQuestionImage> <IsContestLocked>true</IsContestLocked> <OptionType>sample string 7</OptionType> <Options> <QuestionOptions> <DriverImage>sample string 6</DriverImage> <DriverName>sample string 4</DriverName> <DriverNameFr>sample string 5</DriverNameFr> <IsAnswer>true</IsAnswer> <LeagueImage>sample string 11</LeagueImage> <OptionId>ccfec9ba-eb65-4b5d-979c-3518d4ae67c4</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 1</OptionText> <OptionTextFr>sample string 2</OptionTextFr> <PercentageResponse>1</PercentageResponse> <TeamLogo>sample string 9</TeamLogo> <TeamName>sample string 7</TeamName> <TeamNameFr>sample string 8</TeamNameFr> <TeamStats>sample string 10</TeamStats> </QuestionOptions> <QuestionOptions> <DriverImage>sample string 6</DriverImage> <DriverName>sample string 4</DriverName> <DriverNameFr>sample string 5</DriverNameFr> <IsAnswer>true</IsAnswer> <LeagueImage>sample string 11</LeagueImage> <OptionId>ccfec9ba-eb65-4b5d-979c-3518d4ae67c4</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 1</OptionText> <OptionTextFr>sample string 2</OptionTextFr> <PercentageResponse>1</PercentageResponse> <TeamLogo>sample string 9</TeamLogo> <TeamName>sample string 7</TeamName> <TeamNameFr>sample string 8</TeamNameFr> <TeamStats>sample string 10</TeamStats> </QuestionOptions> </Options> <QuestionId>9a7c2651-81a0-48bc-9655-0d0af7e3ed01</QuestionId> <QuestionPoints>1</QuestionPoints> <QuestionSubText>sample string 5</QuestionSubText> <QuestionSubTextFr>sample string 6</QuestionSubTextFr> <QuestionText>sample string 3</QuestionText> <QuestionTextFr>sample string 4</QuestionTextFr> </ContestQuestionsDto> <ContestQuestionsDto> <BannerImage>sample string 9</BannerImage> <BannerUrl>sample string 10</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>575e49ba-3afc-4538-b385-78729598d10d</ContestId> <DisplayQuestionImage>sample string 8</DisplayQuestionImage> <IsContestLocked>true</IsContestLocked> <OptionType>sample string 7</OptionType> <Options> <QuestionOptions> <DriverImage>sample string 6</DriverImage> <DriverName>sample string 4</DriverName> <DriverNameFr>sample string 5</DriverNameFr> <IsAnswer>true</IsAnswer> <LeagueImage>sample string 11</LeagueImage> <OptionId>ccfec9ba-eb65-4b5d-979c-3518d4ae67c4</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 1</OptionText> <OptionTextFr>sample string 2</OptionTextFr> <PercentageResponse>1</PercentageResponse> <TeamLogo>sample string 9</TeamLogo> <TeamName>sample string 7</TeamName> <TeamNameFr>sample string 8</TeamNameFr> <TeamStats>sample string 10</TeamStats> </QuestionOptions> <QuestionOptions> <DriverImage>sample string 6</DriverImage> <DriverName>sample string 4</DriverName> <DriverNameFr>sample string 5</DriverNameFr> <IsAnswer>true</IsAnswer> <LeagueImage>sample string 11</LeagueImage> <OptionId>ccfec9ba-eb65-4b5d-979c-3518d4ae67c4</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 1</OptionText> <OptionTextFr>sample string 2</OptionTextFr> <PercentageResponse>1</PercentageResponse> <TeamLogo>sample string 9</TeamLogo> <TeamName>sample string 7</TeamName> <TeamNameFr>sample string 8</TeamNameFr> <TeamStats>sample string 10</TeamStats> </QuestionOptions> </Options> <QuestionId>9a7c2651-81a0-48bc-9655-0d0af7e3ed01</QuestionId> <QuestionPoints>1</QuestionPoints> <QuestionSubText>sample string 5</QuestionSubText> <QuestionSubTextFr>sample string 6</QuestionSubTextFr> <QuestionText>sample string 3</QuestionText> <QuestionTextFr>sample string 4</QuestionTextFr> </ContestQuestionsDto> </ArrayOfContestQuestionsDto>