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": "ecd7ac1d-4147-4d1c-857a-60269de123ba",
        "QuestionSetID": "ce78f62f-1ed7-4d38-9649-f2dc71b1a33e",
        "Question": "sample string 3",
        "DataSetID": "67c937b9-5e33-48da-aa25-ab7f4f99fc96",
        "RespondentID": "8c83c6d9-b02c-4c22-b273-510216e58042",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-11-21T09:25:38.8669959+00:00",
        "DateModified": "2024-11-21T09:25:38.8669959+00:00",
        "ResponseType": "sample string 9"
      },
      {
        "ID": "ecd7ac1d-4147-4d1c-857a-60269de123ba",
        "QuestionSetID": "ce78f62f-1ed7-4d38-9649-f2dc71b1a33e",
        "Question": "sample string 3",
        "DataSetID": "67c937b9-5e33-48da-aa25-ab7f4f99fc96",
        "RespondentID": "8c83c6d9-b02c-4c22-b273-510216e58042",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-11-21T09:25:38.8669959+00:00",
        "DateModified": "2024-11-21T09:25:38.8669959+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>ecd7ac1d-4147-4d1c-857a-60269de123ba</ID>
        <QuestionSetID>ce78f62f-1ed7-4d38-9649-f2dc71b1a33e</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>67c937b9-5e33-48da-aa25-ab7f4f99fc96</DataSetID>
        <RespondentID>8c83c6d9-b02c-4c22-b273-510216e58042</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-11-21T09:25:38.8669959+00:00</DateInsert>
        <DateModified>2024-11-21T09:25:38.8669959+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
      <Answersetdata>
        <ID>ecd7ac1d-4147-4d1c-857a-60269de123ba</ID>
        <QuestionSetID>ce78f62f-1ed7-4d38-9649-f2dc71b1a33e</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>67c937b9-5e33-48da-aa25-ab7f4f99fc96</DataSetID>
        <RespondentID>8c83c6d9-b02c-4c22-b273-510216e58042</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-11-21T09:25:38.8669959+00:00</DateInsert>
        <DateModified>2024-11-21T09:25:38.8669959+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
    </Detail>
  </ResponseData>
</ResponseOfListOfAnswersetdata>