GET api/Questions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Question
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ExternalId

string

None.

Title

string

None.

Text

string

None.

Level

integer

None.

Image

BinaryStorage

None.

Category

QuestionCategory

None.

Answers

Collection of QuestionAnswer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "74399e38-ef0c-43eb-907e-ac9c8c8df320",
    "ExternalId": "sample string 2",
    "Title": "sample string 3",
    "Text": "sample string 4",
    "Level": 5,
    "Image": {
      "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
      "ImageFileType": "sample string 2",
      "ImageData": "QEA="
    },
    "Category": {
      "Id": "e7d94d0d-46be-4c9e-883e-1ca0f6bbd7d1",
      "ShortName": "sample string 2",
      "Name": "sample string 3"
    },
    "Answers": [
      {
        "Id": "5b14e048-24af-4ba1-84d6-7f8be9132483",
        "Text": "sample string 2",
        "Image": {
          "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
          "ImageFileType": "sample string 2",
          "ImageData": "QEA="
        },
        "IsCorrect": true
      },
      {
        "Id": "5b14e048-24af-4ba1-84d6-7f8be9132483",
        "Text": "sample string 2",
        "Image": {
          "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
          "ImageFileType": "sample string 2",
          "ImageData": "QEA="
        },
        "IsCorrect": true
      }
    ]
  },
  {
    "Id": "74399e38-ef0c-43eb-907e-ac9c8c8df320",
    "ExternalId": "sample string 2",
    "Title": "sample string 3",
    "Text": "sample string 4",
    "Level": 5,
    "Image": {
      "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
      "ImageFileType": "sample string 2",
      "ImageData": "QEA="
    },
    "Category": {
      "Id": "e7d94d0d-46be-4c9e-883e-1ca0f6bbd7d1",
      "ShortName": "sample string 2",
      "Name": "sample string 3"
    },
    "Answers": [
      {
        "Id": "5b14e048-24af-4ba1-84d6-7f8be9132483",
        "Text": "sample string 2",
        "Image": {
          "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
          "ImageFileType": "sample string 2",
          "ImageData": "QEA="
        },
        "IsCorrect": true
      },
      {
        "Id": "5b14e048-24af-4ba1-84d6-7f8be9132483",
        "Text": "sample string 2",
        "Image": {
          "Id": "6898555b-1253-4195-ba57-abbc329ea1a8",
          "ImageFileType": "sample string 2",
          "ImageData": "QEA="
        },
        "IsCorrect": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WIQuest.Web.Data">
  <Question>
    <Answers>
      <QuestionAnswer>
        <Id>5b14e048-24af-4ba1-84d6-7f8be9132483</Id>
        <Image>
          <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
          <ImageData>QEA=</ImageData>
          <ImageFileType>sample string 2</ImageFileType>
        </Image>
        <IsCorrect>true</IsCorrect>
        <Text>sample string 2</Text>
      </QuestionAnswer>
      <QuestionAnswer>
        <Id>5b14e048-24af-4ba1-84d6-7f8be9132483</Id>
        <Image>
          <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
          <ImageData>QEA=</ImageData>
          <ImageFileType>sample string 2</ImageFileType>
        </Image>
        <IsCorrect>true</IsCorrect>
        <Text>sample string 2</Text>
      </QuestionAnswer>
    </Answers>
    <Category>
      <Id>e7d94d0d-46be-4c9e-883e-1ca0f6bbd7d1</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 2</ShortName>
    </Category>
    <ExternalId>sample string 2</ExternalId>
    <Id>74399e38-ef0c-43eb-907e-ac9c8c8df320</Id>
    <Image>
      <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
      <ImageData>QEA=</ImageData>
      <ImageFileType>sample string 2</ImageFileType>
    </Image>
    <Level>5</Level>
    <Text>sample string 4</Text>
    <Title>sample string 3</Title>
  </Question>
  <Question>
    <Answers>
      <QuestionAnswer>
        <Id>5b14e048-24af-4ba1-84d6-7f8be9132483</Id>
        <Image>
          <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
          <ImageData>QEA=</ImageData>
          <ImageFileType>sample string 2</ImageFileType>
        </Image>
        <IsCorrect>true</IsCorrect>
        <Text>sample string 2</Text>
      </QuestionAnswer>
      <QuestionAnswer>
        <Id>5b14e048-24af-4ba1-84d6-7f8be9132483</Id>
        <Image>
          <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
          <ImageData>QEA=</ImageData>
          <ImageFileType>sample string 2</ImageFileType>
        </Image>
        <IsCorrect>true</IsCorrect>
        <Text>sample string 2</Text>
      </QuestionAnswer>
    </Answers>
    <Category>
      <Id>e7d94d0d-46be-4c9e-883e-1ca0f6bbd7d1</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 2</ShortName>
    </Category>
    <ExternalId>sample string 2</ExternalId>
    <Id>74399e38-ef0c-43eb-907e-ac9c8c8df320</Id>
    <Image>
      <Id>6898555b-1253-4195-ba57-abbc329ea1a8</Id>
      <ImageData>QEA=</ImageData>
      <ImageFileType>sample string 2</ImageFileType>
    </Image>
    <Level>5</Level>
    <Text>sample string 4</Text>
    <Title>sample string 3</Title>
  </Question>
</ArrayOfQuestion>