GET api/v1/teamdata/externalquestionsets/{teamdataId}/contacts/{contactId}/datasets/{datasetId}

This method retrieves the questions from the data set the recipient has been given access to. This method is called by the recipients only.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamdataId

globally unique identifier

Required

contactId

integer

Required

datasetId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfTeamDataQuestionSetModel
NameDescriptionTypeAdditional information
Error

Error

None.

ResponseData

ResponseDataOfTeamDataQuestionSetModel

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": {
      "Disclaimer": "sample string 1",
      "LogoURL": "sample string 2",
      "TeamDataSetID": "4e6cf442-1fa8-43dd-a74f-167a7c5d980d",
      "SenderName": "sample string 4",
      "DataSetID": "bce84ded-c622-4ffc-87af-b843131cfd02",
      "PersonNumber": 6,
      "Name": "sample string 7",
      "YesNo": [
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        },
        {
          "Disabled": true,
          "Group": {
            "Disabled": true,
            "Name": "sample string 2"
          },
          "Selected": true,
          "Text": "sample string 3",
          "Value": "sample string 4"
        }
      ],
      "Questions": [
        {
          "Question": "sample string 1",
          "Answer": "sample string 2",
          "Type": 3,
          "QuestionID": "d265b99e-8ee9-4bb3-9747-257035ed952a",
          "TeamDataAnswers": [
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            },
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            }
          ]
        },
        {
          "Question": "sample string 1",
          "Answer": "sample string 2",
          "Type": 3,
          "QuestionID": "d265b99e-8ee9-4bb3-9747-257035ed952a",
          "TeamDataAnswers": [
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            },
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            }
          ]
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<ResponseOfTeamDataQuestionSetModel 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>
      <Disclaimer>sample string 1</Disclaimer>
      <LogoURL>sample string 2</LogoURL>
      <TeamDataSetID>4e6cf442-1fa8-43dd-a74f-167a7c5d980d</TeamDataSetID>
      <SenderName>sample string 4</SenderName>
      <DataSetID>bce84ded-c622-4ffc-87af-b843131cfd02</DataSetID>
      <PersonNumber>6</PersonNumber>
      <Name>sample string 7</Name>
      <YesNo>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
        <SelectListItem>
          <Disabled>true</Disabled>
          <Group>
            <Disabled>true</Disabled>
            <Name>sample string 2</Name>
          </Group>
          <Selected>true</Selected>
          <Text>sample string 3</Text>
          <Value>sample string 4</Value>
        </SelectListItem>
      </YesNo>
      <Questions>
        <TeamDataQuestionSetAnswers>
          <Question>sample string 1</Question>
          <Answer>sample string 2</Answer>
          <Type>3</Type>
          <QuestionID>d265b99e-8ee9-4bb3-9747-257035ed952a</QuestionID>
          <TeamDataAnswers>
            <SelectListItem>
              <Disabled>true</Disabled>
              <Group>
                <Disabled>true</Disabled>
                <Name>sample string 2</Name>
              </Group>
              <Selected>true</Selected>
              <Text>sample string 3</Text>
              <Value>sample string 4</Value>
            </SelectListItem>
            <SelectListItem>
              <Disabled>true</Disabled>
              <Group>
                <Disabled>true</Disabled>
                <Name>sample string 2</Name>
              </Group>
              <Selected>true</Selected>
              <Text>sample string 3</Text>
              <Value>sample string 4</Value>
            </SelectListItem>
          </TeamDataAnswers>
        </TeamDataQuestionSetAnswers>
        <TeamDataQuestionSetAnswers>
          <Question>sample string 1</Question>
          <Answer>sample string 2</Answer>
          <Type>3</Type>
          <QuestionID>d265b99e-8ee9-4bb3-9747-257035ed952a</QuestionID>
          <TeamDataAnswers>
            <SelectListItem>
              <Disabled>true</Disabled>
              <Group>
                <Disabled>true</Disabled>
                <Name>sample string 2</Name>
              </Group>
              <Selected>true</Selected>
              <Text>sample string 3</Text>
              <Value>sample string 4</Value>
            </SelectListItem>
            <SelectListItem>
              <Disabled>true</Disabled>
              <Group>
                <Disabled>true</Disabled>
                <Name>sample string 2</Name>
              </Group>
              <Selected>true</Selected>
              <Text>sample string 3</Text>
              <Value>sample string 4</Value>
            </SelectListItem>
          </TeamDataAnswers>
        </TeamDataQuestionSetAnswers>
      </Questions>
    </Detail>
  </ResponseData>
</ResponseOfTeamDataQuestionSetModel>