GET api/Game/GetStartQuizGame?userId={userId}&quizId={quizId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

quizId

string

Required

Body Parameters

None.

Response Information

Resource Description

QuizGameCreate
NameDescriptionTypeAdditional information
GameId

globally unique identifier

None.

PlayerId

globally unique identifier

None.

Quiz

Quiz

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "GameId": "761788e8-5c40-4a9d-afcd-c4329f7aebe2",
  "PlayerId": "8eb31a2e-a4a5-4a81-999b-4c0bcebc7c7c",
  "Quiz": {
    "Id": "a0b14e03-1f29-402e-8674-f8c4a7a95cf5",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Sections": [
      {
        "Id": "a8e0f4ff-6a68-4582-ada4-4ecfe8701c98",
        "Name": "sample string 2",
        "Description": "sample string 3",
        "Order": 4,
        "Questions": [
          {
            "Id": "6109bc7e-c471-4732-be4b-a8d57dd2b3de",
            "Question": {
              "Id": "86bf60ef-5c77-4c0f-8c73-95de6a141aa7",
              "ExternalId": "sample string 2",
              "Title": "sample string 3",
              "Text": "sample string 4",
              "Level": 5,
              "Image": {
                "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                "ImageFileType": "sample string 2",
                "ImageData": "QEA="
              },
              "Category": {
                "Id": "4741320e-f7c1-4e40-929e-6d1496cb6eb5",
                "ShortName": "sample string 2",
                "Name": "sample string 3"
              },
              "Answers": [
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                },
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                }
              ]
            },
            "Order": 2
          },
          {
            "Id": "6109bc7e-c471-4732-be4b-a8d57dd2b3de",
            "Question": {
              "Id": "86bf60ef-5c77-4c0f-8c73-95de6a141aa7",
              "ExternalId": "sample string 2",
              "Title": "sample string 3",
              "Text": "sample string 4",
              "Level": 5,
              "Image": {
                "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                "ImageFileType": "sample string 2",
                "ImageData": "QEA="
              },
              "Category": {
                "Id": "4741320e-f7c1-4e40-929e-6d1496cb6eb5",
                "ShortName": "sample string 2",
                "Name": "sample string 3"
              },
              "Answers": [
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                },
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                }
              ]
            },
            "Order": 2
          }
        ]
      },
      {
        "Id": "a8e0f4ff-6a68-4582-ada4-4ecfe8701c98",
        "Name": "sample string 2",
        "Description": "sample string 3",
        "Order": 4,
        "Questions": [
          {
            "Id": "6109bc7e-c471-4732-be4b-a8d57dd2b3de",
            "Question": {
              "Id": "86bf60ef-5c77-4c0f-8c73-95de6a141aa7",
              "ExternalId": "sample string 2",
              "Title": "sample string 3",
              "Text": "sample string 4",
              "Level": 5,
              "Image": {
                "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                "ImageFileType": "sample string 2",
                "ImageData": "QEA="
              },
              "Category": {
                "Id": "4741320e-f7c1-4e40-929e-6d1496cb6eb5",
                "ShortName": "sample string 2",
                "Name": "sample string 3"
              },
              "Answers": [
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                },
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                }
              ]
            },
            "Order": 2
          },
          {
            "Id": "6109bc7e-c471-4732-be4b-a8d57dd2b3de",
            "Question": {
              "Id": "86bf60ef-5c77-4c0f-8c73-95de6a141aa7",
              "ExternalId": "sample string 2",
              "Title": "sample string 3",
              "Text": "sample string 4",
              "Level": 5,
              "Image": {
                "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                "ImageFileType": "sample string 2",
                "ImageData": "QEA="
              },
              "Category": {
                "Id": "4741320e-f7c1-4e40-929e-6d1496cb6eb5",
                "ShortName": "sample string 2",
                "Name": "sample string 3"
              },
              "Answers": [
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                },
                {
                  "Id": "7772c680-b7af-4a2c-a2be-b35e1e0d99b7",
                  "Text": "sample string 2",
                  "Image": {
                    "Id": "832c083d-2658-4e79-bb56-db6916c16cd8",
                    "ImageFileType": "sample string 2",
                    "ImageData": "QEA="
                  },
                  "IsCorrect": true
                }
              ]
            },
            "Order": 2
          }
        ]
      }
    ]
  },
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<QuizGameCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WIQuest.Web.API.Responses">
  <GameId>761788e8-5c40-4a9d-afcd-c4329f7aebe2</GameId>
  <Message>sample string 3</Message>
  <PlayerId>8eb31a2e-a4a5-4a81-999b-4c0bcebc7c7c</PlayerId>
  <Quiz xmlns:d2p1="http://schemas.datacontract.org/2004/07/WIQuest.Web.Data">
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:Id>a0b14e03-1f29-402e-8674-f8c4a7a95cf5</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:Sections>
      <d2p1:QuizSection>
        <d2p1:Description>sample string 3</d2p1:Description>
        <d2p1:Id>a8e0f4ff-6a68-4582-ada4-4ecfe8701c98</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Order>4</d2p1:Order>
        <d2p1:Questions>
          <d2p1:QuizQuestion>
            <d2p1:Id>6109bc7e-c471-4732-be4b-a8d57dd2b3de</d2p1:Id>
            <d2p1:Order>2</d2p1:Order>
            <d2p1:Question>
              <d2p1:Answers>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
              </d2p1:Answers>
              <d2p1:Category>
                <d2p1:Id>4741320e-f7c1-4e40-929e-6d1496cb6eb5</d2p1:Id>
                <d2p1:Name>sample string 3</d2p1:Name>
                <d2p1:ShortName>sample string 2</d2p1:ShortName>
              </d2p1:Category>
              <d2p1:ExternalId>sample string 2</d2p1:ExternalId>
              <d2p1:Id>86bf60ef-5c77-4c0f-8c73-95de6a141aa7</d2p1:Id>
              <d2p1:Image>
                <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                <d2p1:ImageData>QEA=</d2p1:ImageData>
                <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
              </d2p1:Image>
              <d2p1:Level>5</d2p1:Level>
              <d2p1:Text>sample string 4</d2p1:Text>
              <d2p1:Title>sample string 3</d2p1:Title>
            </d2p1:Question>
          </d2p1:QuizQuestion>
          <d2p1:QuizQuestion>
            <d2p1:Id>6109bc7e-c471-4732-be4b-a8d57dd2b3de</d2p1:Id>
            <d2p1:Order>2</d2p1:Order>
            <d2p1:Question>
              <d2p1:Answers>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
              </d2p1:Answers>
              <d2p1:Category>
                <d2p1:Id>4741320e-f7c1-4e40-929e-6d1496cb6eb5</d2p1:Id>
                <d2p1:Name>sample string 3</d2p1:Name>
                <d2p1:ShortName>sample string 2</d2p1:ShortName>
              </d2p1:Category>
              <d2p1:ExternalId>sample string 2</d2p1:ExternalId>
              <d2p1:Id>86bf60ef-5c77-4c0f-8c73-95de6a141aa7</d2p1:Id>
              <d2p1:Image>
                <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                <d2p1:ImageData>QEA=</d2p1:ImageData>
                <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
              </d2p1:Image>
              <d2p1:Level>5</d2p1:Level>
              <d2p1:Text>sample string 4</d2p1:Text>
              <d2p1:Title>sample string 3</d2p1:Title>
            </d2p1:Question>
          </d2p1:QuizQuestion>
        </d2p1:Questions>
      </d2p1:QuizSection>
      <d2p1:QuizSection>
        <d2p1:Description>sample string 3</d2p1:Description>
        <d2p1:Id>a8e0f4ff-6a68-4582-ada4-4ecfe8701c98</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:Order>4</d2p1:Order>
        <d2p1:Questions>
          <d2p1:QuizQuestion>
            <d2p1:Id>6109bc7e-c471-4732-be4b-a8d57dd2b3de</d2p1:Id>
            <d2p1:Order>2</d2p1:Order>
            <d2p1:Question>
              <d2p1:Answers>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
              </d2p1:Answers>
              <d2p1:Category>
                <d2p1:Id>4741320e-f7c1-4e40-929e-6d1496cb6eb5</d2p1:Id>
                <d2p1:Name>sample string 3</d2p1:Name>
                <d2p1:ShortName>sample string 2</d2p1:ShortName>
              </d2p1:Category>
              <d2p1:ExternalId>sample string 2</d2p1:ExternalId>
              <d2p1:Id>86bf60ef-5c77-4c0f-8c73-95de6a141aa7</d2p1:Id>
              <d2p1:Image>
                <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                <d2p1:ImageData>QEA=</d2p1:ImageData>
                <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
              </d2p1:Image>
              <d2p1:Level>5</d2p1:Level>
              <d2p1:Text>sample string 4</d2p1:Text>
              <d2p1:Title>sample string 3</d2p1:Title>
            </d2p1:Question>
          </d2p1:QuizQuestion>
          <d2p1:QuizQuestion>
            <d2p1:Id>6109bc7e-c471-4732-be4b-a8d57dd2b3de</d2p1:Id>
            <d2p1:Order>2</d2p1:Order>
            <d2p1:Question>
              <d2p1:Answers>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
                <d2p1:QuestionAnswer>
                  <d2p1:Id>7772c680-b7af-4a2c-a2be-b35e1e0d99b7</d2p1:Id>
                  <d2p1:Image>
                    <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                    <d2p1:ImageData>QEA=</d2p1:ImageData>
                    <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
                  </d2p1:Image>
                  <d2p1:IsCorrect>true</d2p1:IsCorrect>
                  <d2p1:Text>sample string 2</d2p1:Text>
                </d2p1:QuestionAnswer>
              </d2p1:Answers>
              <d2p1:Category>
                <d2p1:Id>4741320e-f7c1-4e40-929e-6d1496cb6eb5</d2p1:Id>
                <d2p1:Name>sample string 3</d2p1:Name>
                <d2p1:ShortName>sample string 2</d2p1:ShortName>
              </d2p1:Category>
              <d2p1:ExternalId>sample string 2</d2p1:ExternalId>
              <d2p1:Id>86bf60ef-5c77-4c0f-8c73-95de6a141aa7</d2p1:Id>
              <d2p1:Image>
                <d2p1:Id>832c083d-2658-4e79-bb56-db6916c16cd8</d2p1:Id>
                <d2p1:ImageData>QEA=</d2p1:ImageData>
                <d2p1:ImageFileType>sample string 2</d2p1:ImageFileType>
              </d2p1:Image>
              <d2p1:Level>5</d2p1:Level>
              <d2p1:Text>sample string 4</d2p1:Text>
              <d2p1:Title>sample string 3</d2p1:Title>
            </d2p1:Question>
          </d2p1:QuizQuestion>
        </d2p1:Questions>
      </d2p1:QuizSection>
    </d2p1:Sections>
  </Quiz>
</QuizGameCreate>