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": "23e61dcd-d01a-44fc-9901-022accff17ce", "QuestionSetID": "37a4e8bd-7b6e-46b2-86a5-7096f949a40f", "Question": "sample string 3", "DataSetID": "9d6979dc-d62f-4e87-bff8-60882a4dc7d6", "RespondentID": "00ab2922-4b55-4f9c-b12f-6e76de7fb558", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2024-11-21T09:28:58.0166108+00:00", "DateModified": "2024-11-21T09:28:58.0166108+00:00", "ResponseType": "sample string 9" }, { "ID": "23e61dcd-d01a-44fc-9901-022accff17ce", "QuestionSetID": "37a4e8bd-7b6e-46b2-86a5-7096f949a40f", "Question": "sample string 3", "DataSetID": "9d6979dc-d62f-4e87-bff8-60882a4dc7d6", "RespondentID": "00ab2922-4b55-4f9c-b12f-6e76de7fb558", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2024-11-21T09:28:58.0166108+00:00", "DateModified": "2024-11-21T09:28:58.0166108+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>23e61dcd-d01a-44fc-9901-022accff17ce</ID> <QuestionSetID>37a4e8bd-7b6e-46b2-86a5-7096f949a40f</QuestionSetID> <Question>sample string 3</Question> <DataSetID>9d6979dc-d62f-4e87-bff8-60882a4dc7d6</DataSetID> <RespondentID>00ab2922-4b55-4f9c-b12f-6e76de7fb558</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2024-11-21T09:28:58.0166108+00:00</DateInsert> <DateModified>2024-11-21T09:28:58.0166108+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> <Answersetdata> <ID>23e61dcd-d01a-44fc-9901-022accff17ce</ID> <QuestionSetID>37a4e8bd-7b6e-46b2-86a5-7096f949a40f</QuestionSetID> <Question>sample string 3</Question> <DataSetID>9d6979dc-d62f-4e87-bff8-60882a4dc7d6</DataSetID> <RespondentID>00ab2922-4b55-4f9c-b12f-6e76de7fb558</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2024-11-21T09:28:58.0166108+00:00</DateInsert> <DateModified>2024-11-21T09:28:58.0166108+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> </Detail> </ResponseData> </ResponseOfListOfAnswersetdata>