GET api/QuestionHeader/GetQuestionHeader

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QuestionHeaderDto
NameDescriptionTypeAdditional 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": "66adc708-10be-4e59-813c-2cde6da75be9",
    "ContestId": "b9e490bf-0377-4dcd-8dae-07c64ad2d773",
    "ContestName": "sample string 3",
    "QuestionTypeId": "7f6bea5e-b752-47f7-abc2-19c6ae058c9c",
    "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": "66adc708-10be-4e59-813c-2cde6da75be9",
    "ContestId": "b9e490bf-0377-4dcd-8dae-07c64ad2d773",
    "ContestName": "sample string 3",
    "QuestionTypeId": "7f6bea5e-b752-47f7-abc2-19c6ae058c9c",
    "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>b9e490bf-0377-4dcd-8dae-07c64ad2d773</ContestId>
    <ContestName>sample string 3</ContestName>
    <DisplayQuestionImage>sample string 14</DisplayQuestionImage>
    <Id>66adc708-10be-4e59-813c-2cde6da75be9</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>7f6bea5e-b752-47f7-abc2-19c6ae058c9c</QuestionTypeId>
    <Sequence>6</Sequence>
  </QuestionHeaderDto>
  <QuestionHeaderDto>
    <BannerImage>sample string 11</BannerImage>
    <BannerUrl>sample string 12</BannerUrl>
    <ContainsAdvert>true</ContainsAdvert>
    <ContestId>b9e490bf-0377-4dcd-8dae-07c64ad2d773</ContestId>
    <ContestName>sample string 3</ContestName>
    <DisplayQuestionImage>sample string 14</DisplayQuestionImage>
    <Id>66adc708-10be-4e59-813c-2cde6da75be9</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>7f6bea5e-b752-47f7-abc2-19c6ae058c9c</QuestionTypeId>
    <Sequence>6</Sequence>
  </QuestionHeaderDto>
</ArrayOfQuestionHeaderDto>