Loading...

Description

Gets a list of all callbacks for an account.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The ID of the account that owns the Callbacks. Yes

Response Properties

Property Description
AccountId The account which owns this callback object.
Active Set if the callback is active or not.
CallbackType Enumeration mapping for CallbackTypeId
CallbackTypeId What sorts of callbacks we should fire on.
URL The URL to call when the callback is activated.

C#
PHP


using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

var context = new T70Context();

var callbackRepo = context.Repository<Callback>(new { AccountId = accountId });

var list = callbackRepo.GetAll();

}

}

 

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