Loading...

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

Description

Gets details of a specific channel.

Path Parameters

accountId integer The account that the channel belongs to. required
channel integer The ID of the channel to get the details of required

Response Properties application/json

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


                    

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 channelId = XXXX;

var context = new T70Context();

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

var item = channelRepo.Get(channelId);

}

}