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
Name | Description | Type | Additional information |
---|---|---|---|
teamdataId | globally unique identifier |
Required |
|
contactId | integer |
Required |
|
datasetId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfTeamDataQuestionSetModelName | Description | Type | Additional 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": "3fa1c13a-9ce8-49b6-80f0-bd62e2dc3ed2", "SenderName": "sample string 4", "DataSetID": "3fd36146-5401-4ad9-9772-67ff7e33def2", "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": "07c05724-c694-4bd4-a92e-50c39aec70c3", "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": "07c05724-c694-4bd4-a92e-50c39aec70c3", "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>3fa1c13a-9ce8-49b6-80f0-bd62e2dc3ed2</TeamDataSetID> <SenderName>sample string 4</SenderName> <DataSetID>3fd36146-5401-4ad9-9772-67ff7e33def2</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>07c05724-c694-4bd4-a92e-50c39aec70c3</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>07c05724-c694-4bd4-a92e-50c39aec70c3</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>