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


Update Details

Path Parameters

accountId integer The account which owns the campaign. required
campaignId integer The campaign to which the dialog belongs. required

Request Properties application/json

FirstQuestionId integer Pointer to the campaign which defines the first question of the dialog. required



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;

var context = new T70Context();

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

var item = dialogCampRepo.Get(campaignId);

item.FirstQuestionId = XXXX;