Count estimated affected ticket by bulk update details in event by filter or csv file
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: multipart/form-data" \
"https://api.tixngo.io/prod/v4.0/backoffice/bulk-update/ticket-details/count"
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.V4BackofficeApi;
import java.io.File;
import java.util.*;
public class V4BackofficeApiExample {
public static void main(String[] args) {
// Create an instance of the API class
V4BackofficeApi apiInstance = new V4BackofficeApi();
String source = source_example; // String |
String updatePart = updatePart_example; // String |
String newValue = newValue_example; // String |
String mobileAppId = mobileAppId_example; // String |
String internalEventId = internalEventId_example; // String |
String tariffId = tariffId_example; // String |
String contingentId = contingentId_example; // String |
String seatCategoryId = seatCategoryId_example; // String |
String fileNumber = fileNumber_example; // String |
String ticketNumber = ticketNumber_example; // String |
File file = BINARY_DATA_HERE; // File |
Boolean sendTicketUpdateNotification = true; // Boolean |
Integer estimatedAffectedTicket = 56; // Integer |
String updateType = updateType_example; // String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
String updateKey = updateKey_example; // String |
String language = language_example; // String |
String currentValue = currentValue_example; // String |
try {
BackofficeTicketBulkUpdateCountResponse result = apiInstance.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, mobileAppId, internalEventId, tariffId, contingentId, seatCategoryId, fileNumber, ticketNumber, file, sendTicketUpdateNotification, estimatedAffectedTicket, updateType, updateKey, language, currentValue);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling V4BackofficeApi#backofficeBulkUpdateTicketDetailsCountPost");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final String source = new String(); // String |
final String updatePart = new String(); // String |
final String newValue = new String(); // String |
final String mobileAppId = new String(); // String |
final String internalEventId = new String(); // String |
final String tariffId = new String(); // String |
final String contingentId = new String(); // String |
final String seatCategoryId = new String(); // String |
final String fileNumber = new String(); // String |
final String ticketNumber = new String(); // String |
final File file = new File(); // File |
final Boolean sendTicketUpdateNotification = new Boolean(); // Boolean |
final Integer estimatedAffectedTicket = new Integer(); // Integer |
final String updateType = new String(); // String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
final String updateKey = new String(); // String |
final String language = new String(); // String |
final String currentValue = new String(); // String |
try {
final result = await api_instance.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, mobileAppId, internalEventId, tariffId, contingentId, seatCategoryId, fileNumber, ticketNumber, file, sendTicketUpdateNotification, estimatedAffectedTicket, updateType, updateKey, language, currentValue);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->backofficeBulkUpdateTicketDetailsCountPost: $e\n');
}
import com.secutix.tixngo.v4.0.api.V4BackofficeApi;
public class V4BackofficeApiExample {
public static void main(String[] args) {
V4BackofficeApi apiInstance = new V4BackofficeApi();
String source = source_example; // String |
String updatePart = updatePart_example; // String |
String newValue = newValue_example; // String |
String mobileAppId = mobileAppId_example; // String |
String internalEventId = internalEventId_example; // String |
String tariffId = tariffId_example; // String |
String contingentId = contingentId_example; // String |
String seatCategoryId = seatCategoryId_example; // String |
String fileNumber = fileNumber_example; // String |
String ticketNumber = ticketNumber_example; // String |
File file = BINARY_DATA_HERE; // File |
Boolean sendTicketUpdateNotification = true; // Boolean |
Integer estimatedAffectedTicket = 56; // Integer |
String updateType = updateType_example; // String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
String updateKey = updateKey_example; // String |
String language = language_example; // String |
String currentValue = currentValue_example; // String |
try {
BackofficeTicketBulkUpdateCountResponse result = apiInstance.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, mobileAppId, internalEventId, tariffId, contingentId, seatCategoryId, fileNumber, ticketNumber, file, sendTicketUpdateNotification, estimatedAffectedTicket, updateType, updateKey, language, currentValue);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling V4BackofficeApi#backofficeBulkUpdateTicketDetailsCountPost");
e.printStackTrace();
}
}
}
// Create an instance of the API class
V4BackofficeApi *apiInstance = [[V4BackofficeApi alloc] init];
String *source = source_example; // (default to null)
String *updatePart = updatePart_example; // (default to null)
String *newValue = newValue_example; // (default to null)
String *mobileAppId = mobileAppId_example; // (optional) (default to null)
String *internalEventId = internalEventId_example; // (optional) (default to null)
String *tariffId = tariffId_example; // (optional) (default to null)
String *contingentId = contingentId_example; // (optional) (default to null)
String *seatCategoryId = seatCategoryId_example; // (optional) (default to null)
String *fileNumber = fileNumber_example; // (optional) (default to null)
String *ticketNumber = ticketNumber_example; // (optional) (default to null)
File *file = BINARY_DATA_HERE; // (optional) (default to null)
Boolean *sendTicketUpdateNotification = true; // (optional) (default to null)
Integer *estimatedAffectedTicket = 56; // (optional) (default to null)
String *updateType = updateType_example; // This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA (optional) (default to null)
String *updateKey = updateKey_example; // (optional) (default to null)
String *language = language_example; // (optional) (default to null)
String *currentValue = currentValue_example; // (optional) (default to null)
[apiInstance backofficeBulkUpdateTicketDetailsCountPostWith:source
updatePart:updatePart
newValue:newValue
mobileAppId:mobileAppId
internalEventId:internalEventId
tariffId:tariffId
contingentId:contingentId
seatCategoryId:seatCategoryId
fileNumber:fileNumber
ticketNumber:ticketNumber
file:file
sendTicketUpdateNotification:sendTicketUpdateNotification
estimatedAffectedTicket:estimatedAffectedTicket
updateType:updateType
updateKey:updateKey
language:language
currentValue:currentValue
completionHandler: ^(BackofficeTicketBulkUpdateCountResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TixngoRestApiBackendBackofficeApi = require('tixngo_rest_api_backend_backoffice_api');
// Create an instance of the API class
var api = new TixngoRestApiBackendBackofficeApi.V4BackofficeApi()
var source = source_example; // {String}
var updatePart = updatePart_example; // {String}
var newValue = newValue_example; // {String}
var opts = {
'mobileAppId': mobileAppId_example, // {String}
'internalEventId': internalEventId_example, // {String}
'tariffId': tariffId_example, // {String}
'contingentId': contingentId_example, // {String}
'seatCategoryId': seatCategoryId_example, // {String}
'fileNumber': fileNumber_example, // {String}
'ticketNumber': ticketNumber_example, // {String}
'file': BINARY_DATA_HERE, // {File}
'sendTicketUpdateNotification': true, // {Boolean}
'estimatedAffectedTicket': 56, // {Integer}
'updateType': updateType_example, // {String} This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
'updateKey': updateKey_example, // {String}
'language': language_example, // {String}
'currentValue': currentValue_example // {String}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class backofficeBulkUpdateTicketDetailsCountPostExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new V4BackofficeApi();
var source = source_example; // String | (default to null)
var updatePart = updatePart_example; // String | (default to null)
var newValue = newValue_example; // String | (default to null)
var mobileAppId = mobileAppId_example; // String | (optional) (default to null)
var internalEventId = internalEventId_example; // String | (optional) (default to null)
var tariffId = tariffId_example; // String | (optional) (default to null)
var contingentId = contingentId_example; // String | (optional) (default to null)
var seatCategoryId = seatCategoryId_example; // String | (optional) (default to null)
var fileNumber = fileNumber_example; // String | (optional) (default to null)
var ticketNumber = ticketNumber_example; // String | (optional) (default to null)
var file = BINARY_DATA_HERE; // File | (optional) (default to null)
var sendTicketUpdateNotification = true; // Boolean | (optional) (default to null)
var estimatedAffectedTicket = 56; // Integer | (optional) (default to null)
var updateType = updateType_example; // String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA (optional) (default to null)
var updateKey = updateKey_example; // String | (optional) (default to null)
var language = language_example; // String | (optional) (default to null)
var currentValue = currentValue_example; // String | (optional) (default to null)
try {
BackofficeTicketBulkUpdateCountResponse result = apiInstance.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, mobileAppId, internalEventId, tariffId, contingentId, seatCategoryId, fileNumber, ticketNumber, file, sendTicketUpdateNotification, estimatedAffectedTicket, updateType, updateKey, language, currentValue);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling V4BackofficeApi.backofficeBulkUpdateTicketDetailsCountPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\V4BackofficeApi();
$source = source_example; // String |
$updatePart = updatePart_example; // String |
$newValue = newValue_example; // String |
$mobileAppId = mobileAppId_example; // String |
$internalEventId = internalEventId_example; // String |
$tariffId = tariffId_example; // String |
$contingentId = contingentId_example; // String |
$seatCategoryId = seatCategoryId_example; // String |
$fileNumber = fileNumber_example; // String |
$ticketNumber = ticketNumber_example; // String |
$file = BINARY_DATA_HERE; // File |
$sendTicketUpdateNotification = true; // Boolean |
$estimatedAffectedTicket = 56; // Integer |
$updateType = updateType_example; // String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
$updateKey = updateKey_example; // String |
$language = language_example; // String |
$currentValue = currentValue_example; // String |
try {
$result = $api_instance->backofficeBulkUpdateTicketDetailsCountPost($source, $updatePart, $newValue, $mobileAppId, $internalEventId, $tariffId, $contingentId, $seatCategoryId, $fileNumber, $ticketNumber, $file, $sendTicketUpdateNotification, $estimatedAffectedTicket, $updateType, $updateKey, $language, $currentValue);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling V4BackofficeApi->backofficeBulkUpdateTicketDetailsCountPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::V4BackofficeApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::V4BackofficeApi->new();
my $source = source_example; # String |
my $updatePart = updatePart_example; # String |
my $newValue = newValue_example; # String |
my $mobileAppId = mobileAppId_example; # String |
my $internalEventId = internalEventId_example; # String |
my $tariffId = tariffId_example; # String |
my $contingentId = contingentId_example; # String |
my $seatCategoryId = seatCategoryId_example; # String |
my $fileNumber = fileNumber_example; # String |
my $ticketNumber = ticketNumber_example; # String |
my $file = BINARY_DATA_HERE; # File |
my $sendTicketUpdateNotification = true; # Boolean |
my $estimatedAffectedTicket = 56; # Integer |
my $updateType = updateType_example; # String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA
my $updateKey = updateKey_example; # String |
my $language = language_example; # String |
my $currentValue = currentValue_example; # String |
eval {
my $result = $api_instance->backofficeBulkUpdateTicketDetailsCountPost(source => $source, updatePart => $updatePart, newValue => $newValue, mobileAppId => $mobileAppId, internalEventId => $internalEventId, tariffId => $tariffId, contingentId => $contingentId, seatCategoryId => $seatCategoryId, fileNumber => $fileNumber, ticketNumber => $ticketNumber, file => $file, sendTicketUpdateNotification => $sendTicketUpdateNotification, estimatedAffectedTicket => $estimatedAffectedTicket, updateType => $updateType, updateKey => $updateKey, language => $language, currentValue => $currentValue);
print Dumper($result);
};
if ($@) {
warn "Exception when calling V4BackofficeApi->backofficeBulkUpdateTicketDetailsCountPost: $@\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.V4BackofficeApi()
source = source_example # String | (default to null)
updatePart = updatePart_example # String | (default to null)
newValue = newValue_example # String | (default to null)
mobileAppId = mobileAppId_example # String | (optional) (default to null)
internalEventId = internalEventId_example # String | (optional) (default to null)
tariffId = tariffId_example # String | (optional) (default to null)
contingentId = contingentId_example # String | (optional) (default to null)
seatCategoryId = seatCategoryId_example # String | (optional) (default to null)
fileNumber = fileNumber_example # String | (optional) (default to null)
ticketNumber = ticketNumber_example # String | (optional) (default to null)
file = BINARY_DATA_HERE # File | (optional) (default to null)
sendTicketUpdateNotification = true # Boolean | (optional) (default to null)
estimatedAffectedTicket = 56 # Integer | (optional) (default to null)
updateType = updateType_example # String | This field is used to indicate the type of for each part. if update part = Configuration => updateType = CONTINGENT, USAGE, ACTIVATION, EMAIL, DATA_COLLECTION. if update part = SeatingDetails => updateType = SEAT, ROW, BLOCK, GATE, AREA... if update part = METADATA => updateType = MAIN, HIDDEN, EXTRA (optional) (default to null)
updateKey = updateKey_example # String | (optional) (default to null)
language = language_example # String | (optional) (default to null)
currentValue = currentValue_example # String | (optional) (default to null)
try:
api_response = api_instance.backoffice_bulk_update_ticket_details_count_post(source, updatePart, newValue, mobileAppId=mobileAppId, internalEventId=internalEventId, tariffId=tariffId, contingentId=contingentId, seatCategoryId=seatCategoryId, fileNumber=fileNumber, ticketNumber=ticketNumber, file=file, sendTicketUpdateNotification=sendTicketUpdateNotification, estimatedAffectedTicket=estimatedAffectedTicket, updateType=updateType, updateKey=updateKey, language=language, currentValue=currentValue)
pprint(api_response)
except ApiException as e:
print("Exception when calling V4BackofficeApi->backofficeBulkUpdateTicketDetailsCountPost: %s\n" % e)
extern crate V4BackofficeApi;
pub fn main() {
let source = source_example; // String
let updatePart = updatePart_example; // String
let newValue = newValue_example; // String
let mobileAppId = mobileAppId_example; // String
let internalEventId = internalEventId_example; // String
let tariffId = tariffId_example; // String
let contingentId = contingentId_example; // String
let seatCategoryId = seatCategoryId_example; // String
let fileNumber = fileNumber_example; // String
let ticketNumber = ticketNumber_example; // String
let file = BINARY_DATA_HERE; // File
let sendTicketUpdateNotification = true; // Boolean
let estimatedAffectedTicket = 56; // Integer
let updateType = updateType_example; // String
let updateKey = updateKey_example; // String
let language = language_example; // String
let currentValue = currentValue_example; // String
let mut context = V4BackofficeApi::Context::default();
let result = client.backofficeBulkUpdateTicketDetailsCountPost(source, updatePart, newValue, mobileAppId, internalEventId, tariffId, contingentId, seatCategoryId, fileNumber, ticketNumber, file, sendTicketUpdateNotification, estimatedAffectedTicket, updateType, updateKey, language, currentValue, &context).wait();
println!("{:?}", result);
}