Loading...

Description

Returns a list of usable long codes for the supplied account ID.


Request URL

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/long-code

Request Properties

Parameter Description Mandatory
accountId The account ID to get the long codes for Yes

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 = XXX;

var context = new T70Context();

var list = context.GetLongCodes(accountId);

}

}

 

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