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

NameDescriptionTypeAdditional information
id

The answerset Id.

string

Required

contactId

The id of the contact.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfAnswersetdata
NameDescriptionTypeAdditional 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": "7536ce87-3ed8-4628-a41e-e842f300caa9",
        "QuestionSetID": "553335d7-abbd-4dcb-9f90-9a621884aed3",
        "Question": "sample string 3",
        "DataSetID": "0aff7e49-d482-4bc1-870a-0b86a8713b99",
        "RespondentID": "cfc71fae-156e-482f-8b78-b3f92b8b79b0",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-12-22T15:55:24.6078814+00:00",
        "DateModified": "2024-12-22T15:55:24.6078814+00:00",
        "ResponseType": "sample string 9"
      },
      {
        "ID": "7536ce87-3ed8-4628-a41e-e842f300caa9",
        "QuestionSetID": "553335d7-abbd-4dcb-9f90-9a621884aed3",
        "Question": "sample string 3",
        "DataSetID": "0aff7e49-d482-4bc1-870a-0b86a8713b99",
        "RespondentID": "cfc71fae-156e-482f-8b78-b3f92b8b79b0",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-12-22T15:55:24.6078814+00:00",
        "DateModified": "2024-12-22T15:55:24.6078814+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>7536ce87-3ed8-4628-a41e-e842f300caa9</ID>
        <QuestionSetID>553335d7-abbd-4dcb-9f90-9a621884aed3</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>0aff7e49-d482-4bc1-870a-0b86a8713b99</DataSetID>
        <RespondentID>cfc71fae-156e-482f-8b78-b3f92b8b79b0</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-12-22T15:55:24.6078814+00:00</DateInsert>
        <DateModified>2024-12-22T15:55:24.6078814+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
      <Answersetdata>
        <ID>7536ce87-3ed8-4628-a41e-e842f300caa9</ID>
        <QuestionSetID>553335d7-abbd-4dcb-9f90-9a621884aed3</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>0aff7e49-d482-4bc1-870a-0b86a8713b99</DataSetID>
        <RespondentID>cfc71fae-156e-482f-8b78-b3f92b8b79b0</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-12-22T15:55:24.6078814+00:00</DateInsert>
        <DateModified>2024-12-22T15:55:24.6078814+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
    </Detail>
  </ResponseData>
</ResponseOfListOfAnswersetdata>