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
Name | Description | Type | Additional 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.AnswersetdataName | Description | Type | Additional 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": "65d7c3e7-865e-4d5a-b4ca-7878cf8f3f74", "QuestionSetID": "ee36ea29-91fa-40df-8cda-836aff104cb3", "Question": "sample string 3", "DataSetID": "1eb07431-7a57-4f4f-bed3-60f907ab0608", "RespondentID": "3f1edb45-82be-46c3-919c-418b4b32fd91", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-18T04:56:48.2046624+00:00", "DateModified": "2025-01-18T04:56:48.2057345+00:00", "ResponseType": "sample string 9" }, { "ID": "65d7c3e7-865e-4d5a-b4ca-7878cf8f3f74", "QuestionSetID": "ee36ea29-91fa-40df-8cda-836aff104cb3", "Question": "sample string 3", "DataSetID": "1eb07431-7a57-4f4f-bed3-60f907ab0608", "RespondentID": "3f1edb45-82be-46c3-919c-418b4b32fd91", "Name": "sample string 6", "Answer": "sample string 7", "DateInsert": "2025-01-18T04:56:48.2046624+00:00", "DateModified": "2025-01-18T04:56:48.2057345+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>65d7c3e7-865e-4d5a-b4ca-7878cf8f3f74</ID> <QuestionSetID>ee36ea29-91fa-40df-8cda-836aff104cb3</QuestionSetID> <Question>sample string 3</Question> <DataSetID>1eb07431-7a57-4f4f-bed3-60f907ab0608</DataSetID> <RespondentID>3f1edb45-82be-46c3-919c-418b4b32fd91</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-18T04:56:48.2046624+00:00</DateInsert> <DateModified>2025-01-18T04:56:48.2057345+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> <Answersetdata> <ID>65d7c3e7-865e-4d5a-b4ca-7878cf8f3f74</ID> <QuestionSetID>ee36ea29-91fa-40df-8cda-836aff104cb3</QuestionSetID> <Question>sample string 3</Question> <DataSetID>1eb07431-7a57-4f4f-bed3-60f907ab0608</DataSetID> <RespondentID>3f1edb45-82be-46c3-919c-418b4b32fd91</RespondentID> <Name>sample string 6</Name> <Answer>sample string 7</Answer> <DateInsert>2025-01-18T04:56:48.2046624+00:00</DateInsert> <DateModified>2025-01-18T04:56:48.2057345+00:00</DateModified> <ResponseType>sample string 9</ResponseType> </Answersetdata> </Detail> </ResponseData> </ResponseOfListOfAnswersetdata>