POST api/SaveSurveyResponseDetails
Request Information
URI Parameters
None.
Body Parameters
SurveyResponseDetailsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RDId | integer |
None. |
|
| ResponseId | integer |
None. |
|
| QuestionId | integer |
None. |
|
| Ans | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RDId": 1,
"ResponseId": 2,
"QuestionId": 3,
"Ans": "sample string 4"
}
application/xml, text/xml
Sample:
<SurveyResponseDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <Ans>sample string 4</Ans> <QuestionId>3</QuestionId> <RDId>1</RDId> <ResponseId>2</ResponseId> </SurveyResponseDetailsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Result | string |
None. |
|
| newResult | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Result": "sample string 2",
"newResult": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <Id>1</Id> <Result>sample string 2</Result> <newResult>sample string 3</newResult> </ResultModel>