summaryrefslogtreecommitdiffstats
path: root/samples/GetItemDefinition.php
blob: ff628180c7d168da895c6afeecdbac52f78030c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

require('../library/SSRS/Report.php');

$options = array(
    'username' => 'testing',
    'password' => 'password'
);

$ssrs = new SSRS_Report('http://localhost/reportserver/', $options);

$ItemPath = '/Reports/Reference_Report';
$result = $ssrs->getItemDefinition($ItemPath);

header('Content-Type:text/xml');
echo $result;