Loading...

Description

Returns a list of channels that fall under a given account.


Request URL

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/channel

Request Properties

Parameter Description Mandatory
accountId The account that the channels belongs to Yes

Response Properties

Property Description
AllowVerify If we can send handset verifications on.
ChannelType Enumeration mapping for ChannelTypeId
DefaultLanguage The default language type for a channel.
DefaultLanguageId The default language type for a channel.
Description Channel Description
IsActive If the channel is currently active and running.
IsMediaEnabled If the channel supports MMS.
Label Channel Label
Name Name of the Channel
OverrideGroup Language override group for the channel
ThreadSleep Thread sleep timeout in milliseconds
type
UseLongCodes If this channel uses long codes or not.

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;

var context = new T70Context();

var channelRepo = context.Repository<Channel>(new { AccountId = accountId });

var list = channelRepo.GetAll();

}

}

 

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