curl -X GET "https://localhost/transactions?page=&size=&sort=&reverse=&requestId=&type=&priority=&status=&createdAtUpper=&createdAtLower=&startedAtUpper=&startedAtLower=&completedAtUpper=&completedAtLower=&userId=&adjudicated="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;
import java.io.File;
import java.util.*;
public class TransactionsApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: main
OAuth main = (OAuth) defaultClient.getAuthentication("main");
main.setAccessToken("YOUR ACCESS TOKEN");
TransactionsApi apiInstance = new TransactionsApi();
Integer page = 56; // Integer | Page number
Integer size = 56; // Integer | Page size
String sort = sort_example; // String | Field name to sort by
Boolean reverse = true; // Boolean | If true - sort descending, false - ascending
String requestId = requestId_example; // String | Filter by requestId
String type = type_example; // String | Filter by type
Integer priority = 56; // Integer | Filter by priority
String status = status_example; // String | Filter by status
Date createdAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper createdAt bound
Date createdAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower createdAt bound
Date startedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper startedAt bound
Date startedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower startedAt bound
Date completedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper completedAt bound
Date completedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower completedAt bound
Integer userId = 56; // Integer | Filter by userId
Boolean adjudicated = true; // Boolean | Filter only adjudicated transactions
try {
array[Transaction] result = apiInstance.getTransactions(page, size, sort, reverse, requestId, type, priority, status, createdAtUpper, createdAtLower, startedAtUpper, startedAtLower, completedAtUpper, completedAtLower, userId, adjudicated);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransactionsApi#getTransactions");
e.printStackTrace();
}
}
}
import io.swagger.client.api.TransactionsApi;
public class TransactionsApiExample {
public static void main(String[] args) {
TransactionsApi apiInstance = new TransactionsApi();
Integer page = 56; // Integer | Page number
Integer size = 56; // Integer | Page size
String sort = sort_example; // String | Field name to sort by
Boolean reverse = true; // Boolean | If true - sort descending, false - ascending
String requestId = requestId_example; // String | Filter by requestId
String type = type_example; // String | Filter by type
Integer priority = 56; // Integer | Filter by priority
String status = status_example; // String | Filter by status
Date createdAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper createdAt bound
Date createdAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower createdAt bound
Date startedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper startedAt bound
Date startedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower startedAt bound
Date completedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper completedAt bound
Date completedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower completedAt bound
Integer userId = 56; // Integer | Filter by userId
Boolean adjudicated = true; // Boolean | Filter only adjudicated transactions
try {
array[Transaction] result = apiInstance.getTransactions(page, size, sort, reverse, requestId, type, priority, status, createdAtUpper, createdAtLower, startedAtUpper, startedAtLower, completedAtUpper, completedAtLower, userId, adjudicated);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TransactionsApi#getTransactions");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: main)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
Integer *page = 56; // Page number (optional) (default to 0)
Integer *size = 56; // Page size (optional) (default to 15)
String *sort = sort_example; // Field name to sort by (optional) (default to requestId)
Boolean *reverse = true; // If true - sort descending, false - ascending (optional)
String *requestId = requestId_example; // Filter by requestId (optional)
String *type = type_example; // Filter by type (optional)
Integer *priority = 56; // Filter by priority (optional)
String *status = status_example; // Filter by status (optional)
Date *createdAtUpper = 2013-10-20T19:20:30+01:00; // Upper createdAt bound (optional)
Date *createdAtLower = 2013-10-20T19:20:30+01:00; // Lower createdAt bound (optional)
Date *startedAtUpper = 2013-10-20T19:20:30+01:00; // Upper startedAt bound (optional)
Date *startedAtLower = 2013-10-20T19:20:30+01:00; // Lower startedAt bound (optional)
Date *completedAtUpper = 2013-10-20T19:20:30+01:00; // Upper completedAt bound (optional)
Date *completedAtLower = 2013-10-20T19:20:30+01:00; // Lower completedAt bound (optional)
Integer *userId = 56; // Filter by userId (optional)
Boolean *adjudicated = true; // Filter only adjudicated transactions (optional)
TransactionsApi *apiInstance = [[TransactionsApi alloc] init];
// Returns information about transactions
[apiInstance getTransactionsWith:page
size:size
sort:sort
reverse:reverse
requestId:requestId
type:type
priority:priority
status:status
createdAtUpper:createdAtUpper
createdAtLower:createdAtLower
startedAtUpper:startedAtUpper
startedAtLower:startedAtLower
completedAtUpper:completedAtUpper
completedAtLower:completedAtLower
userId:userId
adjudicated:adjudicated
completionHandler: ^(array[Transaction] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var MegaMatcherAutomatedBiometricIdentificationSystemAbis = require('mega_matcher_automated_biometric_identification_system__abis');
var defaultClient = MegaMatcherAutomatedBiometricIdentificationSystemAbis.ApiClient.instance;
// Configure OAuth2 access token for authorization: main
var main = defaultClient.authentications['main'];
main.accessToken = "YOUR ACCESS TOKEN"
var api = new MegaMatcherAutomatedBiometricIdentificationSystemAbis.TransactionsApi()
var opts = {
'page': 56, // {Integer} Page number
'size': 56, // {Integer} Page size
'sort': sort_example, // {String} Field name to sort by
'reverse': true, // {Boolean} If true - sort descending, false - ascending
'requestId': requestId_example, // {String} Filter by requestId
'type': type_example, // {String} Filter by type
'priority': 56, // {Integer} Filter by priority
'status': status_example, // {String} Filter by status
'createdAtUpper': 2013-10-20T19:20:30+01:00, // {Date} Upper createdAt bound
'createdAtLower': 2013-10-20T19:20:30+01:00, // {Date} Lower createdAt bound
'startedAtUpper': 2013-10-20T19:20:30+01:00, // {Date} Upper startedAt bound
'startedAtLower': 2013-10-20T19:20:30+01:00, // {Date} Lower startedAt bound
'completedAtUpper': 2013-10-20T19:20:30+01:00, // {Date} Upper completedAt bound
'completedAtLower': 2013-10-20T19:20:30+01:00, // {Date} Lower completedAt bound
'userId': 56, // {Integer} Filter by userId
'adjudicated': true // {Boolean} Filter only adjudicated transactions
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.getTransactions(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getTransactionsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: main
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TransactionsApi();
var page = 56; // Integer | Page number (optional) (default to 0)
var size = 56; // Integer | Page size (optional) (default to 15)
var sort = sort_example; // String | Field name to sort by (optional) (default to requestId)
var reverse = true; // Boolean | If true - sort descending, false - ascending (optional)
var requestId = requestId_example; // String | Filter by requestId (optional)
var type = type_example; // String | Filter by type (optional)
var priority = 56; // Integer | Filter by priority (optional)
var status = status_example; // String | Filter by status (optional)
var createdAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper createdAt bound (optional)
var createdAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower createdAt bound (optional)
var startedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper startedAt bound (optional)
var startedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower startedAt bound (optional)
var completedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper completedAt bound (optional)
var completedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower completedAt bound (optional)
var userId = 56; // Integer | Filter by userId (optional)
var adjudicated = true; // Boolean | Filter only adjudicated transactions (optional)
try
{
// Returns information about transactions
array[Transaction] result = apiInstance.getTransactions(page, size, sort, reverse, requestId, type, priority, status, createdAtUpper, createdAtLower, startedAtUpper, startedAtLower, completedAtUpper, completedAtLower, userId, adjudicated);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TransactionsApi.getTransactions: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: main
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\Api\TransactionsApi();
$page = 56; // Integer | Page number
$size = 56; // Integer | Page size
$sort = sort_example; // String | Field name to sort by
$reverse = true; // Boolean | If true - sort descending, false - ascending
$requestId = requestId_example; // String | Filter by requestId
$type = type_example; // String | Filter by type
$priority = 56; // Integer | Filter by priority
$status = status_example; // String | Filter by status
$createdAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper createdAt bound
$createdAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower createdAt bound
$startedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper startedAt bound
$startedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower startedAt bound
$completedAtUpper = 2013-10-20T19:20:30+01:00; // Date | Upper completedAt bound
$completedAtLower = 2013-10-20T19:20:30+01:00; // Date | Lower completedAt bound
$userId = 56; // Integer | Filter by userId
$adjudicated = true; // Boolean | Filter only adjudicated transactions
try {
$result = $api_instance->getTransactions($page, $size, $sort, $reverse, $requestId, $type, $priority, $status, $createdAtUpper, $createdAtLower, $startedAtUpper, $startedAtLower, $completedAtUpper, $completedAtLower, $userId, $adjudicated);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TransactionsApi->getTransactions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;
# Configure OAuth2 access token for authorization: main
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $page = 56; # Integer | Page number
my $size = 56; # Integer | Page size
my $sort = sort_example; # String | Field name to sort by
my $reverse = true; # Boolean | If true - sort descending, false - ascending
my $requestId = requestId_example; # String | Filter by requestId
my $type = type_example; # String | Filter by type
my $priority = 56; # Integer | Filter by priority
my $status = status_example; # String | Filter by status
my $createdAtUpper = 2013-10-20T19:20:30+01:00; # Date | Upper createdAt bound
my $createdAtLower = 2013-10-20T19:20:30+01:00; # Date | Lower createdAt bound
my $startedAtUpper = 2013-10-20T19:20:30+01:00; # Date | Upper startedAt bound
my $startedAtLower = 2013-10-20T19:20:30+01:00; # Date | Lower startedAt bound
my $completedAtUpper = 2013-10-20T19:20:30+01:00; # Date | Upper completedAt bound
my $completedAtLower = 2013-10-20T19:20:30+01:00; # Date | Lower completedAt bound
my $userId = 56; # Integer | Filter by userId
my $adjudicated = true; # Boolean | Filter only adjudicated transactions
eval {
my $result = $api_instance->getTransactions(page => $page, size => $size, sort => $sort, reverse => $reverse, requestId => $requestId, type => $type, priority => $priority, status => $status, createdAtUpper => $createdAtUpper, createdAtLower => $createdAtLower, startedAtUpper => $startedAtUpper, startedAtLower => $startedAtLower, completedAtUpper => $completedAtUpper, completedAtLower => $completedAtLower, userId => $userId, adjudicated => $adjudicated);
print Dumper($result);
};
if ($@) {
warn "Exception when calling TransactionsApi->getTransactions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: main
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.TransactionsApi()
page = 56 # Integer | Page number (optional) (default to 0)
size = 56 # Integer | Page size (optional) (default to 15)
sort = sort_example # String | Field name to sort by (optional) (default to requestId)
reverse = true # Boolean | If true - sort descending, false - ascending (optional)
requestId = requestId_example # String | Filter by requestId (optional)
type = type_example # String | Filter by type (optional)
priority = 56 # Integer | Filter by priority (optional)
status = status_example # String | Filter by status (optional)
createdAtUpper = 2013-10-20T19:20:30+01:00 # Date | Upper createdAt bound (optional)
createdAtLower = 2013-10-20T19:20:30+01:00 # Date | Lower createdAt bound (optional)
startedAtUpper = 2013-10-20T19:20:30+01:00 # Date | Upper startedAt bound (optional)
startedAtLower = 2013-10-20T19:20:30+01:00 # Date | Lower startedAt bound (optional)
completedAtUpper = 2013-10-20T19:20:30+01:00 # Date | Upper completedAt bound (optional)
completedAtLower = 2013-10-20T19:20:30+01:00 # Date | Lower completedAt bound (optional)
userId = 56 # Integer | Filter by userId (optional)
adjudicated = true # Boolean | Filter only adjudicated transactions (optional)
try:
# Returns information about transactions
api_response = api_instance.get_transactions(page=page, size=size, sort=sort, reverse=reverse, requestId=requestId, type=type, priority=priority, status=status, createdAtUpper=createdAtUpper, createdAtLower=createdAtLower, startedAtUpper=startedAtUpper, startedAtLower=startedAtLower, completedAtUpper=completedAtUpper, completedAtLower=completedAtLower, userId=userId, adjudicated=adjudicated)
pprint(api_response)
except ApiException as e:
print("Exception when calling TransactionsApi->getTransactions: %s\n" % e)