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

require(__DIR__ . '/../vendor/autoload.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;