| Name | Value | |
|---|---|---|
| REST-API METHOD | SAVE SURVEY RESPONSE | |
| HTTP METHOD | POST | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/services/SurveyService/{CompanyID}/answersurvey.json/{BusinessChannelID}/{SurveyID}/{IssueID}/{CustomerID}/{langID} | https://api.csm.next4biz.net/services/SurveyService/{CompanyID}/answersurvey.xml/{BusinessChannelID}/{SurveyID}/{IssueID}/{CustomerID}/{langID} |
| REQUEST HEAD | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
<?xml version="1.0"?>
<ArrayOfSurveyTaskAnswer
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SurveyTaskAnswer>
<SurveyQuestionId>{SurveyQuestionId}</SurveyQuestionId>
<SurveyQuestionOptionId>{SurveyQuestionOptionId}</SurveyQuestionOptionId>
</SurveyTaskAnswer>
<SurveyTaskAnswer>
<SurveyQuestionId>{SurveyQuestionId}</SurveyQuestionId>
<SurveyQuestionOptionId>{SurveyQuestionOptionId}</SurveyQuestionOptionId>
</SurveyTaskAnswer>
</ArrayOfSurveyTaskAnswer>
{
"SurveyTaskAnswer": [
{
"SurveyQuestionId": "{SurveyQuestionId}",
"SurveyQuestionOptionId": "{SurveyQuestionOptionId}"
},
{
"SurveyQuestionId": "{SurveyQuestionId}",
"SurveyQuestionOptionId": "{SurveyQuestionOptionId}"
}
]
}
<?xml version="1.0" encoding="utf-8"?>
<Response
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Result>{result}</Result>
<Message>{Message}</Message>
</Response>
{
"Result": "{result}",
"Message": "{Message}"
}