GET api/v1/teamdata/externalanswersets/{id}/{contactId}

This method will get the external answer sets detail for a given contact id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The external answer set 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": "fc09a138-0b93-4beb-a75a-4c3f28f9d579",
        "QuestionSetID": "c4924db3-8325-4a4e-8462-2591f0aa7c04",
        "Question": "sample string 3",
        "DataSetID": "9f9654dd-023e-465a-8beb-ebaac6198035",
        "RespondentID": "d035234d-9d7d-4328-9676-6ddbebaf2640",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2017-09-24T12:18:50.6984594Z",
        "DateModified": "2017-09-24T12:18:50.6984594Z",
        "ResponseType": "sample string 9"
      },
      {
        "ID": "fc09a138-0b93-4beb-a75a-4c3f28f9d579",
        "QuestionSetID": "c4924db3-8325-4a4e-8462-2591f0aa7c04",
        "Question": "sample string 3",
        "DataSetID": "9f9654dd-023e-465a-8beb-ebaac6198035",
        "RespondentID": "d035234d-9d7d-4328-9676-6ddbebaf2640",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2017-09-24T12:18:50.6984594Z",
        "DateModified": "2017-09-24T12:18:50.6984594Z",
        "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>fc09a138-0b93-4beb-a75a-4c3f28f9d579</ID>
        <QuestionSetID>c4924db3-8325-4a4e-8462-2591f0aa7c04</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>9f9654dd-023e-465a-8beb-ebaac6198035</DataSetID>
        <RespondentID>d035234d-9d7d-4328-9676-6ddbebaf2640</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2017-09-24T12:18:50.6984594Z</DateInsert>
        <DateModified>2017-09-24T12:18:50.6984594Z</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
      <Answersetdata>
        <ID>fc09a138-0b93-4beb-a75a-4c3f28f9d579</ID>
        <QuestionSetID>c4924db3-8325-4a4e-8462-2591f0aa7c04</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>9f9654dd-023e-465a-8beb-ebaac6198035</DataSetID>
        <RespondentID>d035234d-9d7d-4328-9676-6ddbebaf2640</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2017-09-24T12:18:50.6984594Z</DateInsert>
        <DateModified>2017-09-24T12:18:50.6984594Z</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
    </Detail>
  </ResponseData>
</ResponseOfListOfAnswersetdata>