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
Name | Description | Type | Additional information |
---|---|---|---|
id |
The unique id of the question set. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfQuestionSetName | Description | Type | Additional 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": "c41a543f-fbb7-4eb8-b46c-8487d466a908", "TeamDataSetID": "f94978ac-8589-4e80-9698-a261674e8234", "Question": "sample string 3", "Type": 4, "DateInsert": "2024-12-22T22:47:59.1545872+00:00", "DateModified": "2024-12-22T22:47:59.1545872+00:00", "DateStart": "2024-12-22T22:47:59.1545872+00:00", "DateEnd": "2024-12-22T22:47:59.1545872+00:00", "Enabled": true }, { "ID": "c41a543f-fbb7-4eb8-b46c-8487d466a908", "TeamDataSetID": "f94978ac-8589-4e80-9698-a261674e8234", "Question": "sample string 3", "Type": 4, "DateInsert": "2024-12-22T22:47:59.1545872+00:00", "DateModified": "2024-12-22T22:47:59.1545872+00:00", "DateStart": "2024-12-22T22:47:59.1545872+00:00", "DateEnd": "2024-12-22T22:47:59.1545872+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>c41a543f-fbb7-4eb8-b46c-8487d466a908</ID> <TeamDataSetID>f94978ac-8589-4e80-9698-a261674e8234</TeamDataSetID> <Question>sample string 3</Question> <Type>4</Type> <DateInsert>2024-12-22T22:47:59.1545872+00:00</DateInsert> <DateModified>2024-12-22T22:47:59.1545872+00:00</DateModified> <DateStart>2024-12-22T22:47:59.1545872+00:00</DateStart> <DateEnd>2024-12-22T22:47:59.1545872+00:00</DateEnd> <Enabled>true</Enabled> </QuestionSet> <QuestionSet> <ID>c41a543f-fbb7-4eb8-b46c-8487d466a908</ID> <TeamDataSetID>f94978ac-8589-4e80-9698-a261674e8234</TeamDataSetID> <Question>sample string 3</Question> <Type>4</Type> <DateInsert>2024-12-22T22:47:59.1545872+00:00</DateInsert> <DateModified>2024-12-22T22:47:59.1545872+00:00</DateModified> <DateStart>2024-12-22T22:47:59.1545872+00:00</DateStart> <DateEnd>2024-12-22T22:47:59.1545872+00:00</DateEnd> <Enabled>true</Enabled> </QuestionSet> </Detail> </ResponseData> </ResponseOfListOfQuestionSet>