organizerReportDevicesGet
Export devices of spectator v4
/organizer/report/devices
Usage and SDK Samples
curl -X GET \
-H "Accept: application/json" \
"https://api.tixngo.io/prod/v4.0/organizer/report/devices?mobileAppId=mobileAppId_example&limit=56&paginationKey=paginationKey_example&lastUpdatedSince=2013-10-20T19:20:30+01:00&lastUpdatedBefore=2013-10-20T19:20:30+01:00"
import com.secutix.tixngo.v4.0.*;
import com.secutix.tixngo.v4.0.auth.*;
import com.secutix.tixngo.v4.0.model.*;
import com.secutix.tixngo.v4.0.api.ReportingApi;
import java.io.File;
import java.util.*;
public class ReportingApiExample {
public static void main(String[] args) {
// Create an instance of the API class
ReportingApi apiInstance = new ReportingApi();
String mobileAppId = mobileAppId_example; // String |
Integer limit = 56; // Integer | Set the number of results returned
String paginationKey = paginationKey_example; // String | Specify the pagination key to retrieve next page
Date lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Date | Filter data updated since the given timestamp
Date lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Date | Filter data updated before the given timestamp
try {
OrganizerReportDevicesResponse result = apiInstance.organizerReportDevicesGet(mobileAppId, limit, paginationKey, lastUpdatedSince, lastUpdatedBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReportingApi#organizerReportDevicesGet");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final String mobileAppId = new String(); // String |
final Integer limit = new Integer(); // Integer | Set the number of results returned
final String paginationKey = new String(); // String | Specify the pagination key to retrieve next page
final Date lastUpdatedSince = new Date(); // Date | Filter data updated since the given timestamp
final Date lastUpdatedBefore = new Date(); // Date | Filter data updated before the given timestamp
try {
final result = await api_instance.organizerReportDevicesGet(mobileAppId, limit, paginationKey, lastUpdatedSince, lastUpdatedBefore);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->organizerReportDevicesGet: $e\n');
}
import com.secutix.tixngo.v4.0.api.ReportingApi;
public class ReportingApiExample {
public static void main(String[] args) {
ReportingApi apiInstance = new ReportingApi();
String mobileAppId = mobileAppId_example; // String |
Integer limit = 56; // Integer | Set the number of results returned
String paginationKey = paginationKey_example; // String | Specify the pagination key to retrieve next page
Date lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Date | Filter data updated since the given timestamp
Date lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Date | Filter data updated before the given timestamp
try {
OrganizerReportDevicesResponse result = apiInstance.organizerReportDevicesGet(mobileAppId, limit, paginationKey, lastUpdatedSince, lastUpdatedBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReportingApi#organizerReportDevicesGet");
e.printStackTrace();
}
}
}
// Create an instance of the API class
ReportingApi *apiInstance = [[ReportingApi alloc] init];
String *mobileAppId = mobileAppId_example; // (default to null)
Integer *limit = 56; // Set the number of results returned (optional) (default to 1000)
String *paginationKey = paginationKey_example; // Specify the pagination key to retrieve next page (optional) (default to null)
Date *lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Filter data updated since the given timestamp (optional) (default to null)
Date *lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Filter data updated before the given timestamp (optional) (default to null)
[apiInstance organizerReportDevicesGetWith:mobileAppId
limit:limit
paginationKey:paginationKey
lastUpdatedSince:lastUpdatedSince
lastUpdatedBefore:lastUpdatedBefore
completionHandler: ^(OrganizerReportDevicesResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TixngoRestApiBackendReportingApi = require('tixngo_rest_api_backend_reporting_api');
// Create an instance of the API class
var api = new TixngoRestApiBackendReportingApi.ReportingApi()
var mobileAppId = mobileAppId_example; // {String}
var opts = {
'limit': 56, // {Integer} Set the number of results returned
'paginationKey': paginationKey_example, // {String} Specify the pagination key to retrieve next page
'lastUpdatedSince': 2013-10-20T19:20:30+01:00, // {Date} Filter data updated since the given timestamp
'lastUpdatedBefore': 2013-10-20T19:20:30+01:00 // {Date} Filter data updated before the given timestamp
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.organizerReportDevicesGet(mobileAppId, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class organizerReportDevicesGetExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new ReportingApi();
var mobileAppId = mobileAppId_example; // String | (default to null)
var limit = 56; // Integer | Set the number of results returned (optional) (default to 1000)
var paginationKey = paginationKey_example; // String | Specify the pagination key to retrieve next page (optional) (default to null)
var lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Date | Filter data updated since the given timestamp (optional) (default to null)
var lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Date | Filter data updated before the given timestamp (optional) (default to null)
try {
OrganizerReportDevicesResponse result = apiInstance.organizerReportDevicesGet(mobileAppId, limit, paginationKey, lastUpdatedSince, lastUpdatedBefore);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ReportingApi.organizerReportDevicesGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ReportingApi();
$mobileAppId = mobileAppId_example; // String |
$limit = 56; // Integer | Set the number of results returned
$paginationKey = paginationKey_example; // String | Specify the pagination key to retrieve next page
$lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Date | Filter data updated since the given timestamp
$lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Date | Filter data updated before the given timestamp
try {
$result = $api_instance->organizerReportDevicesGet($mobileAppId, $limit, $paginationKey, $lastUpdatedSince, $lastUpdatedBefore);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ReportingApi->organizerReportDevicesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ReportingApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ReportingApi->new();
my $mobileAppId = mobileAppId_example; # String |
my $limit = 56; # Integer | Set the number of results returned
my $paginationKey = paginationKey_example; # String | Specify the pagination key to retrieve next page
my $lastUpdatedSince = 2013-10-20T19:20:30+01:00; # Date | Filter data updated since the given timestamp
my $lastUpdatedBefore = 2013-10-20T19:20:30+01:00; # Date | Filter data updated before the given timestamp
eval {
my $result = $api_instance->organizerReportDevicesGet(mobileAppId => $mobileAppId, limit => $limit, paginationKey => $paginationKey, lastUpdatedSince => $lastUpdatedSince, lastUpdatedBefore => $lastUpdatedBefore);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ReportingApi->organizerReportDevicesGet: $@\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.ReportingApi()
mobileAppId = mobileAppId_example # String | (default to null)
limit = 56 # Integer | Set the number of results returned (optional) (default to 1000)
paginationKey = paginationKey_example # String | Specify the pagination key to retrieve next page (optional) (default to null)
lastUpdatedSince = 2013-10-20T19:20:30+01:00 # Date | Filter data updated since the given timestamp (optional) (default to null)
lastUpdatedBefore = 2013-10-20T19:20:30+01:00 # Date | Filter data updated before the given timestamp (optional) (default to null)
try:
api_response = api_instance.organizer_report_devices_get(mobileAppId, limit=limit, paginationKey=paginationKey, lastUpdatedSince=lastUpdatedSince, lastUpdatedBefore=lastUpdatedBefore)
pprint(api_response)
except ApiException as e:
print("Exception when calling ReportingApi->organizerReportDevicesGet: %s\n" % e)
extern crate ReportingApi;
pub fn main() {
let mobileAppId = mobileAppId_example; // String
let limit = 56; // Integer
let paginationKey = paginationKey_example; // String
let lastUpdatedSince = 2013-10-20T19:20:30+01:00; // Date
let lastUpdatedBefore = 2013-10-20T19:20:30+01:00; // Date
let mut context = ReportingApi::Context::default();
let result = client.organizerReportDevicesGet(mobileAppId, limit, paginationKey, lastUpdatedSince, lastUpdatedBefore, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
| Name | Description |
|---|---|
| mobileAppId* |
String
Required
|
| limit |
Integer
Set the number of results returned
|
| paginationKey |
String
Specify the pagination key to retrieve next page
|
| lastUpdatedSince |
Date
(date-time)
Filter data updated since the given timestamp
|
| lastUpdatedBefore |
Date
(date-time)
Filter data updated before the given timestamp
|