AS Server - API - Report

Default

reportDownloadReport

Report_DownloadReport


/Report/{reportID}/download

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Report/{reportID}/download" \
 -d '{
  "StartDate" : "2000-01-23T04:56:07.000+00:00",
  "WarehouseID" : "WarehouseID",
  "EndDate" : "2000-01-23T04:56:07.000+00:00"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ReportDownloadModel>
  <StartDate>2000-01-23T04:56:07.000Z</StartDate>
  <EndDate>2000-01-23T04:56:07.000Z</EndDate>
  <WarehouseID>aeiou</WarehouseID>
</ReportDownloadModel>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer reportID = 56; // Integer | Format - int32.
        ReportDownloadModel reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"}; // ReportDownloadModel | 

        try {
            Object result = apiInstance.reportDownloadReport(reportID, reportDownloadModel);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportDownloadReport");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer reportID = new Integer(); // Integer | Format - int32.
final ReportDownloadModel reportDownloadModel = new ReportDownloadModel(); // ReportDownloadModel | 

try {
    final result = await api_instance.reportDownloadReport(reportID, reportDownloadModel);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->reportDownloadReport: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer reportID = 56; // Integer | Format - int32.
        ReportDownloadModel reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"}; // ReportDownloadModel | 

        try {
            Object result = apiInstance.reportDownloadReport(reportID, reportDownloadModel);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportDownloadReport");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *reportID = 56; // Format - int32. (default to null)
ReportDownloadModel *reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"}; //  (optional)

// Report_DownloadReport
[apiInstance reportDownloadReportWith:reportID
    reportDownloadModel:reportDownloadModel
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiReport = require('as_server_api_report');

// Create an instance of the API class
var api = new AsServerApiReport.DefaultApi()
var reportID = 56; // {Integer} Format - int32.
var opts = {
  'reportDownloadModel': {"StartDate":"string","EndDate":"string","WarehouseID":"string"} // {ReportDownloadModel} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reportDownloadReport(reportID, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportDownloadReportExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reportID = 56;  // Integer | Format - int32. (default to null)
            var reportDownloadModel = new ReportDownloadModel(); // ReportDownloadModel |  (optional) 

            try {
                // Report_DownloadReport
                Object result = apiInstance.reportDownloadReport(reportID, reportDownloadModel);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.reportDownloadReport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reportID = 56; // Integer | Format - int32.
$reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"}; // ReportDownloadModel | 

try {
    $result = $api_instance->reportDownloadReport($reportID, $reportDownloadModel);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportDownloadReport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $reportID = 56; # Integer | Format - int32.
my $reportDownloadModel = WWW::OPenAPIClient::Object::ReportDownloadModel->new(); # ReportDownloadModel | 

eval {
    my $result = $api_instance->reportDownloadReport(reportID => $reportID, reportDownloadModel => $reportDownloadModel);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportDownloadReport: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
reportID = 56 # Integer | Format - int32. (default to null)
reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"} # ReportDownloadModel |  (optional)

try:
    # Report_DownloadReport
    api_response = api_instance.report_download_report(reportID, reportDownloadModel=reportDownloadModel)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->reportDownloadReport: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reportID = 56; // Integer
    let reportDownloadModel = {"StartDate":"string","EndDate":"string","WarehouseID":"string"}; // ReportDownloadModel

    let mut context = DefaultApi::Context::default();
    let result = client.reportDownloadReport(reportID, reportDownloadModel, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
reportID*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
reportDownloadModel

Responses


reportGet

Report_Get


/Report/

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Report/"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.reportGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.reportGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->reportGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.reportGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Report_Get
[apiInstance reportGetWithCompletionHandler: 
              ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiReport = require('as_server_api_report');

// Create an instance of the API class
var api = new AsServerApiReport.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reportGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Report_Get
                Object result = apiInstance.reportGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.reportGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->reportGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->reportGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Report_Get
    api_response = api_instance.report_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->reportGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.reportGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


reportGetByID

Report_GetByID


/Report/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Report/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

        try {
            Object result = apiInstance.reportGetByID(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportGetByID");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.reportGetByID(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->reportGetByID: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

        try {
            Object result = apiInstance.reportGetByID(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportGetByID");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// Report_GetByID
[apiInstance reportGetByIDWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiReport = require('as_server_api_report');

// Create an instance of the API class
var api = new AsServerApiReport.DefaultApi()
var id = 56; // {Integer} Format - int32.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reportGetByID(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportGetByIDExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

            try {
                // Report_GetByID
                Object result = apiInstance.reportGetByID(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.reportGetByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

try {
    $result = $api_instance->reportGetByID($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportGetByID: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->reportGetByID(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportGetByID: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)

try:
    # Report_GetByID
    api_response = api_instance.report_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->reportGetByID: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.reportGetByID(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


reportPost

Report_Post


/Report/Post

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Report/Post" \
 -d '{
  "MasterReportID" : 171976545,
  "IsActive" : true,
  "ScheduledFrequency" : 6,
  "RecipientsEmailCommaSeparated" : "RecipientsEmailCommaSeparated"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<SaveReportRequest>
  <MasterReportID>123</MasterReportID>
  <IsActive>true</IsActive>
  <RecipientsEmailCommaSeparated>aeiou</RecipientsEmailCommaSeparated>
  <ScheduledFrequency>123</ScheduledFrequency>
</SaveReportRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        SaveReportRequest saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0}; // SaveReportRequest | 

        try {
            Object result = apiInstance.reportPost(saveReportRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final SaveReportRequest saveReportRequest = new SaveReportRequest(); // SaveReportRequest | 

try {
    final result = await api_instance.reportPost(saveReportRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->reportPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SaveReportRequest saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0}; // SaveReportRequest | 

        try {
            Object result = apiInstance.reportPost(saveReportRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SaveReportRequest *saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0}; //  (optional)

// Report_Post
[apiInstance reportPostWith:saveReportRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiReport = require('as_server_api_report');

// Create an instance of the API class
var api = new AsServerApiReport.DefaultApi()
var opts = {
  'saveReportRequest': {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0} // {SaveReportRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reportPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var saveReportRequest = new SaveReportRequest(); // SaveReportRequest |  (optional) 

            try {
                // Report_Post
                Object result = apiInstance.reportPost(saveReportRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.reportPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0}; // SaveReportRequest | 

try {
    $result = $api_instance->reportPost($saveReportRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $saveReportRequest = WWW::OPenAPIClient::Object::SaveReportRequest->new(); # SaveReportRequest | 

eval {
    my $result = $api_instance->reportPost(saveReportRequest => $saveReportRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0} # SaveReportRequest |  (optional)

try:
    # Report_Post
    api_response = api_instance.report_post(saveReportRequest=saveReportRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->reportPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let saveReportRequest = {"MasterReportID":0,"IsActive":true,"RecipientsEmailCommaSeparated":"string","ScheduledFrequency":0}; // SaveReportRequest

    let mut context = DefaultApi::Context::default();
    let result = client.reportPost(saveReportRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
saveReportRequest

Responses


reportRunReport

Report_RunReport


/Report/{id}

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Report/{id}" \
 -d '{
  "KeyName" : "KeyName",
  "ValueOptions" : [ "ValueOptions", "ValueOptions" ],
  "Description" : "Description",
  "FriendlyName" : "FriendlyName",
  "ValueType" : 0,
  "IsTriggerReconfigure" : true,
  "Value" : "Value",
  "IsReadOnly" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <KeyName>aeiou</KeyName>
  <FriendlyName>aeiou</FriendlyName>
  <Description>aeiou</Description>
  <Value>aeiou</Value>
  <ValueType>123</ValueType>
  <ValueOptions>aeiou</ValueOptions>
  <IsReadOnly>true</IsReadOnly>
  <IsTriggerReconfigure>true</IsTriggerReconfigure>
</null>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        array[InstructionT] instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[InstructionT] | 

        try {
            Object result = apiInstance.reportRunReport(id, instructionT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportRunReport");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.
final array[InstructionT] instructionT = new array[InstructionT](); // array[InstructionT] | 

try {
    final result = await api_instance.reportRunReport(id, instructionT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->reportRunReport: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.
        array[InstructionT] instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[InstructionT] | 

        try {
            Object result = apiInstance.reportRunReport(id, instructionT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#reportRunReport");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)
array[InstructionT] *instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}]; //  (optional)

// Report_RunReport
[apiInstance reportRunReportWith:id
    instructionT:instructionT
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiReport = require('as_server_api_report');

// Create an instance of the API class
var api = new AsServerApiReport.DefaultApi()
var id = 56; // {Integer} Format - int32.
var opts = {
  'instructionT': [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}] // {array[InstructionT]} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reportRunReport(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class reportRunReportExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)
            var instructionT = new array[InstructionT](); // array[InstructionT] |  (optional) 

            try {
                // Report_RunReport
                Object result = apiInstance.reportRunReport(id, instructionT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.reportRunReport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.
$instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[InstructionT] | 

try {
    $result = $api_instance->reportRunReport($id, $instructionT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->reportRunReport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.
my $instructionT = [WWW::OPenAPIClient::Object::array[InstructionT]->new()]; # array[InstructionT] | 

eval {
    my $result = $api_instance->reportRunReport(id => $id, instructionT => $instructionT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->reportRunReport: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)
instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}] # array[InstructionT] |  (optional)

try:
    # Report_RunReport
    api_response = api_instance.report_run_report(id, instructionT=instructionT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->reportRunReport: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let instructionT = [{"KeyName":"string","FriendlyName":"string","Description":"string","Value":"string","ValueType":0,"ValueOptions":["string"],"IsReadOnly":true,"IsTriggerReconfigure":true}]; // array[InstructionT]

    let mut context = DefaultApi::Context::default();
    let result = client.reportRunReport(id, instructionT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
instructionT

Responses