Loading...

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

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.

Path Parameters

accountId integer The account which the report should be run against. required
reportName string The name of the report to run. required

Query Strings

getCount boolean Optional parameter to get the count of all records. optional

C#


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

}

}