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": "709b394b-15e1-4fae-a866-be463437d9ad",
        "TeamDataSetID": "377b4f7e-d77c-460d-a985-4af18ef304e2",
        "Question": "sample string 3",
        "Type": 4,
        "DateInsert": "2024-11-21T09:42:29.3856609+00:00",
        "DateModified": "2024-11-21T09:42:29.3856609+00:00",
        "DateStart": "2024-11-21T09:42:29.3856609+00:00",
        "DateEnd": "2024-11-21T09:42:29.3856609+00:00",
        "Enabled": true
      },
      {
        "ID": "709b394b-15e1-4fae-a866-be463437d9ad",
        "TeamDataSetID": "377b4f7e-d77c-460d-a985-4af18ef304e2",
        "Question": "sample string 3",
        "Type": 4,
        "DateInsert": "2024-11-21T09:42:29.3856609+00:00",
        "DateModified": "2024-11-21T09:42:29.3856609+00:00",
        "DateStart": "2024-11-21T09:42:29.3856609+00:00",
        "DateEnd": "2024-11-21T09:42:29.3856609+00:00",
        "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>709b394b-15e1-4fae-a866-be463437d9ad</ID>
        <TeamDataSetID>377b4f7e-d77c-460d-a985-4af18ef304e2</TeamDataSetID>
        <Question>sample string 3</Question>
        <Type>4</Type>
        <DateInsert>2024-11-21T09:42:29.3856609+00:00</DateInsert>
        <DateModified>2024-11-21T09:42:29.3856609+00:00</DateModified>
        <DateStart>2024-11-21T09:42:29.3856609+00:00</DateStart>
        <DateEnd>2024-11-21T09:42:29.3856609+00:00</DateEnd>
        <Enabled>true</Enabled>
      </QuestionSet>
      <QuestionSet>
        <ID>709b394b-15e1-4fae-a866-be463437d9ad</ID>
        <TeamDataSetID>377b4f7e-d77c-460d-a985-4af18ef304e2</TeamDataSetID>
        <Question>sample string 3</Question>
        <Type>4</Type>
        <DateInsert>2024-11-21T09:42:29.3856609+00:00</DateInsert>
        <DateModified>2024-11-21T09:42:29.3856609+00:00</DateModified>
        <DateStart>2024-11-21T09:42:29.3856609+00:00</DateStart>
        <DateEnd>2024-11-21T09:42:29.3856609+00:00</DateEnd>
        <Enabled>true</Enabled>
      </QuestionSet>
    </Detail>
  </ResponseData>
</ResponseOfListOfQuestionSet>