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
TwoSms.CustomerPortalRole.API.Misc.ResponseOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.AnswersetdataName | Description | Type | Additional information |
---|---|---|---|
Error | TwoSms.CustomerPortalRole.API.Misc.Error |
None. |
|
ResponseData | TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.Answersetdata |
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": "90724146-21b9-40f1-bbf1-36558b737e7a", "QuestionSetID": "52d7c155-5810-47ae-836c-1ec8ea114bf1", "Question": "sample string 3", "DataSetID": "9e4ec572-c37e-43ab-a226-635f926d0114", "RespondentID": "18cab156-4ce7-4f0f-abe4-c6389d7ec8a5", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-29T03:07:03.369882+00:00", "DateModified": "2025-01-29T03:07:03.369882+00:00", "ResponseType": "sample string 9" }, { "ID": "90724146-21b9-40f1-bbf1-36558b737e7a", "QuestionSetID": "52d7c155-5810-47ae-836c-1ec8ea114bf1", "Question": "sample string 3", "DataSetID": "9e4ec572-c37e-43ab-a226-635f926d0114", "RespondentID": "18cab156-4ce7-4f0f-abe4-c6389d7ec8a5", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-29T03:07:03.369882+00:00", "DateModified": "2025-01-29T03:07:03.369882+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>90724146-21b9-40f1-bbf1-36558b737e7a</ID> <QuestionSetID>52d7c155-5810-47ae-836c-1ec8ea114bf1</QuestionSetID> <Question>sample string 3</Question> <DataSetID>9e4ec572-c37e-43ab-a226-635f926d0114</DataSetID> <RespondentID>18cab156-4ce7-4f0f-abe4-c6389d7ec8a5</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-29T03:07:03.369882+00:00</DateInsert> <DateModified>2025-01-29T03:07:03.369882+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> <Answersetdata> <ID>90724146-21b9-40f1-bbf1-36558b737e7a</ID> <QuestionSetID>52d7c155-5810-47ae-836c-1ec8ea114bf1</QuestionSetID> <Question>sample string 3</Question> <DataSetID>9e4ec572-c37e-43ab-a226-635f926d0114</DataSetID> <RespondentID>18cab156-4ce7-4f0f-abe4-c6389d7ec8a5</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-29T03:07:03.369882+00:00</DateInsert> <DateModified>2025-01-29T03:07:03.369882+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> </Detail> </ResponseData> </ResponseOfListOfAnswersetdata>