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": "650fdd91-b0f6-4e45-ad91-2374dd6e492d", "ContestId": "40408ff6-5406-4ced-8552-6f3694603ff1", "ContestName": "sample string 3", "QuestionTypeId": "656579c4-c129-4d0d-a762-754b8025f644", "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": "650fdd91-b0f6-4e45-ad91-2374dd6e492d", "ContestId": "40408ff6-5406-4ced-8552-6f3694603ff1", "ContestName": "sample string 3", "QuestionTypeId": "656579c4-c129-4d0d-a762-754b8025f644", "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>40408ff6-5406-4ced-8552-6f3694603ff1</ContestId> <ContestName>sample string 3</ContestName> <DisplayQuestionImage>sample string 14</DisplayQuestionImage> <Id>650fdd91-b0f6-4e45-ad91-2374dd6e492d</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>656579c4-c129-4d0d-a762-754b8025f644</QuestionTypeId> <Sequence>6</Sequence> </QuestionHeaderDto> <QuestionHeaderDto> <BannerImage>sample string 11</BannerImage> <BannerUrl>sample string 12</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>40408ff6-5406-4ced-8552-6f3694603ff1</ContestId> <ContestName>sample string 3</ContestName> <DisplayQuestionImage>sample string 14</DisplayQuestionImage> <Id>650fdd91-b0f6-4e45-ad91-2374dd6e492d</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>656579c4-c129-4d0d-a762-754b8025f644</QuestionTypeId> <Sequence>6</Sequence> </QuestionHeaderDto> </ArrayOfQuestionHeaderDto>