TIXNGO REST API backend-spectator-api

Default

spectatorEmailPincodeGet

Get pin code to sign in the application


/spectator/{email}/pincode

Usage and SDK Samples

curl -X GET \
 "https://api.tixngo.io/prod/v4.0/spectator/{email}/pincode?language=language_example"
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.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();
        String userAgent = userAgent_example; // String | 
        String email = email_example; // String | email of requester (spectator)
        String xTixngoAppId = xTixngoAppId_example; // String | 
        String language = language_example; // String | App language of requester (spectator)

        try {
            apiInstance.spectatorEmailPincodeGet(userAgent, email, xTixngoAppId, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorEmailPincodeGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String userAgent = new String(); // String | 
final String email = new String(); // String | email of requester (spectator)
final String xTixngoAppId = new String(); // String | 
final String language = new String(); // String | App language of requester (spectator)

try {
    final result = await api_instance.spectatorEmailPincodeGet(userAgent, email, xTixngoAppId, language);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->spectatorEmailPincodeGet: $e\n');
}

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userAgent = userAgent_example; // String | 
        String email = email_example; // String | email of requester (spectator)
        String xTixngoAppId = xTixngoAppId_example; // String | 
        String language = language_example; // String | App language of requester (spectator)

        try {
            apiInstance.spectatorEmailPincodeGet(userAgent, email, xTixngoAppId, language);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorEmailPincodeGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *userAgent = userAgent_example; //  (default to null)
String *email = email_example; // email of requester (spectator) (default to null)
String *xTixngoAppId = xTixngoAppId_example; //  (optional) (default to null)
String *language = language_example; // App language of requester (spectator) (optional) (default to null)

[apiInstance spectatorEmailPincodeGetWith:userAgent
    email:email
    xTixngoAppId:xTixngoAppId
    language:language
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var userAgent = userAgent_example; // {String} 
var email = email_example; // {String} email of requester (spectator)
var opts = {
  'xTixngoAppId': xTixngoAppId_example, // {String} 
  'language': language_example // {String} App language of requester (spectator)
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userAgent = userAgent_example;  // String |  (default to null)
            var email = email_example;  // String | email of requester (spectator) (default to null)
            var xTixngoAppId = xTixngoAppId_example;  // String |  (optional)  (default to null)
            var language = language_example;  // String | App language of requester (spectator) (optional)  (default to null)

            try {
                apiInstance.spectatorEmailPincodeGet(userAgent, email, xTixngoAppId, language);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorEmailPincodeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userAgent = userAgent_example; // String | 
$email = email_example; // String | email of requester (spectator)
$xTixngoAppId = xTixngoAppId_example; // String | 
$language = language_example; // String | App language of requester (spectator)

try {
    $api_instance->spectatorEmailPincodeGet($userAgent, $email, $xTixngoAppId, $language);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorEmailPincodeGet: ', $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 $userAgent = userAgent_example; # String | 
my $email = email_example; # String | email of requester (spectator)
my $xTixngoAppId = xTixngoAppId_example; # String | 
my $language = language_example; # String | App language of requester (spectator)

eval {
    $api_instance->spectatorEmailPincodeGet(userAgent => $userAgent, email => $email, xTixngoAppId => $xTixngoAppId, language => $language);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorEmailPincodeGet: $@\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()
userAgent = userAgent_example # String |  (default to null)
email = email_example # String | email of requester (spectator) (default to null)
xTixngoAppId = xTixngoAppId_example # String |  (optional) (default to null)
language = language_example # String | App language of requester (spectator) (optional) (default to null)

try:
    api_instance.spectator_email_pincode_get(userAgent, email, xTixngoAppId=xTixngoAppId, language=language)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorEmailPincodeGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userAgent = userAgent_example; // String
    let email = email_example; // String
    let xTixngoAppId = xTixngoAppId_example; // String
    let language = language_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorEmailPincodeGet(userAgent, email, xTixngoAppId, language, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
email*
String
email of requester (spectator)
Required
Header parameters
Name Description
User-Agent*
String
Required
x-tixngo-app-id
String
Query parameters
Name Description
language
String
App language of requester (spectator)

Responses


spectatorEmailVerifyPost

Send pin code to backend in order to sign in the app


/spectator/{email}/verify

Usage and SDK Samples

curl -X POST \
 "https://api.tixngo.io/prod/v4.0/spectator/{email}/verify?code=code_example"
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.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();
        String userAgent = userAgent_example; // String | 
        String email = email_example; // String | email of requester (spectator)
        String code = code_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 
        String xDeviceId = xDeviceId_example; // String | 

        try {
            apiInstance.spectatorEmailVerifyPost(userAgent, email, code, xTixngoAppId, xDeviceId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorEmailVerifyPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String userAgent = new String(); // String | 
final String email = new String(); // String | email of requester (spectator)
final String code = new String(); // String | 
final String xTixngoAppId = new String(); // String | 
final String xDeviceId = new String(); // String | 

try {
    final result = await api_instance.spectatorEmailVerifyPost(userAgent, email, code, xTixngoAppId, xDeviceId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->spectatorEmailVerifyPost: $e\n');
}

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userAgent = userAgent_example; // String | 
        String email = email_example; // String | email of requester (spectator)
        String code = code_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 
        String xDeviceId = xDeviceId_example; // String | 

        try {
            apiInstance.spectatorEmailVerifyPost(userAgent, email, code, xTixngoAppId, xDeviceId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorEmailVerifyPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *userAgent = userAgent_example; //  (default to null)
String *email = email_example; // email of requester (spectator) (default to null)
String *code = code_example; //  (default to null)
String *xTixngoAppId = xTixngoAppId_example; //  (optional) (default to null)
String *xDeviceId = xDeviceId_example; //  (optional) (default to null)

[apiInstance spectatorEmailVerifyPostWith:userAgent
    email:email
    code:code
    xTixngoAppId:xTixngoAppId
    xDeviceId:xDeviceId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var userAgent = userAgent_example; // {String} 
var email = email_example; // {String} email of requester (spectator)
var code = code_example; // {String} 
var opts = {
  'xTixngoAppId': xTixngoAppId_example, // {String} 
  'xDeviceId': xDeviceId_example // {String} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userAgent = userAgent_example;  // String |  (default to null)
            var email = email_example;  // String | email of requester (spectator) (default to null)
            var code = code_example;  // String |  (default to null)
            var xTixngoAppId = xTixngoAppId_example;  // String |  (optional)  (default to null)
            var xDeviceId = xDeviceId_example;  // String |  (optional)  (default to null)

            try {
                apiInstance.spectatorEmailVerifyPost(userAgent, email, code, xTixngoAppId, xDeviceId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorEmailVerifyPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userAgent = userAgent_example; // String | 
$email = email_example; // String | email of requester (spectator)
$code = code_example; // String | 
$xTixngoAppId = xTixngoAppId_example; // String | 
$xDeviceId = xDeviceId_example; // String | 

try {
    $api_instance->spectatorEmailVerifyPost($userAgent, $email, $code, $xTixngoAppId, $xDeviceId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorEmailVerifyPost: ', $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 $userAgent = userAgent_example; # String | 
my $email = email_example; # String | email of requester (spectator)
my $code = code_example; # String | 
my $xTixngoAppId = xTixngoAppId_example; # String | 
my $xDeviceId = xDeviceId_example; # String | 

eval {
    $api_instance->spectatorEmailVerifyPost(userAgent => $userAgent, email => $email, code => $code, xTixngoAppId => $xTixngoAppId, xDeviceId => $xDeviceId);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorEmailVerifyPost: $@\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()
userAgent = userAgent_example # String |  (default to null)
email = email_example # String | email of requester (spectator) (default to null)
code = code_example # String |  (default to null)
xTixngoAppId = xTixngoAppId_example # String |  (optional) (default to null)
xDeviceId = xDeviceId_example # String |  (optional) (default to null)

try:
    api_instance.spectator_email_verify_post(userAgent, email, code, xTixngoAppId=xTixngoAppId, xDeviceId=xDeviceId)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorEmailVerifyPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userAgent = userAgent_example; // String
    let email = email_example; // String
    let code = code_example; // String
    let xTixngoAppId = xTixngoAppId_example; // String
    let xDeviceId = xDeviceId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorEmailVerifyPost(userAgent, email, code, xTixngoAppId, xDeviceId, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
email*
String
email of requester (spectator)
Required
Header parameters
Name Description
User-Agent*
String
Required
x-tixngo-app-id
String
x-device-id
String
Query parameters
Name Description
code*
String
Required

Responses


spectatorEventsGet

Get events for mobile sides


/spectator/events

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/events?eventIds="
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.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();
        array[String] eventIds = ; // array[String] | 

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

final api_instance = DefaultApi();

final array[String] eventIds = new array[String](); // array[String] | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[String] *eventIds = ; //  (optional) (default to null)

[apiInstance spectatorEventsGetWith:eventIds
              completionHandler: ^(SpectatorFetchEventResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'eventIds':  // {array[String]} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var eventIds = new array[String](); // array[String] |  (optional)  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$eventIds = ; // array[String] | 

try {
    $result = $api_instance->spectatorEventsGet($eventIds);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorEventsGet: ', $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 $eventIds = []; # array[String] | 

eval {
    my $result = $api_instance->spectatorEventsGet(eventIds => $eventIds);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorEventsGet: $@\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()
eventIds =  # array[String] |  (optional) (default to null)

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

pub fn main() {
    let eventIds = ; // array[String]

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

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

Scopes

Parameters

Query parameters
Name Description
eventIds
array[String]

Responses


spectatorEventsMetadataGet

Get events for mobile sides


/spectator/events/metadata

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/events/metadata?eventIds="
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.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();
        array[String] eventIds = ; // array[String] | 

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

final api_instance = DefaultApi();

final array[String] eventIds = new array[String](); // array[String] | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            array[SpectatorFetchEventMetadata] result = apiInstance.spectatorEventsMetadataGet(eventIds);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorEventsMetadataGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[String] *eventIds = ; //  (optional) (default to null)

[apiInstance spectatorEventsMetadataGetWith:eventIds
              completionHandler: ^(array[SpectatorFetchEventMetadata] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'eventIds':  // {array[String]} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var eventIds = new array[String](); // array[String] |  (optional)  (default to null)

            try {
                array[SpectatorFetchEventMetadata] result = apiInstance.spectatorEventsMetadataGet(eventIds);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorEventsMetadataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$eventIds = ; // array[String] | 

try {
    $result = $api_instance->spectatorEventsMetadataGet($eventIds);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorEventsMetadataGet: ', $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 $eventIds = []; # array[String] | 

eval {
    my $result = $api_instance->spectatorEventsMetadataGet(eventIds => $eventIds);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorEventsMetadataGet: $@\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()
eventIds =  # array[String] |  (optional) (default to null)

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

pub fn main() {
    let eventIds = ; // array[String]

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

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

Scopes

Parameters

Query parameters
Name Description
eventIds
array[String]

Responses


spectatorNotificationsGet

Get communication logs


/spectator/notifications

Usage and SDK Samples

curl -X GET \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/notifications?from=2013-10-20T19:20:30+01:00&to=2013-10-20T19:20:30+01:00&pageSize=56&nextPageKey=nextPageKey_example"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Date from = 2013-10-20T19:20:30+01:00; // Date | 
        Date to = 2013-10-20T19:20:30+01:00; // Date | 
        Integer pageSize = 56; // Integer | 
        String nextPageKey = nextPageKey_example; // String | 

        try {
            SpectatorNotificationsResponse result = apiInstance.spectatorNotificationsGet(from, to, pageSize, nextPageKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorNotificationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Date from = new Date(); // Date | 
final Date to = new Date(); // Date | 
final Integer pageSize = new Integer(); // Integer | 
final String nextPageKey = new String(); // String | 

try {
    final result = await api_instance.spectatorNotificationsGet(from, to, pageSize, nextPageKey);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->spectatorNotificationsGet: $e\n');
}

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Date from = 2013-10-20T19:20:30+01:00; // Date | 
        Date to = 2013-10-20T19:20:30+01:00; // Date | 
        Integer pageSize = 56; // Integer | 
        String nextPageKey = nextPageKey_example; // String | 

        try {
            SpectatorNotificationsResponse result = apiInstance.spectatorNotificationsGet(from, to, pageSize, nextPageKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorNotificationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Date *from = 2013-10-20T19:20:30+01:00; //  (optional) (default to null)
Date *to = 2013-10-20T19:20:30+01:00; //  (optional) (default to null)
Integer *pageSize = 56; //  (optional) (default to null)
String *nextPageKey = nextPageKey_example; //  (optional) (default to null)

[apiInstance spectatorNotificationsGetWith:from
    to:to
    pageSize:pageSize
    nextPageKey:nextPageKey
              completionHandler: ^(SpectatorNotificationsResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'from': 2013-10-20T19:20:30+01:00, // {Date} 
  'to': 2013-10-20T19:20:30+01:00, // {Date} 
  'pageSize': 56, // {Integer} 
  'nextPageKey': nextPageKey_example // {String} 
};

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

namespace Example
{
    public class spectatorNotificationsGetExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var from = 2013-10-20T19:20:30+01:00;  // Date |  (optional)  (default to null)
            var to = 2013-10-20T19:20:30+01:00;  // Date |  (optional)  (default to null)
            var pageSize = 56;  // Integer |  (optional)  (default to null)
            var nextPageKey = nextPageKey_example;  // String |  (optional)  (default to null)

            try {
                SpectatorNotificationsResponse result = apiInstance.spectatorNotificationsGet(from, to, pageSize, nextPageKey);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorNotificationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$from = 2013-10-20T19:20:30+01:00; // Date | 
$to = 2013-10-20T19:20:30+01:00; // Date | 
$pageSize = 56; // Integer | 
$nextPageKey = nextPageKey_example; // String | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $from = 2013-10-20T19:20:30+01:00; # Date | 
my $to = 2013-10-20T19:20:30+01:00; # Date | 
my $pageSize = 56; # Integer | 
my $nextPageKey = nextPageKey_example; # String | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
from = 2013-10-20T19:20:30+01:00 # Date |  (optional) (default to null)
to = 2013-10-20T19:20:30+01:00 # Date |  (optional) (default to null)
pageSize = 56 # Integer |  (optional) (default to null)
nextPageKey = nextPageKey_example # String |  (optional) (default to null)

try:
    api_response = api_instance.spectator_notifications_get(from=from, to=to, pageSize=pageSize, nextPageKey=nextPageKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorNotificationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let from = 2013-10-20T19:20:30+01:00; // Date
    let to = 2013-10-20T19:20:30+01:00; // Date
    let pageSize = 56; // Integer
    let nextPageKey = nextPageKey_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorNotificationsGet(from, to, pageSize, nextPageKey, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
from
Date (date-time)
to
Date (date-time)
pageSize
Integer
nextPageKey
String

Responses


spectatorPingInfoGet

Ping and get some infos


/spectator/ping/info

Usage and SDK Samples

curl -X GET \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/ping/info"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

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

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

final api_instance = DefaultApi();


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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorPingInfo result = apiInstance.spectatorPingInfoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorPingInfoGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


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

[apiInstance spectatorPingInfoGetWithCompletionHandler: 
              ^(V4SpectatorPingInfo output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

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

namespace Example
{
    public class spectatorPingInfoGetExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

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

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

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

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

pub fn main() {

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

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

Scopes

Parameters

Responses


spectatorProfileConfirmationDelete

Anonymize spectator profile and related data


/spectator/profile/confirmation

Usage and SDK Samples

curl -X DELETE \
 "https://api.tixngo.io/prod/v4.0/spectator/profile/confirmation?deletionToken=deletionToken_example"
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.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();
        String deletionToken = deletionToken_example; // String | 

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

final api_instance = DefaultApi();

final String deletionToken = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            apiInstance.spectatorProfileConfirmationDelete(deletionToken);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorProfileConfirmationDelete");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *deletionToken = deletionToken_example; //  (optional) (default to null)

[apiInstance spectatorProfileConfirmationDeleteWith:deletionToken
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'deletionToken': deletionToken_example // {String} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var deletionToken = deletionToken_example;  // String |  (optional)  (default to null)

            try {
                apiInstance.spectatorProfileConfirmationDelete(deletionToken);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorProfileConfirmationDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $api_instance->spectatorProfileConfirmationDelete($deletionToken);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorProfileConfirmationDelete: ', $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 $deletionToken = deletionToken_example; # String | 

eval {
    $api_instance->spectatorProfileConfirmationDelete(deletionToken => $deletionToken);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorProfileConfirmationDelete: $@\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()
deletionToken = deletionToken_example # String |  (optional) (default to null)

try:
    api_instance.spectator_profile_confirmation_delete(deletionToken=deletionToken)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorProfileConfirmationDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let deletionToken = deletionToken_example; // String

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

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

Scopes

Parameters

Query parameters
Name Description
deletionToken
String

Responses


spectatorProfileDelete

Anonymize spectator profile and related data


/spectator/profile

Usage and SDK Samples

curl -X DELETE \
-H "Authorization: [[apiKey]]" \
 "https://api.tixngo.io/prod/v4.0/spectator/profile"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String userAgent = userAgent_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 

        try {
            apiInstance.spectatorProfileDelete(userAgent, xTixngoAppId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorProfileDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String userAgent = new String(); // String | 
final String xTixngoAppId = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userAgent = userAgent_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 

        try {
            apiInstance.spectatorProfileDelete(userAgent, xTixngoAppId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorProfileDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *userAgent = userAgent_example; //  (default to null)
String *xTixngoAppId = xTixngoAppId_example; //  (optional) (default to null)

[apiInstance spectatorProfileDeleteWith:userAgent
    xTixngoAppId:xTixngoAppId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var userAgent = userAgent_example; // {String} 
var opts = {
  'xTixngoAppId': xTixngoAppId_example // {String} 
};

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

namespace Example
{
    public class spectatorProfileDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userAgent = userAgent_example;  // String |  (default to null)
            var xTixngoAppId = xTixngoAppId_example;  // String |  (optional)  (default to null)

            try {
                apiInstance.spectatorProfileDelete(userAgent, xTixngoAppId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorProfileDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userAgent = userAgent_example; // String | 
$xTixngoAppId = xTixngoAppId_example; // String | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userAgent = userAgent_example; # String | 
my $xTixngoAppId = xTixngoAppId_example; # String | 

eval {
    $api_instance->spectatorProfileDelete(userAgent => $userAgent, xTixngoAppId => $xTixngoAppId);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorProfileDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userAgent = userAgent_example # String |  (default to null)
xTixngoAppId = xTixngoAppId_example # String |  (optional) (default to null)

try:
    api_instance.spectator_profile_delete(userAgent, xTixngoAppId=xTixngoAppId)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorProfileDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userAgent = userAgent_example; // String
    let xTixngoAppId = xTixngoAppId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorProfileDelete(userAgent, xTixngoAppId, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
User-Agent*
String
Required
x-tixngo-app-id
String

Responses


spectatorSecuritytokenDelete

Invalidate the given token. Call must be send on logout


/spectator/securitytoken

Usage and SDK Samples

curl -X DELETE \
-H "Authorization: [[apiKey]]" \
 "https://api.tixngo.io/prod/v4.0/spectator/securitytoken"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 

        try {
            apiInstance.spectatorSecuritytokenDelete(xSecurityToken, userAgent, xTixngoAppId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorSecuritytokenDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String xSecurityToken = new String(); // String | the token to invalidate
final String userAgent = new String(); // String | 
final String xTixngoAppId = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 
        String xTixngoAppId = xTixngoAppId_example; // String | 

        try {
            apiInstance.spectatorSecuritytokenDelete(xSecurityToken, userAgent, xTixngoAppId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorSecuritytokenDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *xSecurityToken = xSecurityToken_example; // the token to invalidate (default to null)
String *userAgent = userAgent_example; //  (default to null)
String *xTixngoAppId = xTixngoAppId_example; //  (optional) (default to null)

[apiInstance spectatorSecuritytokenDeleteWith:xSecurityToken
    userAgent:userAgent
    xTixngoAppId:xTixngoAppId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var xSecurityToken = xSecurityToken_example; // {String} the token to invalidate
var userAgent = userAgent_example; // {String} 
var opts = {
  'xTixngoAppId': xTixngoAppId_example // {String} 
};

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

namespace Example
{
    public class spectatorSecuritytokenDeleteExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var xSecurityToken = xSecurityToken_example;  // String | the token to invalidate (default to null)
            var userAgent = userAgent_example;  // String |  (default to null)
            var xTixngoAppId = xTixngoAppId_example;  // String |  (optional)  (default to null)

            try {
                apiInstance.spectatorSecuritytokenDelete(xSecurityToken, userAgent, xTixngoAppId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorSecuritytokenDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$xSecurityToken = xSecurityToken_example; // String | the token to invalidate
$userAgent = userAgent_example; // String | 
$xTixngoAppId = xTixngoAppId_example; // String | 

try {
    $api_instance->spectatorSecuritytokenDelete($xSecurityToken, $userAgent, $xTixngoAppId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorSecuritytokenDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $xSecurityToken = xSecurityToken_example; # String | the token to invalidate
my $userAgent = userAgent_example; # String | 
my $xTixngoAppId = xTixngoAppId_example; # String | 

eval {
    $api_instance->spectatorSecuritytokenDelete(xSecurityToken => $xSecurityToken, userAgent => $userAgent, xTixngoAppId => $xTixngoAppId);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorSecuritytokenDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
xSecurityToken = xSecurityToken_example # String | the token to invalidate (default to null)
userAgent = userAgent_example # String |  (default to null)
xTixngoAppId = xTixngoAppId_example # String |  (optional) (default to null)

try:
    api_instance.spectator_securitytoken_delete(xSecurityToken, userAgent, xTixngoAppId=xTixngoAppId)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorSecuritytokenDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let xSecurityToken = xSecurityToken_example; // String
    let userAgent = userAgent_example; // String
    let xTixngoAppId = xTixngoAppId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorSecuritytokenDelete(xSecurityToken, userAgent, xTixngoAppId, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
x-security-token*
String
the token to invalidate
Required
User-Agent*
String
Required
x-tixngo-app-id
String

Responses


spectatorTicketsActivationsPost


/spectator/tickets/activations

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/activations" \
 -d '{
  "activations" : [ {
    "tickets" : [ {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "method" : "manual",
    "beaconName" : "beaconName"
  }, {
    "tickets" : [ {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "method" : "manual",
    "beaconName" : "beaconName"
  }, {
    "tickets" : [ {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "method" : "manual",
    "beaconName" : "beaconName"
  }, {
    "tickets" : [ {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "method" : "manual",
    "beaconName" : "beaconName"
  }, {
    "tickets" : [ {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "pin" : "pin",
      "ticketId" : "ticketId",
      "timestamp" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "method" : "manual",
    "beaconName" : "beaconName"
  } ]
}'
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        V4SpectatorTicketActivationRequest v4SpectatorTicketActivationRequest = ; // V4SpectatorTicketActivationRequest | 
        String userAgent = userAgent_example; // String | 

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

final api_instance = DefaultApi();

final V4SpectatorTicketActivationRequest v4SpectatorTicketActivationRequest = new V4SpectatorTicketActivationRequest(); // V4SpectatorTicketActivationRequest | 
final String userAgent = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        V4SpectatorTicketActivationRequest v4SpectatorTicketActivationRequest = ; // V4SpectatorTicketActivationRequest | 
        String userAgent = userAgent_example; // String | 

        try {
            V4SpectatorTicketResponse result = apiInstance.spectatorTicketsActivationsPost(v4SpectatorTicketActivationRequest, userAgent);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsActivationsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V4SpectatorTicketActivationRequest *v4SpectatorTicketActivationRequest = ; // 
String *userAgent = userAgent_example; //  (optional) (default to null)

[apiInstance spectatorTicketsActivationsPostWith:v4SpectatorTicketActivationRequest
    userAgent:userAgent
              completionHandler: ^(V4SpectatorTicketResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var v4SpectatorTicketActivationRequest = ; // {V4SpectatorTicketActivationRequest} 
var opts = {
  'userAgent': userAgent_example // {String} 
};

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

namespace Example
{
    public class spectatorTicketsActivationsPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var v4SpectatorTicketActivationRequest = new V4SpectatorTicketActivationRequest(); // V4SpectatorTicketActivationRequest | 
            var userAgent = userAgent_example;  // String |  (optional)  (default to null)

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$v4SpectatorTicketActivationRequest = ; // V4SpectatorTicketActivationRequest | 
$userAgent = userAgent_example; // String | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $v4SpectatorTicketActivationRequest = WWW::OPenAPIClient::Object::V4SpectatorTicketActivationRequest->new(); # V4SpectatorTicketActivationRequest | 
my $userAgent = userAgent_example; # String | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v4SpectatorTicketActivationRequest =  # V4SpectatorTicketActivationRequest | 
userAgent = userAgent_example # String |  (optional) (default to null)

try:
    api_response = api_instance.spectator_tickets_activations_post(v4SpectatorTicketActivationRequest, userAgent=userAgent)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTicketsActivationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let v4SpectatorTicketActivationRequest = ; // V4SpectatorTicketActivationRequest
    let userAgent = userAgent_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorTicketsActivationsPost(v4SpectatorTicketActivationRequest, userAgent, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
User-Agent
String
Body parameters
Name Description
v4SpectatorTicketActivationRequest *

Responses


spectatorTicketsDeactivationsPost


/spectator/tickets/deactivations

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/deactivations" \
 -d '{
  "deactivations" : [ {
    "pin" : "pin",
    "ticketId" : "ticketId",
    "timestamp" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "pin" : "pin",
    "ticketId" : "ticketId",
    "timestamp" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "pin" : "pin",
    "ticketId" : "ticketId",
    "timestamp" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "pin" : "pin",
    "ticketId" : "ticketId",
    "timestamp" : "2000-01-23T04:56:07.000+00:00"
  }, {
    "pin" : "pin",
    "ticketId" : "ticketId",
    "timestamp" : "2000-01-23T04:56:07.000+00: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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        V4SpectatorTicketDeactivationRequest v4SpectatorTicketDeactivationRequest = ; // V4SpectatorTicketDeactivationRequest | 
        String userAgent = userAgent_example; // String | 

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

final api_instance = DefaultApi();

final V4SpectatorTicketDeactivationRequest v4SpectatorTicketDeactivationRequest = new V4SpectatorTicketDeactivationRequest(); // V4SpectatorTicketDeactivationRequest | 
final String userAgent = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        V4SpectatorTicketDeactivationRequest v4SpectatorTicketDeactivationRequest = ; // V4SpectatorTicketDeactivationRequest | 
        String userAgent = userAgent_example; // String | 

        try {
            V4SpectatorTicketResponse result = apiInstance.spectatorTicketsDeactivationsPost(v4SpectatorTicketDeactivationRequest, userAgent);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsDeactivationsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V4SpectatorTicketDeactivationRequest *v4SpectatorTicketDeactivationRequest = ; // 
String *userAgent = userAgent_example; //  (optional) (default to null)

[apiInstance spectatorTicketsDeactivationsPostWith:v4SpectatorTicketDeactivationRequest
    userAgent:userAgent
              completionHandler: ^(V4SpectatorTicketResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var v4SpectatorTicketDeactivationRequest = ; // {V4SpectatorTicketDeactivationRequest} 
var opts = {
  'userAgent': userAgent_example // {String} 
};

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

namespace Example
{
    public class spectatorTicketsDeactivationsPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var v4SpectatorTicketDeactivationRequest = new V4SpectatorTicketDeactivationRequest(); // V4SpectatorTicketDeactivationRequest | 
            var userAgent = userAgent_example;  // String |  (optional)  (default to null)

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$v4SpectatorTicketDeactivationRequest = ; // V4SpectatorTicketDeactivationRequest | 
$userAgent = userAgent_example; // String | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $v4SpectatorTicketDeactivationRequest = WWW::OPenAPIClient::Object::V4SpectatorTicketDeactivationRequest->new(); # V4SpectatorTicketDeactivationRequest | 
my $userAgent = userAgent_example; # String | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v4SpectatorTicketDeactivationRequest =  # V4SpectatorTicketDeactivationRequest | 
userAgent = userAgent_example # String |  (optional) (default to null)

try:
    api_response = api_instance.spectator_tickets_deactivations_post(v4SpectatorTicketDeactivationRequest, userAgent=userAgent)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTicketsDeactivationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let v4SpectatorTicketDeactivationRequest = ; // V4SpectatorTicketDeactivationRequest
    let userAgent = userAgent_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorTicketsDeactivationsPost(v4SpectatorTicketDeactivationRequest, userAgent, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
User-Agent
String
Body parameters
Name Description
v4SpectatorTicketDeactivationRequest *

Responses


spectatorTicketsDeletedGet

Get all deleted tickets by spectator


/spectator/tickets/deleted

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/deleted"
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.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();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 

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

final api_instance = DefaultApi();

final String xSecurityToken = new String(); // String | the token to invalidate
final String userAgent = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 

        try {
            V4SpectatorExpiredTickets result = apiInstance.spectatorTicketsDeletedGet(xSecurityToken, userAgent);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsDeletedGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *xSecurityToken = xSecurityToken_example; // the token to invalidate (default to null)
String *userAgent = userAgent_example; //  (default to null)

[apiInstance spectatorTicketsDeletedGetWith:xSecurityToken
    userAgent:userAgent
              completionHandler: ^(V4SpectatorExpiredTickets output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var xSecurityToken = xSecurityToken_example; // {String} the token to invalidate
var userAgent = userAgent_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var xSecurityToken = xSecurityToken_example;  // String | the token to invalidate (default to null)
            var userAgent = userAgent_example;  // String |  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$xSecurityToken = xSecurityToken_example; // String | the token to invalidate
$userAgent = userAgent_example; // String | 

try {
    $result = $api_instance->spectatorTicketsDeletedGet($xSecurityToken, $userAgent);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorTicketsDeletedGet: ', $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 $xSecurityToken = xSecurityToken_example; # String | the token to invalidate
my $userAgent = userAgent_example; # String | 

eval {
    my $result = $api_instance->spectatorTicketsDeletedGet(xSecurityToken => $xSecurityToken, userAgent => $userAgent);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorTicketsDeletedGet: $@\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()
xSecurityToken = xSecurityToken_example # String | the token to invalidate (default to null)
userAgent = userAgent_example # String |  (default to null)

try:
    api_response = api_instance.spectator_tickets_deleted_get(xSecurityToken, userAgent)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTicketsDeletedGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let xSecurityToken = xSecurityToken_example; // String
    let userAgent = userAgent_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorTicketsDeletedGet(xSecurityToken, userAgent, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
x-security-token*
String
the token to invalidate
Required
User-Agent*
String
Required

Responses


spectatorTicketsHoldersPut

Assign the list of ticket


/spectator/tickets/holders

Usage and SDK Samples

curl -X PUT \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/holders" \
 -d '{
  "keptByOwner" : false,
  "ticketHolder" : {
    "key" : "ticketHolder"
  },
  "ticketId" : "ticketId"
}'
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[SpectatorTicketsHoldersPutRequestEntry] spectatorTicketsHoldersPutRequestEntry = ; // array[SpectatorTicketsHoldersPutRequestEntry] | 

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

final api_instance = DefaultApi();

final array[SpectatorTicketsHoldersPutRequestEntry] spectatorTicketsHoldersPutRequestEntry = new array[SpectatorTicketsHoldersPutRequestEntry](); // array[SpectatorTicketsHoldersPutRequestEntry] | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[SpectatorTicketsHoldersPutRequestEntry] spectatorTicketsHoldersPutRequestEntry = ; // array[SpectatorTicketsHoldersPutRequestEntry] | 

        try {
            SpectatorTicketsHoldersPutResponse result = apiInstance.spectatorTicketsHoldersPut(spectatorTicketsHoldersPutRequestEntry);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsHoldersPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[SpectatorTicketsHoldersPutRequestEntry] *spectatorTicketsHoldersPutRequestEntry = ; //  (optional)

[apiInstance spectatorTicketsHoldersPutWith:spectatorTicketsHoldersPutRequestEntry
              completionHandler: ^(SpectatorTicketsHoldersPutResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'spectatorTicketsHoldersPutRequestEntry':  // {array[SpectatorTicketsHoldersPutRequestEntry]} 
};

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

namespace Example
{
    public class spectatorTicketsHoldersPutExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var spectatorTicketsHoldersPutRequestEntry = new array[SpectatorTicketsHoldersPutRequestEntry](); // array[SpectatorTicketsHoldersPutRequestEntry] |  (optional) 

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$spectatorTicketsHoldersPutRequestEntry = ; // array[SpectatorTicketsHoldersPutRequestEntry] | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $spectatorTicketsHoldersPutRequestEntry = [WWW::OPenAPIClient::Object::array[SpectatorTicketsHoldersPutRequestEntry]->new()]; # array[SpectatorTicketsHoldersPutRequestEntry] | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
spectatorTicketsHoldersPutRequestEntry =  # array[SpectatorTicketsHoldersPutRequestEntry] |  (optional)

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

pub fn main() {
    let spectatorTicketsHoldersPutRequestEntry = ; // array[SpectatorTicketsHoldersPutRequestEntry]

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

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

Scopes

Parameters

Body parameters
Name Description
spectatorTicketsHoldersPutRequestEntry

Responses


spectatorTicketsPastGet

Get all past tickets by spectator


/spectator/tickets/past

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/past"
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.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();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 

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

final api_instance = DefaultApi();

final String xSecurityToken = new String(); // String | the token to invalidate
final String userAgent = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String xSecurityToken = xSecurityToken_example; // String | the token to invalidate
        String userAgent = userAgent_example; // String | 

        try {
            V4SpectatorExpiredTickets result = apiInstance.spectatorTicketsPastGet(xSecurityToken, userAgent);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsPastGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *xSecurityToken = xSecurityToken_example; // the token to invalidate (default to null)
String *userAgent = userAgent_example; //  (default to null)

[apiInstance spectatorTicketsPastGetWith:xSecurityToken
    userAgent:userAgent
              completionHandler: ^(V4SpectatorExpiredTickets output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var xSecurityToken = xSecurityToken_example; // {String} the token to invalidate
var userAgent = userAgent_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var xSecurityToken = xSecurityToken_example;  // String | the token to invalidate (default to null)
            var userAgent = userAgent_example;  // String |  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$xSecurityToken = xSecurityToken_example; // String | the token to invalidate
$userAgent = userAgent_example; // String | 

try {
    $result = $api_instance->spectatorTicketsPastGet($xSecurityToken, $userAgent);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->spectatorTicketsPastGet: ', $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 $xSecurityToken = xSecurityToken_example; # String | the token to invalidate
my $userAgent = userAgent_example; # String | 

eval {
    my $result = $api_instance->spectatorTicketsPastGet(xSecurityToken => $xSecurityToken, userAgent => $userAgent);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->spectatorTicketsPastGet: $@\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()
xSecurityToken = xSecurityToken_example # String | the token to invalidate (default to null)
userAgent = userAgent_example # String |  (default to null)

try:
    api_response = api_instance.spectator_tickets_past_get(xSecurityToken, userAgent)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTicketsPastGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let xSecurityToken = xSecurityToken_example; // String
    let userAgent = userAgent_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorTicketsPastGet(xSecurityToken, userAgent, &context).wait();

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

Scopes

Parameters

Header parameters
Name Description
x-security-token*
String
the token to invalidate
Required
User-Agent*
String
Required

Responses


spectatorTicketsPost

Incremental synchronize tickets between mobile and backend


/spectator/tickets

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets" \
 -d ''
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        map[String, Integer] requestBody = ; // map[String, Integer] | 

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

final api_instance = DefaultApi();

final map[String, Integer] requestBody = new map[String, Integer](); // map[String, Integer] | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        map[String, Integer] requestBody = ; // map[String, Integer] | 

        try {
            SpectatorIncrementalSyncResponse result = apiInstance.spectatorTicketsPost(requestBody);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
map[String, Integer] *requestBody = ; //  (optional)

[apiInstance spectatorTicketsPostWith:requestBody
              completionHandler: ^(SpectatorIncrementalSyncResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'requestBody':  // {map[String, Integer]} 
};

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

namespace Example
{
    public class spectatorTicketsPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var requestBody = new map[String, Integer](); // map[String, Integer] |  (optional) 

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$requestBody = ; // map[String, Integer] | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $requestBody = WWW::OPenAPIClient::Object::map[String, Integer]->new(); # map[String, Integer] | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
requestBody =  # map[String, Integer] |  (optional)

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

pub fn main() {
    let requestBody = ; // map[String, Integer]

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

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

Scopes

Parameters

Body parameters
Name Description
requestBody

Responses


spectatorTicketsTicketIdPost

Spectator fetch ticket by ticket id


/spectator/tickets/{ticketId}

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/tickets/{ticketId}"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String ticketId = ticketId_example; // String | 

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

final api_instance = DefaultApi();

final String ticketId = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorFetchTicketData result = apiInstance.spectatorTicketsTicketIdPost(ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTicketsTicketIdPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *ticketId = ticketId_example; //  (default to null)

[apiInstance spectatorTicketsTicketIdPostWith:ticketId
              completionHandler: ^(V4SpectatorFetchTicketData output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var ticketId = ticketId_example; // {String} 

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

namespace Example
{
    public class spectatorTicketsTicketIdPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var ticketId = ticketId_example;  // String |  (default to null)

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
ticketId = ticketId_example # String |  (default to null)

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

pub fn main() {
    let ticketId = ticketId_example; // String

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

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

Scopes

Parameters

Path parameters
Name Description
ticketId*
String
Required

Responses


spectatorTransfersHistoryGet

Get ticket transfer history by ownerId


/spectator/transfers/history

Usage and SDK Samples

curl -X GET \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers/history?direction=direction_example&limit=56&nextPageKey=nextPageKey_example"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String direction = direction_example; // String | 
        Integer limit = 56; // Integer | 
        String nextPageKey = nextPageKey_example; // String | 

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

final api_instance = DefaultApi();

final String direction = new String(); // String | 
final Integer limit = new Integer(); // Integer | 
final String nextPageKey = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String direction = direction_example; // String | 
        Integer limit = 56; // Integer | 
        String nextPageKey = nextPageKey_example; // String | 

        try {
            V4SpectatorTransferHistoryResponse result = apiInstance.spectatorTransfersHistoryGet(direction, limit, nextPageKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersHistoryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *direction = direction_example; //  (default to all)
Integer *limit = 56; //  (optional) (default to null)
String *nextPageKey = nextPageKey_example; //  (optional) (default to null)

[apiInstance spectatorTransfersHistoryGetWith:direction
    limit:limit
    nextPageKey:nextPageKey
              completionHandler: ^(V4SpectatorTransferHistoryResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var direction = direction_example; // {String} 
var opts = {
  'limit': 56, // {Integer} 
  'nextPageKey': nextPageKey_example // {String} 
};

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

namespace Example
{
    public class spectatorTransfersHistoryGetExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var direction = direction_example;  // String |  (default to all)
            var limit = 56;  // Integer |  (optional)  (default to null)
            var nextPageKey = nextPageKey_example;  // String |  (optional)  (default to null)

            try {
                V4SpectatorTransferHistoryResponse result = apiInstance.spectatorTransfersHistoryGet(direction, limit, nextPageKey);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorTransfersHistoryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$direction = direction_example; // String | 
$limit = 56; // Integer | 
$nextPageKey = nextPageKey_example; // String | 

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $direction = direction_example; # String | 
my $limit = 56; # Integer | 
my $nextPageKey = nextPageKey_example; # String | 

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
direction = direction_example # String |  (default to all)
limit = 56 # Integer |  (optional) (default to null)
nextPageKey = nextPageKey_example # String |  (optional) (default to null)

try:
    api_response = api_instance.spectator_transfers_history_get(direction, limit=limit, nextPageKey=nextPageKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTransfersHistoryGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let direction = direction_example; // String
    let limit = 56; // Integer
    let nextPageKey = nextPageKey_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.spectatorTransfersHistoryGet(direction, limit, nextPageKey, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
direction*
String
Required
limit
Integer
nextPageKey
String

Responses


spectatorTransfersPatch

Accept/reject transfers.


/spectator/transfers

Usage and SDK Samples

curl -X PATCH \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers" \
 -d '{
  "endType" : "ACCEPT",
  "transferKeys" : [ "transferKeys", "transferKeys" ]
}'
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

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

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

final api_instance = DefaultApi();

final V4SpectatorEndTransferRequest v4SpectatorEndTransferRequest = new V4SpectatorEndTransferRequest(); // V4SpectatorEndTransferRequest | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorEndTransferResponse result = apiInstance.spectatorTransfersPatch(v4SpectatorEndTransferRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V4SpectatorEndTransferRequest *v4SpectatorEndTransferRequest = ; //  (optional)

[apiInstance spectatorTransfersPatchWith:v4SpectatorEndTransferRequest
              completionHandler: ^(V4SpectatorEndTransferResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'v4SpectatorEndTransferRequest':  // {V4SpectatorEndTransferRequest} 
};

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

namespace Example
{
    public class spectatorTransfersPatchExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

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

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v4SpectatorEndTransferRequest =  # V4SpectatorEndTransferRequest |  (optional)

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

pub fn main() {
    let v4SpectatorEndTransferRequest = ; // V4SpectatorEndTransferRequest

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

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

Scopes

Parameters

Body parameters
Name Description
v4SpectatorEndTransferRequest

Responses


spectatorTransfersPendingGet

Get pending transfer ticket by ownerId


/spectator/transfers/pending

Usage and SDK Samples

curl -X GET \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers/pending?direction=direction_example"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String direction = direction_example; // String | 

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

final api_instance = DefaultApi();

final String direction = new String(); // String | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorGetPendingTransferResponse result = apiInstance.spectatorTransfersPendingGet(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersPendingGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *direction = direction_example; //  (default to all)

[apiInstance spectatorTransfersPendingGetWith:direction
              completionHandler: ^(V4SpectatorGetPendingTransferResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var direction = direction_example; // {String} 

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

namespace Example
{
    public class spectatorTransfersPendingGetExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var direction = direction_example;  // String |  (default to all)

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
direction = direction_example # String |  (default to all)

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

pub fn main() {
    let direction = direction_example; // String

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

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

Scopes

Parameters

Query parameters
Name Description
direction*
String
Required

Responses


spectatorTransfersPost

Create transfers. Can only be used by the owner of the ticket.


/spectator/transfers

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers" \
 -d '{
  "lang" : "lang",
  "recipientEmail" : "recipientEmail",
  "ticketIds" : [ "ticketIds", "ticketIds" ],
  "transferMessage" : "transferMessage"
}'
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

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

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

final api_instance = DefaultApi();

final V4SpectatorCreateTransferRequest v4SpectatorCreateTransferRequest = new V4SpectatorCreateTransferRequest(); // V4SpectatorCreateTransferRequest | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorCreateTransferResponse result = apiInstance.spectatorTransfersPost(v4SpectatorCreateTransferRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V4SpectatorCreateTransferRequest *v4SpectatorCreateTransferRequest = ; //  (optional)

[apiInstance spectatorTransfersPostWith:v4SpectatorCreateTransferRequest
              completionHandler: ^(V4SpectatorCreateTransferResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'v4SpectatorCreateTransferRequest':  // {V4SpectatorCreateTransferRequest} 
};

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

namespace Example
{
    public class spectatorTransfersPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

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

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v4SpectatorCreateTransferRequest =  # V4SpectatorCreateTransferRequest |  (optional)

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

pub fn main() {
    let v4SpectatorCreateTransferRequest = ; // V4SpectatorCreateTransferRequest

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

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

Scopes

Parameters

Body parameters
Name Description
v4SpectatorCreateTransferRequest

Responses


spectatorTransfersPut

Edit recipient of transfers. Can only be used by the owner of the ticket.


/spectator/transfers

Usage and SDK Samples

curl -X PUT \
-H "Authorization: [[apiKey]]" \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers" \
 -d '{
  "transferKeys" : [ "transferKeys", "transferKeys" ],
  "newRecipientEmail" : "newRecipientEmail"
}'
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

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

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

final api_instance = DefaultApi();

final V4SpectatorUpdateTransferRequest v4SpectatorUpdateTransferRequest = new V4SpectatorUpdateTransferRequest(); // V4SpectatorUpdateTransferRequest | 

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

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

        try {
            V4SpectatorUpdateTransferResponse result = apiInstance.spectatorTransfersPut(v4SpectatorUpdateTransferRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V4SpectatorUpdateTransferRequest *v4SpectatorUpdateTransferRequest = ; //  (optional)

[apiInstance spectatorTransfersPutWith:v4SpectatorUpdateTransferRequest
              completionHandler: ^(V4SpectatorUpdateTransferResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var opts = {
  'v4SpectatorUpdateTransferRequest':  // {V4SpectatorUpdateTransferRequest} 
};

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

namespace Example
{
    public class spectatorTransfersPutExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

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

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

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

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

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

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

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v4SpectatorUpdateTransferRequest =  # V4SpectatorUpdateTransferRequest |  (optional)

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

pub fn main() {
    let v4SpectatorUpdateTransferRequest = ; // V4SpectatorUpdateTransferRequest

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

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

Scopes

Parameters

Body parameters
Name Description
v4SpectatorUpdateTransferRequest

Responses


spectatorTransfersTicketIdReturnPost

Return ticket by ticket id


/spectator/transfers/{ticketId}/return

Usage and SDK Samples

curl -X POST \
-H "Authorization: [[apiKey]]" \
 "https://api.tixngo.io/prod/v4.0/spectator/transfers/{ticketId}/return"
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.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: tyxr-security-token
        ApiKeyAuth tyxr-security-token = (ApiKeyAuth) defaultClient.getAuthentication("tyxr-security-token");
        tyxr-security-token.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //tyxr-security-token.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String ticketId = ticketId_example; // String | technical Id of the ticket

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

final api_instance = DefaultApi();

final String ticketId = new String(); // String | technical Id of the ticket

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

import com.secutix.tixngo.v4.0.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String ticketId = ticketId_example; // String | technical Id of the ticket

        try {
            apiInstance.spectatorTransfersTicketIdReturnPost(ticketId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#spectatorTransfersTicketIdReturnPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: tyxr-security-token)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *ticketId = ticketId_example; // technical Id of the ticket (default to null)

[apiInstance spectatorTransfersTicketIdReturnPostWith:ticketId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiBackendSpectatorApi = require('tixngo_rest_api_backend_spectator_api');
var defaultClient = TixngoRestApiBackendSpectatorApi.ApiClient.instance;

// Configure API key authorization: tyxr-security-token
var tyxr-security-token = defaultClient.authentications['tyxr-security-token'];
tyxr-security-token.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tyxr-security-token.apiKeyPrefix['Authorization'] = "Token";

// Create an instance of the API class
var api = new TixngoRestApiBackendSpectatorApi.DefaultApi()
var ticketId = ticketId_example; // {String} technical Id of the ticket

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

namespace Example
{
    public class spectatorTransfersTicketIdReturnPostExample
    {
        public void main()
        {
            // Configure API key authorization: tyxr-security-token
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var ticketId = ticketId_example;  // String | technical Id of the ticket (default to null)

            try {
                apiInstance.spectatorTransfersTicketIdReturnPost(ticketId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.spectatorTransfersTicketIdReturnPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: tyxr-security-token
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$ticketId = ticketId_example; // String | technical Id of the ticket

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

# Configure API key authorization: tyxr-security-token
$WWW::OPenAPIClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $ticketId = ticketId_example; # String | technical Id of the ticket

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

# Configure API key authorization: tyxr-security-token
openapi_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
ticketId = ticketId_example # String | technical Id of the ticket (default to null)

try:
    api_instance.spectator_transfers_ticket_id_return_post(ticketId)
except ApiException as e:
    print("Exception when calling DefaultApi->spectatorTransfersTicketIdReturnPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let ticketId = ticketId_example; // String

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

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

Scopes

Parameters

Path parameters
Name Description
ticketId*
String
technical Id of the ticket
Required

Responses