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": "f571ed50-b35e-4ae6-bcf3-58b26bfe3384", "QuestionSetID": "0630873a-9742-4d6b-9eb2-7ebc54c36de2", "Question": "sample string 3", "DataSetID": "22ee819f-e218-4d1d-b637-8479f25d201a", "RespondentID": "141c7717-77cf-49aa-a855-429e9136c3e8", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-22T06:59:48.4407197+00:00", "DateModified": "2025-01-22T06:59:48.4407197+00:00", "ResponseType": "sample string 9" }, { "ID": "f571ed50-b35e-4ae6-bcf3-58b26bfe3384", "QuestionSetID": "0630873a-9742-4d6b-9eb2-7ebc54c36de2", "Question": "sample string 3", "DataSetID": "22ee819f-e218-4d1d-b637-8479f25d201a", "RespondentID": "141c7717-77cf-49aa-a855-429e9136c3e8", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-22T06:59:48.4407197+00:00", "DateModified": "2025-01-22T06:59:48.4407197+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>f571ed50-b35e-4ae6-bcf3-58b26bfe3384</ID> <QuestionSetID>0630873a-9742-4d6b-9eb2-7ebc54c36de2</QuestionSetID> <Question>sample string 3</Question> <DataSetID>22ee819f-e218-4d1d-b637-8479f25d201a</DataSetID> <RespondentID>141c7717-77cf-49aa-a855-429e9136c3e8</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-22T06:59:48.4407197+00:00</DateInsert> <DateModified>2025-01-22T06:59:48.4407197+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> <Answersetdata> <ID>f571ed50-b35e-4ae6-bcf3-58b26bfe3384</ID> <QuestionSetID>0630873a-9742-4d6b-9eb2-7ebc54c36de2</QuestionSetID> <Question>sample string 3</Question> <DataSetID>22ee819f-e218-4d1d-b637-8479f25d201a</DataSetID> <RespondentID>141c7717-77cf-49aa-a855-429e9136c3e8</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-22T06:59:48.4407197+00:00</DateInsert> <DateModified>2025-01-22T06:59:48.4407197+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> </Detail> </ResponseData> </ResponseOfListOfAnswersetdata>