Loading...
POST https://api.3seventy.com/api/v2.1/account/{accountId}/link
Description
Gets the details of a specific link.Path Parameters
accountId | integer | The account ID which will own the link. | required |
Request Properties application/json
Response Properties application/json
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 linkRepo = context.Repository<Link>(new { AccountId = accountId});
var item = new Link()
{
AccountId = accountId,
LinkType = LinkType.Static,
Name = "Test",
RedirectURL = "http://test.com"
};
linkRepo.Add(item);
}
}