TIXNGO REST API tpw-connector-api

WalletConnector

passesApplePost

add the gwallet integration status in our system


/passes/apple

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/vnd.apple.pkpass" \
 -H "Content-Type: application/json" \
 "http://localhost/passes/apple" \
 -d '{
  "eventId" : "eventId",
  "organizationName" : "organizationName",
  "deeplink" : "deeplink",
  "description" : "description",
  "spectatorId" : "spectatorId",
  "passIdentifier" : "passIdentifier",
  "deviceId" : "deviceId",
  "seat" : "seat",
  "organizerId" : "organizerId",
  "eventName" : "eventName",
  "block" : "block",
  "gate" : "gate",
  "row" : "row",
  "teamIdentifier" : "teamIdentifier",
  "barcode" : "barcode",
  "ticketId" : "ticketId",
  "eventDate" : "eventDate"
}'
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        ApplePassRequest applePassRequest = ; // ApplePassRequest | 

        try {
            byte[] result = apiInstance.passesApplePost(applePassRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesApplePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ApplePassRequest applePassRequest = new ApplePassRequest(); // ApplePassRequest | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        ApplePassRequest applePassRequest = ; // ApplePassRequest | 

        try {
            byte[] result = apiInstance.passesApplePost(applePassRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesApplePost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
ApplePassRequest *applePassRequest = ; //  (optional)

[apiInstance passesApplePostWith:applePassRequest
              completionHandler: ^(byte[] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var opts = {
  'applePassRequest':  // {ApplePassRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var applePassRequest = new ApplePassRequest(); // ApplePassRequest |  (optional) 

            try {
                byte[] result = apiInstance.passesApplePost(applePassRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling WalletConnectorApi.passesApplePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$applePassRequest = ; // ApplePassRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $applePassRequest = WWW::OPenAPIClient::Object::ApplePassRequest->new(); # ApplePassRequest | 

eval {
    my $result = $api_instance->passesApplePost(applePassRequest => $applePassRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesApplePost: $@\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.WalletConnectorApi()
applePassRequest =  # ApplePassRequest |  (optional)

try:
    api_response = api_instance.passes_apple_post(applePassRequest=applePassRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesApplePost: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let applePassRequest = ; // ApplePassRequest

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesApplePost(applePassRequest, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
applePassRequest

Responses

Name Type Format Description
Content-Disposition File binary pkpass files

passesBatchQueryPost

query the integrating status of the tickets


/passes/batch-query

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost/passes/batch-query" \
 -d '{
  "ticketIds" : [ "ticketIds", "ticketIds" ]
}'
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        WalletPassesBatchQuery walletPassesBatchQuery = ; // WalletPassesBatchQuery | 

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

final api_instance = DefaultApi();

final WalletPassesBatchQuery walletPassesBatchQuery = new WalletPassesBatchQuery(); // WalletPassesBatchQuery | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        WalletPassesBatchQuery walletPassesBatchQuery = ; // WalletPassesBatchQuery | 

        try {
            WalletPassesQueryResponse result = apiInstance.passesBatchQueryPost(walletPassesBatchQuery);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesBatchQueryPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
WalletPassesBatchQuery *walletPassesBatchQuery = ; //  (optional)

[apiInstance passesBatchQueryPostWith:walletPassesBatchQuery
              completionHandler: ^(WalletPassesQueryResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var opts = {
  'walletPassesBatchQuery':  // {WalletPassesBatchQuery} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var walletPassesBatchQuery = new WalletPassesBatchQuery(); // WalletPassesBatchQuery |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$walletPassesBatchQuery = ; // WalletPassesBatchQuery | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $walletPassesBatchQuery = WWW::OPenAPIClient::Object::WalletPassesBatchQuery->new(); # WalletPassesBatchQuery | 

eval {
    my $result = $api_instance->passesBatchQueryPost(walletPassesBatchQuery => $walletPassesBatchQuery);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesBatchQueryPost: $@\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.WalletConnectorApi()
walletPassesBatchQuery =  # WalletPassesBatchQuery |  (optional)

try:
    api_response = api_instance.passes_batch_query_post(walletPassesBatchQuery=walletPassesBatchQuery)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesBatchQueryPost: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let walletPassesBatchQuery = ; // WalletPassesBatchQuery

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesBatchQueryPost(walletPassesBatchQuery, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
walletPassesBatchQuery

Responses


passesEventEventIdPatch

Update passes event details


/passes/event/{eventId}

Usage and SDK Samples

curl -X PATCH \
 -H "Content-Type: application/json" \
 "http://localhost/passes/event/{eventId}" \
 -d '{
  "eventName" : "eventName",
  "passDescription" : "passDescription",
  "eventDate" : "2000-01-23T04:56:07.000+00:00"
}'
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String eventId = eventId_example; // String | 
        EventUpdateRequest eventUpdateRequest = ; // EventUpdateRequest | 

        try {
            apiInstance.passesEventEventIdPatch(eventId, eventUpdateRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesEventEventIdPatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String eventId = new String(); // String | 
final EventUpdateRequest eventUpdateRequest = new EventUpdateRequest(); // EventUpdateRequest | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String eventId = eventId_example; // String | 
        EventUpdateRequest eventUpdateRequest = ; // EventUpdateRequest | 

        try {
            apiInstance.passesEventEventIdPatch(eventId, eventUpdateRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesEventEventIdPatch");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
String *eventId = eventId_example; //  (default to null)
EventUpdateRequest *eventUpdateRequest = ; //  (optional)

[apiInstance passesEventEventIdPatchWith:eventId
    eventUpdateRequest:eventUpdateRequest
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var eventId = eventId_example; // {String} 
var opts = {
  'eventUpdateRequest':  // {EventUpdateRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var eventId = eventId_example;  // String |  (default to null)
            var eventUpdateRequest = new EventUpdateRequest(); // EventUpdateRequest |  (optional) 

            try {
                apiInstance.passesEventEventIdPatch(eventId, eventUpdateRequest);
            } catch (Exception e) {
                Debug.Print("Exception when calling WalletConnectorApi.passesEventEventIdPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$eventId = eventId_example; // String | 
$eventUpdateRequest = ; // EventUpdateRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $eventId = eventId_example; # String | 
my $eventUpdateRequest = WWW::OPenAPIClient::Object::EventUpdateRequest->new(); # EventUpdateRequest | 

eval {
    $api_instance->passesEventEventIdPatch(eventId => $eventId, eventUpdateRequest => $eventUpdateRequest);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesEventEventIdPatch: $@\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.WalletConnectorApi()
eventId = eventId_example # String |  (default to null)
eventUpdateRequest =  # EventUpdateRequest |  (optional)

try:
    api_instance.passes_event_event_id_patch(eventId, eventUpdateRequest=eventUpdateRequest)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesEventEventIdPatch: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let eventId = eventId_example; // String
    let eventUpdateRequest = ; // EventUpdateRequest

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesEventEventIdPatch(eventId, eventUpdateRequest, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
eventId*
String
Required
Body parameters
Name Description
eventUpdateRequest

Responses


passesGooglePost

add the gwallet integration status in our system


/passes/google

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "http://localhost/passes/google" \
 -d '{
  "eventId" : "eventId",
  "organizerId" : "organizerId",
  "payload" : {
    "ticketNumber" : "ticketNumber",
    "linksModuleData" : {
      "uris" : [ {
        "description" : "description",
        "uri" : "uri"
      }, {
        "description" : "description",
        "uri" : "uri"
      } ]
    },
    "classId" : "classId",
    "smartTapRedemptionValue" : "smartTapRedemptionValue",
    "textModulesData" : [ {
      "header" : "header",
      "body" : "body"
    }, {
      "header" : "header",
      "body" : "body"
    } ],
    "id" : "id",
    "state" : "state",
    "seatInfo" : {
      "seat" : {
        "defaultValue" : {
          "language" : "language",
          "value" : "value"
        },
        "translatedValues" : [ {
          "language" : "language",
          "value" : "value"
        }, {
          "language" : "language",
          "value" : "value"
        } ]
      },
      "section" : {
        "defaultValue" : {
          "language" : "language",
          "value" : "value"
        },
        "translatedValues" : [ {
          "language" : "language",
          "value" : "value"
        }, {
          "language" : "language",
          "value" : "value"
        } ]
      },
      "row" : {
        "defaultValue" : {
          "language" : "language",
          "value" : "value"
        },
        "translatedValues" : [ {
          "language" : "language",
          "value" : "value"
        }, {
          "language" : "language",
          "value" : "value"
        } ]
      },
      "gate" : {
        "defaultValue" : {
          "language" : "language",
          "value" : "value"
        },
        "translatedValues" : [ {
          "language" : "language",
          "value" : "value"
        }, {
          "language" : "language",
          "value" : "value"
        } ]
      }
    },
    "barcode" : {
      "renderEncoding" : "renderEncoding",
      "type" : "type",
      "value" : "value"
    },
    "appLinkData" : {
      "androidAppLinkInfo" : {
        "packageName" : "packageName",
        "appTarget" : {
          "targetUri" : {
            "description" : "description",
            "uri" : "uri"
          }
        }
      }
    }
  },
  "spectatorId" : "spectatorId",
  "deviceId" : "deviceId"
}'
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        GWalletPassRequest gWalletPassRequest = ; // GWalletPassRequest | 

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

final api_instance = DefaultApi();

final GWalletPassRequest gWalletPassRequest = new GWalletPassRequest(); // GWalletPassRequest | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        GWalletPassRequest gWalletPassRequest = ; // GWalletPassRequest | 

        try {
            GWalletIntegration result = apiInstance.passesGooglePost(gWalletPassRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesGooglePost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
GWalletPassRequest *gWalletPassRequest = ; //  (optional)

[apiInstance passesGooglePostWith:gWalletPassRequest
              completionHandler: ^(GWalletIntegration output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var opts = {
  'gWalletPassRequest':  // {GWalletPassRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var gWalletPassRequest = new GWalletPassRequest(); // GWalletPassRequest |  (optional) 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$gWalletPassRequest = ; // GWalletPassRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $gWalletPassRequest = WWW::OPenAPIClient::Object::GWalletPassRequest->new(); # GWalletPassRequest | 

eval {
    my $result = $api_instance->passesGooglePost(gWalletPassRequest => $gWalletPassRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesGooglePost: $@\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.WalletConnectorApi()
gWalletPassRequest =  # GWalletPassRequest |  (optional)

try:
    api_response = api_instance.passes_google_post(gWalletPassRequest=gWalletPassRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesGooglePost: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let gWalletPassRequest = ; // GWalletPassRequest

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesGooglePost(gWalletPassRequest, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
gWalletPassRequest

Responses


passesPassIdGet

get current the integrating status of the ticket


/passes/{passId}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "http://localhost/passes/{passId}"
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String passId = passId_example; // String | 
        String xDeviceId = xDeviceId_example; // String | 

        try {
            WalletIntegrateGetResponse result = apiInstance.passesPassIdGet(passId, xDeviceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesPassIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String passId = new String(); // String | 
final String xDeviceId = new String(); // String | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String passId = passId_example; // String | 
        String xDeviceId = xDeviceId_example; // String | 

        try {
            WalletIntegrateGetResponse result = apiInstance.passesPassIdGet(passId, xDeviceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesPassIdGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
String *passId = passId_example; //  (default to null)
String *xDeviceId = xDeviceId_example; //  (default to null)

[apiInstance passesPassIdGetWith:passId
    xDeviceId:xDeviceId
              completionHandler: ^(WalletIntegrateGetResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var passId = passId_example; // {String} 
var xDeviceId = xDeviceId_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var passId = passId_example;  // String |  (default to null)
            var xDeviceId = xDeviceId_example;  // String |  (default to null)

            try {
                WalletIntegrateGetResponse result = apiInstance.passesPassIdGet(passId, xDeviceId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling WalletConnectorApi.passesPassIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$passId = passId_example; // String | 
$xDeviceId = xDeviceId_example; // String | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $passId = passId_example; # String | 
my $xDeviceId = xDeviceId_example; # String | 

eval {
    my $result = $api_instance->passesPassIdGet(passId => $passId, xDeviceId => $xDeviceId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesPassIdGet: $@\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.WalletConnectorApi()
passId = passId_example # String |  (default to null)
xDeviceId = xDeviceId_example # String |  (default to null)

try:
    api_response = api_instance.passes_pass_id_get(passId, xDeviceId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesPassIdGet: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let passId = passId_example; // String
    let xDeviceId = xDeviceId_example; // String

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesPassIdGet(passId, xDeviceId, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
passId*
String
Required
Header parameters
Name Description
x-device-id*
String
Required

Responses


passesPassIdPatch

Update the gwallet integration status in our system


/passes/{passId}

Usage and SDK Samples

curl -X PATCH \
 -H "Content-Type: application/json" \
 "http://localhost/passes/{passId}" \
 -d '{
  "status" : "CREATED"
}'
import com.secutix.tixngo.client.*;
import com.secutix.tixngo.client.auth.*;
import com.secutix.tixngo.client.model.*;
import com.secutix.tixngo.client.api.WalletConnectorApi;

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

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

        // Create an instance of the API class
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String passId = passId_example; // String | 
        WalletPassPatchRequest walletPassPatchRequest = ; // WalletPassPatchRequest | 

        try {
            apiInstance.passesPassIdPatch(passId, walletPassPatchRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesPassIdPatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String passId = new String(); // String | 
final WalletPassPatchRequest walletPassPatchRequest = new WalletPassPatchRequest(); // WalletPassPatchRequest | 

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

import com.secutix.tixngo.client.api.WalletConnectorApi;

public class WalletConnectorApiExample {
    public static void main(String[] args) {
        WalletConnectorApi apiInstance = new WalletConnectorApi();
        String passId = passId_example; // String | 
        WalletPassPatchRequest walletPassPatchRequest = ; // WalletPassPatchRequest | 

        try {
            apiInstance.passesPassIdPatch(passId, walletPassPatchRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling WalletConnectorApi#passesPassIdPatch");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
WalletConnectorApi *apiInstance = [[WalletConnectorApi alloc] init];
String *passId = passId_example; //  (default to null)
WalletPassPatchRequest *walletPassPatchRequest = ; //  (optional)

[apiInstance passesPassIdPatchWith:passId
    walletPassPatchRequest:walletPassPatchRequest
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var TixngoRestApiTpwConnectorApi = require('tixngo_rest_api_tpw_connector_api');

// Create an instance of the API class
var api = new TixngoRestApiTpwConnectorApi.WalletConnectorApi()
var passId = passId_example; // {String} 
var opts = {
  'walletPassPatchRequest':  // {WalletPassPatchRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new WalletConnectorApi();
            var passId = passId_example;  // String |  (default to null)
            var walletPassPatchRequest = new WalletPassPatchRequest(); // WalletPassPatchRequest |  (optional) 

            try {
                apiInstance.passesPassIdPatch(passId, walletPassPatchRequest);
            } catch (Exception e) {
                Debug.Print("Exception when calling WalletConnectorApi.passesPassIdPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\WalletConnectorApi();
$passId = passId_example; // String | 
$walletPassPatchRequest = ; // WalletPassPatchRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::WalletConnectorApi->new();
my $passId = passId_example; # String | 
my $walletPassPatchRequest = WWW::OPenAPIClient::Object::WalletPassPatchRequest->new(); # WalletPassPatchRequest | 

eval {
    $api_instance->passesPassIdPatch(passId => $passId, walletPassPatchRequest => $walletPassPatchRequest);
};
if ($@) {
    warn "Exception when calling WalletConnectorApi->passesPassIdPatch: $@\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.WalletConnectorApi()
passId = passId_example # String |  (default to null)
walletPassPatchRequest =  # WalletPassPatchRequest |  (optional)

try:
    api_instance.passes_pass_id_patch(passId, walletPassPatchRequest=walletPassPatchRequest)
except ApiException as e:
    print("Exception when calling WalletConnectorApi->passesPassIdPatch: %s\n" % e)
extern crate WalletConnectorApi;

pub fn main() {
    let passId = passId_example; // String
    let walletPassPatchRequest = ; // WalletPassPatchRequest

    let mut context = WalletConnectorApi::Context::default();
    let result = client.passesPassIdPatch(passId, walletPassPatchRequest, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
passId*
String
Required
Body parameters
Name Description
walletPassPatchRequest

Responses