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

TwoSms.CustomerPortalRole.API.Misc.ResponseOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.Answersetdata
NameDescriptionTypeAdditional 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": "91aee64b-dc0e-4ed7-8e30-043b97fbcfec",
        "QuestionSetID": "2d7694dd-27f9-4721-9e37-f8d178fc72b4",
        "Question": "sample string 3",
        "DataSetID": "0b9c60f5-1025-422c-be4f-cbdcb6962d26",
        "RespondentID": "cff264b4-1350-49c6-9882-2ff371b562e8",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-11-21T09:14:43.3119629+00:00",
        "DateModified": "2024-11-21T09:14:43.3119629+00:00",
        "ResponseType": "sample string 9"
      },
      {
        "ID": "91aee64b-dc0e-4ed7-8e30-043b97fbcfec",
        "QuestionSetID": "2d7694dd-27f9-4721-9e37-f8d178fc72b4",
        "Question": "sample string 3",
        "DataSetID": "0b9c60f5-1025-422c-be4f-cbdcb6962d26",
        "RespondentID": "cff264b4-1350-49c6-9882-2ff371b562e8",
        "Name": "sample string 6",
        "Answer": "sample string 7",
        "DateInsert": "2024-11-21T09:14:43.3119629+00:00",
        "DateModified": "2024-11-21T09:14:43.3119629+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>91aee64b-dc0e-4ed7-8e30-043b97fbcfec</ID>
        <QuestionSetID>2d7694dd-27f9-4721-9e37-f8d178fc72b4</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>0b9c60f5-1025-422c-be4f-cbdcb6962d26</DataSetID>
        <RespondentID>cff264b4-1350-49c6-9882-2ff371b562e8</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-11-21T09:14:43.3119629+00:00</DateInsert>
        <DateModified>2024-11-21T09:14:43.3119629+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
      <Answersetdata>
        <ID>91aee64b-dc0e-4ed7-8e30-043b97fbcfec</ID>
        <QuestionSetID>2d7694dd-27f9-4721-9e37-f8d178fc72b4</QuestionSetID>
        <Question>sample string 3</Question>
        <DataSetID>0b9c60f5-1025-422c-be4f-cbdcb6962d26</DataSetID>
        <RespondentID>cff264b4-1350-49c6-9882-2ff371b562e8</RespondentID>
        <Name>sample string 6</Name>
        <Answer>sample string 7</Answer>
        <DateInsert>2024-11-21T09:14:43.3119629+00:00</DateInsert>
        <DateModified>2024-11-21T09:14:43.3119629+00:00</DateModified>
        <ResponseType>sample string 9</ResponseType>
      </Answersetdata>
    </Detail>
  </ResponseData>
</ResponseOfListOfAnswersetdata>