Loading...

Description

Gets the details for a specific answer on a question.


Request URL

GET   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 to which the answer is part of. Yes
answerId The specific answer to check. Yes

Response Properties

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

C#
PHP


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

}

}

 

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