Loading...

Description

Gets detailed information about a specific account.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The ID of the account to retrieve. Yes

Response Properties

Property Description
Id The ID of the account.
Status The current status of the account.
ParentId The identifier of the account that is the parent of this account.
Name The name of the account
Created When the account was created.
AllowCallback Set if this account is allowed to use the callback mechanism.
CallbackToken The token to send on a callback.
BillingStatus Billing Status Information
BillingType Billing Type Information

C#
PHP


using System;
using System.Collections.Generic;
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 parentId= XXXX;

const int accountId = XXXX;

var context = new T70Context();

var accountRepo = context.Repository<Account>(new { ParentId = parentId});

var account = accountRepo.Get(accountId );

}

}

 

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