Updates a specific answer on a question campaign to the newly supplied details.

Request URL

PUT   https://api.3seventy.com/api/v2.1/account/{accountId}/campaign/{campaignId}/question/answer/{answerId}

Request Properties

Parameter Description Mandatory
accountId The account which owns the campaign Yes
campaignId The campaign which the answer should be placed into Yes
answerId The specific answer to update. Yes
NextCampaignId The next campaign to run in the dialog. Yes
ContentId The ID of the text message content. Yes
Content The content of the answer. Yes
Validator A regular expression that is used to validate the user's response to the answer. Yes
OrderingId A user definable ID to order the answers by on multiple choise questions. Yes
Value The value that is actually saved when we receive this answer. Yes
Label The lable to display in the user interface. No
Description The description of the answer. No


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Enums;
using ThreeSeventy.Vector.Client.Models;

public class Program

private static void Main(string[] args)

const int accountId = XXXX;

const int campaignId = XXXX;

const int answerId = XXXX;

var context = new T70Context();

var campQuesAnsDefRepo = context.Repository<CampaignQuestionAnswerDefinition>(new { AccountId = accountId, CampaignId = campaignId });

var item = campQuesAnsDefRepo.Get(answerId);

item.ContentId = XXXX;





Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet