PUT api/Survey/GetSurveyDetail
Request Information
URI Parameters
None.
Body Parameters
APIQuestionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| SurveyId | integer |
None. |
|
| UserUniqueId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"SurveyId": 2,
"UserUniqueId": 3
}
application/xml, text/xml
Sample:
<APIQuestionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <SurveyId>2</SurveyId> <UserUniqueId>3</UserUniqueId> </APIQuestionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SurveyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| APIQuestionResponse | Collection of APIQuestionResponse |
None. |
|
| APISurvey | APISurvey |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIQuestionResponse": [
{
"Id": 1,
"Question": "sample string 2",
"TypeId": 3,
"Options": [
{
"Id": 1,
"Answer": "sample string 2"
},
{
"Id": 1,
"Answer": "sample string 2"
}
]
},
{
"Id": 1,
"Question": "sample string 2",
"TypeId": 3,
"Options": [
{
"Id": 1,
"Answer": "sample string 2"
},
{
"Id": 1,
"Answer": "sample string 2"
}
]
}
],
"APISurvey": {
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3"
},
"Status": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<SurveyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<APIQuestionResponse>
<APIQuestionResponse>
<Id>1</Id>
<Options>
<QuestionAnswerMapping>
<Answer>sample string 2</Answer>
<Id>1</Id>
</QuestionAnswerMapping>
<QuestionAnswerMapping>
<Answer>sample string 2</Answer>
<Id>1</Id>
</QuestionAnswerMapping>
</Options>
<Question>sample string 2</Question>
<TypeId>3</TypeId>
</APIQuestionResponse>
<APIQuestionResponse>
<Id>1</Id>
<Options>
<QuestionAnswerMapping>
<Answer>sample string 2</Answer>
<Id>1</Id>
</QuestionAnswerMapping>
<QuestionAnswerMapping>
<Answer>sample string 2</Answer>
<Id>1</Id>
</QuestionAnswerMapping>
</Options>
<Question>sample string 2</Question>
<TypeId>3</TypeId>
</APIQuestionResponse>
</APIQuestionResponse>
<APISurvey>
<Description>sample string 3</Description>
<Id>1</Id>
<Title>sample string 2</Title>
</APISurvey>
<Message>sample string 2</Message>
<Status>true</Status>
</SurveyResponse>