Loading...

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

Description

Gets the details for a specific answer on a question.

Path Parameters

accountId integer The account which owns the campaign. required
campaignId integer The campaign to which the answer is part of. required
answerId integer The specific answer to check. required

Response Properties application/json

AccountId integer The account which owns the campaign.
ContentId integer Defines the content for multiple choise answers.
Description string Description
Label string Label
NextCampaignId integer Next campaignid for dialog
OrderingId integer A user definable ID to order the answers by on multiple choise questions.
QuestionId integer The question which this is a valid answer to.
Validator string Validator for open_reponse answers
Value string The value that is actually saved when we receive this answer.


                    

C#


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);

}

}