GET api/v1/teamdata/questionsets/{id}

This method gets the questions set of a team data. The method returns the number of questions that are in that data set. The question set id can be retrieved in the following method in the TeamData Api: "GET api/v1/teamdata/datasets/{id}".

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique id of the question set.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfQuestionSet
NameDescriptionTypeAdditional information
Error

Error

None.

ResponseData

ResponseDataOfListOfQuestionSet

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": {
    "ErrorCode": "sample string 1",
    "ErrorReason": "sample string 2"
  },
  "ResponseData": {
    "Identification": {
      "UserId": "sample string 1"
    },
    "Result": "sample string 1",
    "Detail": [
      {
        "ID": "31f5edc0-a762-42aa-a6fd-c1a1c6f42513",
        "TeamDataSetID": "79f0e358-623a-4a7f-a01d-e30a4a62da35",
        "Question": "sample string 3",
        "Type": 4,
        "DateInsert": "2017-09-24T12:15:23.7887764Z",
        "DateModified": "2017-09-24T12:15:23.7887764Z",
        "DateStart": "2017-09-24T12:15:23.7887764Z",
        "DateEnd": "2017-09-24T12:15:23.7887764Z",
        "Enabled": true
      },
      {
        "ID": "31f5edc0-a762-42aa-a6fd-c1a1c6f42513",
        "TeamDataSetID": "79f0e358-623a-4a7f-a01d-e30a4a62da35",
        "Question": "sample string 3",
        "Type": 4,
        "DateInsert": "2017-09-24T12:15:23.7887764Z",
        "DateModified": "2017-09-24T12:15:23.7887764Z",
        "DateStart": "2017-09-24T12:15:23.7887764Z",
        "DateEnd": "2017-09-24T12:15:23.7887764Z",
        "Enabled": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfListOfQuestionSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail>
      <QuestionSet>
        <ID>31f5edc0-a762-42aa-a6fd-c1a1c6f42513</ID>
        <TeamDataSetID>79f0e358-623a-4a7f-a01d-e30a4a62da35</TeamDataSetID>
        <Question>sample string 3</Question>
        <Type>4</Type>
        <DateInsert>2017-09-24T12:15:23.7887764Z</DateInsert>
        <DateModified>2017-09-24T12:15:23.7887764Z</DateModified>
        <DateStart>2017-09-24T12:15:23.7887764Z</DateStart>
        <DateEnd>2017-09-24T12:15:23.7887764Z</DateEnd>
        <Enabled>true</Enabled>
      </QuestionSet>
      <QuestionSet>
        <ID>31f5edc0-a762-42aa-a6fd-c1a1c6f42513</ID>
        <TeamDataSetID>79f0e358-623a-4a7f-a01d-e30a4a62da35</TeamDataSetID>
        <Question>sample string 3</Question>
        <Type>4</Type>
        <DateInsert>2017-09-24T12:15:23.7887764Z</DateInsert>
        <DateModified>2017-09-24T12:15:23.7887764Z</DateModified>
        <DateStart>2017-09-24T12:15:23.7887764Z</DateStart>
        <DateEnd>2017-09-24T12:15:23.7887764Z</DateEnd>
        <Enabled>true</Enabled>
      </QuestionSet>
    </Detail>
  </ResponseData>
</ResponseOfListOfQuestionSet>