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": "2f9c5b44-ab9d-4553-a828-3c51f64305a2", "SenderName": "sample string 4", "DataSetID": "59a11084-9d31-4e88-b14f-54f79eee5e4c", "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": "f3ddc342-265b-4fe2-a893-a917b34daa91", "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": "f3ddc342-265b-4fe2-a893-a917b34daa91", "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>2f9c5b44-ab9d-4553-a828-3c51f64305a2</TeamDataSetID> <SenderName>sample string 4</SenderName> <DataSetID>59a11084-9d31-4e88-b14f-54f79eee5e4c</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>f3ddc342-265b-4fe2-a893-a917b34daa91</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>f3ddc342-265b-4fe2-a893-a917b34daa91</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>