PUT api/Survey/SaveQuestionAnswer
Request Information
URI Parameters
None.
Body Parameters
APIQuestionFeebackRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
SurveyId | integer |
None. |
|
UserUniqueId | integer |
None. |
|
Answer | Collection of APIQuestionFeeback |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "SurveyId": 2, "UserUniqueId": 3, "Answer": [ { "QuestionId": 1, "Comment": "sample string 2", "AnswerId": [ 1, 2 ], "TypeId": 3 }, { "QuestionId": 1, "Comment": "sample string 2", "AnswerId": [ 1, 2 ], "TypeId": 3 } ] }
application/xml, text/xml
Sample:
<APIQuestionFeebackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Answer> <APIQuestionFeeback> <AnswerId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </AnswerId> <Comment>sample string 2</Comment> <QuestionId>1</QuestionId> <TypeId>3</TypeId> </APIQuestionFeeback> <APIQuestionFeeback> <AnswerId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:long>1</d4p1:long> <d4p1:long>2</d4p1:long> </AnswerId> <Comment>sample string 2</Comment> <QuestionId>1</QuestionId> <TypeId>3</TypeId> </APIQuestionFeeback> </Answer> <CustomerId>1</CustomerId> <SurveyId>2</SurveyId> <UserUniqueId>3</UserUniqueId> </APIQuestionFeebackRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIQuestionFeebackResponseName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<APIQuestionFeebackResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Message>sample string 2</Message> <Status>true</Status> </APIQuestionFeebackResponse>