GET api/QuestionHeader/GetQuestionHeaderForContest?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 QuestionHeaderDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ContestId | globally unique identifier |
None. |
|
ContestName | string |
None. |
|
QuestionTypeId | globally unique identifier |
None. |
|
QuestionType | string |
None. |
|
Sequence | integer |
None. |
|
QuestionText | string |
None. |
|
QuestionTextFr | string |
None. |
|
QuestionSubText | string |
None. |
|
QuestionSubTextFr | string |
None. |
|
QuestionPoints | integer |
None. |
|
BannerImage | string |
None. |
|
BannerUrl | string |
None. |
|
ContainsAdvert | boolean |
None. |
|
DisplayQuestionImage | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "7df95100-c71a-4e9e-9481-41ffb1a11bc5", "ContestId": "a17fdf0c-25d2-4dd7-b28d-285f22b4ceae", "ContestName": "sample string 3", "QuestionTypeId": "50a5613e-202c-4f84-9e3e-75b328a40771", "QuestionType": "sample string 5", "Sequence": 6, "QuestionText": "sample string 7", "QuestionTextFr": "sample string 8", "QuestionSubText": "sample string 9", "QuestionSubTextFr": "sample string 10", "QuestionPoints": 1, "BannerImage": "sample string 11", "BannerUrl": "sample string 12", "ContainsAdvert": true, "DisplayQuestionImage": "sample string 14" }, { "Id": "7df95100-c71a-4e9e-9481-41ffb1a11bc5", "ContestId": "a17fdf0c-25d2-4dd7-b28d-285f22b4ceae", "ContestName": "sample string 3", "QuestionTypeId": "50a5613e-202c-4f84-9e3e-75b328a40771", "QuestionType": "sample string 5", "Sequence": 6, "QuestionText": "sample string 7", "QuestionTextFr": "sample string 8", "QuestionSubText": "sample string 9", "QuestionSubTextFr": "sample string 10", "QuestionPoints": 1, "BannerImage": "sample string 11", "BannerUrl": "sample string 12", "ContainsAdvert": true, "DisplayQuestionImage": "sample string 14" } ]
application/xml, text/xml
Sample:
<ArrayOfQuestionHeaderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionHeaderModule.Model"> <QuestionHeaderDto> <BannerImage>sample string 11</BannerImage> <BannerUrl>sample string 12</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>a17fdf0c-25d2-4dd7-b28d-285f22b4ceae</ContestId> <ContestName>sample string 3</ContestName> <DisplayQuestionImage>sample string 14</DisplayQuestionImage> <Id>7df95100-c71a-4e9e-9481-41ffb1a11bc5</Id> <QuestionPoints>1</QuestionPoints> <QuestionSubText>sample string 9</QuestionSubText> <QuestionSubTextFr>sample string 10</QuestionSubTextFr> <QuestionText>sample string 7</QuestionText> <QuestionTextFr>sample string 8</QuestionTextFr> <QuestionType>sample string 5</QuestionType> <QuestionTypeId>50a5613e-202c-4f84-9e3e-75b328a40771</QuestionTypeId> <Sequence>6</Sequence> </QuestionHeaderDto> <QuestionHeaderDto> <BannerImage>sample string 11</BannerImage> <BannerUrl>sample string 12</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>a17fdf0c-25d2-4dd7-b28d-285f22b4ceae</ContestId> <ContestName>sample string 3</ContestName> <DisplayQuestionImage>sample string 14</DisplayQuestionImage> <Id>7df95100-c71a-4e9e-9481-41ffb1a11bc5</Id> <QuestionPoints>1</QuestionPoints> <QuestionSubText>sample string 9</QuestionSubText> <QuestionSubTextFr>sample string 10</QuestionSubTextFr> <QuestionText>sample string 7</QuestionText> <QuestionTextFr>sample string 8</QuestionTextFr> <QuestionType>sample string 5</QuestionType> <QuestionTypeId>50a5613e-202c-4f84-9e3e-75b328a40771</QuestionTypeId> <Sequence>6</Sequence> </QuestionHeaderDto> </ArrayOfQuestionHeaderDto>