GET api/v1/teamdata/answersets/{id}/{contactId}
This method retrieves the answer sets of a data set for a given contact.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The answerset Id. |
string |
Required |
contactId |
The id of the contact. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfAnswersetdataName | Description | Type | Additional information |
---|---|---|---|
Error | Error |
None. |
|
ResponseData | ResponseDataOfListOfAnswersetdata |
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": "e6b74376-a97e-4f04-9a46-8baace8745d1", "QuestionSetID": "e06a08b8-a0db-4788-bb91-2e5db6e72d25", "Question": "sample string 3", "DataSetID": "8c942b16-1d3f-4060-8dd7-e7095782997e", "RespondentID": "bd7d9511-edcc-4845-b703-bdccb46bd744", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-04-04T06:51:31.953769+00:00", "DateModified": "2025-04-04T06:51:31.953769+00:00", "ResponseType": "sample string 9" }, { "ID": "e6b74376-a97e-4f04-9a46-8baace8745d1", "QuestionSetID": "e06a08b8-a0db-4788-bb91-2e5db6e72d25", "Question": "sample string 3", "DataSetID": "8c942b16-1d3f-4060-8dd7-e7095782997e", "RespondentID": "bd7d9511-edcc-4845-b703-bdccb46bd744", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-04-04T06:51:31.953769+00:00", "DateModified": "2025-04-04T06:51:31.953769+00:00", "ResponseType": "sample string 9" } ] } }
application/xml, text/xml
Sample:
<ResponseOfListOfAnswersetdata 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> <Answersetdata> <ID>e6b74376-a97e-4f04-9a46-8baace8745d1</ID> <QuestionSetID>e06a08b8-a0db-4788-bb91-2e5db6e72d25</QuestionSetID> <Question>sample string 3</Question> <DataSetID>8c942b16-1d3f-4060-8dd7-e7095782997e</DataSetID> <RespondentID>bd7d9511-edcc-4845-b703-bdccb46bd744</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-04-04T06:51:31.953769+00:00</DateInsert> <DateModified>2025-04-04T06:51:31.953769+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> <Answersetdata> <ID>e6b74376-a97e-4f04-9a46-8baace8745d1</ID> <QuestionSetID>e06a08b8-a0db-4788-bb91-2e5db6e72d25</QuestionSetID> <Question>sample string 3</Question> <DataSetID>8c942b16-1d3f-4060-8dd7-e7095782997e</DataSetID> <RespondentID>bd7d9511-edcc-4845-b703-bdccb46bd744</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-04-04T06:51:31.953769+00:00</DateInsert> <DateModified>2025-04-04T06:51:31.953769+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> </Detail> </ResponseData> </ResponseOfListOfAnswersetdata>