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": "192ca1b7-a882-46c2-8e8b-bb03d2577145", "SenderName": "sample string 4", "DataSetID": "28b3e21f-5e97-4588-b611-c57a08032683", "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": "86678874-4452-44ff-9a19-59c2322d5b8c", "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": "86678874-4452-44ff-9a19-59c2322d5b8c", "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>192ca1b7-a882-46c2-8e8b-bb03d2577145</TeamDataSetID> <SenderName>sample string 4</SenderName> <DataSetID>28b3e21f-5e97-4588-b611-c57a08032683</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>86678874-4452-44ff-9a19-59c2322d5b8c</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>86678874-4452-44ff-9a19-59c2322d5b8c</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>