Loading...

Description

Runs a report and returns the details of that report. Note that the returned data may be different depending on which report is run.


Request URL

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/report/{reportName}?getCount={getCount}

Request Properties

Parameter Description Mandatory
accountId The account which the report should be run against. Yes
reportName The name of the report to run. Yes
getCount Optional parameter to get the count of all records. No

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 ReportRestContext();

var list = context.GetReport(accountId,"XXXXXXXX",true);

}

}

 

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