Loading...

Description

Gets details of a specific channel.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account that the channel belongs to. Yes
channel The ID of the channel to get the details of 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;

const int channelId = XXXX;

var context = new T70Context();

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

var item = channelRepo.Get(channelId);

}

}

 

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