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": "671ccd9f-5930-454b-853d-4260e40a836d",
        "QuestionSetID": "89072598-2db7-4304-89a7-2a67cddfcd9d",
        "Question": "sample string 3",
        "DataSetID": "52213005-f05c-464b-a906-26ec56285f41",
        "RespondentID": "20df3a53-2627-42ae-be8a-1a090279d8dd",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2017-11-17T15:44:43.4269062Z",
        "DateModified": "2017-11-17T15:44:43.4425301Z",
        "ResponseType": "sample string 9"
      },
      {
        "ID": "671ccd9f-5930-454b-853d-4260e40a836d",
        "QuestionSetID": "89072598-2db7-4304-89a7-2a67cddfcd9d",
        "Question": "sample string 3",
        "DataSetID": "52213005-f05c-464b-a906-26ec56285f41",
        "RespondentID": "20df3a53-2627-42ae-be8a-1a090279d8dd",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2017-11-17T15:44:43.4269062Z",
        "DateModified": "2017-11-17T15:44:43.4425301Z",
        "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>671ccd9f-5930-454b-853d-4260e40a836d</ID>
        <QuestionSetID>89072598-2db7-4304-89a7-2a67cddfcd9d</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>52213005-f05c-464b-a906-26ec56285f41</DataSetID>
        <RespondentID>20df3a53-2627-42ae-be8a-1a090279d8dd</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2017-11-17T15:44:43.4269062Z</DateInsert>
        <DateModified>2017-11-17T15:44:43.4425301Z</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
      <Answersetdata>
        <ID>671ccd9f-5930-454b-853d-4260e40a836d</ID>
        <QuestionSetID>89072598-2db7-4304-89a7-2a67cddfcd9d</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>52213005-f05c-464b-a906-26ec56285f41</DataSetID>
        <RespondentID>20df3a53-2627-42ae-be8a-1a090279d8dd</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2017-11-17T15:44:43.4269062Z</DateInsert>
        <DateModified>2017-11-17T15:44:43.4425301Z</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
    </Detail>
  </ResponseData>
</ResponseOfListOfAnswersetdata>