POST api/answers/save
Request Information
URI Parameters
None.
Body Parameters
Collection of Answer| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CampaignId | integer |
None. |
|
| QuestionId | integer |
None. |
|
| NextQuestionId | integer |
None. |
|
| NextCampaignId | integer |
None. |
|
| Order | integer |
None. |
|
| IsEnabled | boolean |
None. |
|
| UseCustomLogic | boolean |
None. |
|
| CustomLogicStageId | integer |
None. |
|
| IsUserInput | boolean |
None. |
|
| InputValidation | InputValidation |
None. |
|
| AnswerTexts | Collection of AnswerText |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"campaignId": 2,
"questionId": 3,
"nextQuestionId": 4,
"nextCampaignId": 5,
"order": 6,
"isEnabled": true,
"useCustomLogic": true,
"customLogicStageId": 9,
"isUserInput": true,
"inputValidation": 0,
"answerTexts": [
{
"id": 1,
"campaignId": 2,
"answerId": 3,
"languageId": 4,
"value": "sample string 5"
},
{
"id": 1,
"campaignId": 2,
"answerId": 3,
"languageId": 4,
"value": "sample string 5"
}
]
},
{
"id": 1,
"campaignId": 2,
"questionId": 3,
"nextQuestionId": 4,
"nextCampaignId": 5,
"order": 6,
"isEnabled": true,
"useCustomLogic": true,
"customLogicStageId": 9,
"isUserInput": true,
"inputValidation": 0,
"answerTexts": [
{
"id": 1,
"campaignId": 2,
"answerId": 3,
"languageId": 4,
"value": "sample string 5"
},
{
"id": 1,
"campaignId": 2,
"answerId": 3,
"languageId": 4,
"value": "sample string 5"
}
]
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.