magtu-pairs-API

Changes

getAllChanges

Get all changes


/changes/all

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/changes/all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChangesApi;

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

public class ChangesApiExample {

    public static void main(String[] args) {
        
        ChangesApi apiInstance = new ChangesApi();
        String token = token_example; // String | Your secure token
        try {
            ChangeResponse result = apiInstance.getAllChanges(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChangesApi#getAllChanges");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChangesApi;

public class ChangesApiExample {

    public static void main(String[] args) {
        ChangesApi apiInstance = new ChangesApi();
        String token = token_example; // String | Your secure token
        try {
            ChangeResponse result = apiInstance.getAllChanges(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChangesApi#getAllChanges");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // Your secure token

ChangesApi *apiInstance = [[ChangesApi alloc] init];

// Get all changes
[apiInstance getAllChangesWith:token
              completionHandler: ^(ChangeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.ChangesApi()

var token = token_example; // {String} Your secure token


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

namespace Example
{
    public class getAllChangesExample
    {
        public void main()
        {
            
            var apiInstance = new ChangesApi();
            var token = token_example;  // String | Your secure token

            try
            {
                // Get all changes
                ChangeResponse result = apiInstance.getAllChanges(token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChangesApi.getAllChanges: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ChangesApi();
$token = token_example; // String | Your secure token

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

my $api_instance = WWW::SwaggerClient::ChangesApi->new();
my $token = token_example; # String | Your secure token

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

# create an instance of the API class
api_instance = swagger_client.ChangesApi()
token = token_example # String | Your secure token

try: 
    # Get all changes
    api_response = api_instance.get_all_changes(token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChangesApi->getAllChanges: %s\n" % e)

Parameters

Header parameters
Name Description
token*
String
Your secure token
Required

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token


getLatestChanges

Get changes within a week


/changes/latest

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/changes/latest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChangesApi;

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

public class ChangesApiExample {

    public static void main(String[] args) {
        
        ChangesApi apiInstance = new ChangesApi();
        try {
            ChangeResponse result = apiInstance.getLatestChanges();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChangesApi#getLatestChanges");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChangesApi;

public class ChangesApiExample {

    public static void main(String[] args) {
        ChangesApi apiInstance = new ChangesApi();
        try {
            ChangeResponse result = apiInstance.getLatestChanges();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChangesApi#getLatestChanges");
            e.printStackTrace();
        }
    }
}

ChangesApi *apiInstance = [[ChangesApi alloc] init];

// Get changes within a week
[apiInstance getLatestChangesWithCompletionHandler: 
              ^(ChangeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.ChangesApi()

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

namespace Example
{
    public class getLatestChangesExample
    {
        public void main()
        {
            
            var apiInstance = new ChangesApi();

            try
            {
                // Get changes within a week
                ChangeResponse result = apiInstance.getLatestChanges();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChangesApi.getLatestChanges: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ChangesApi();

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

my $api_instance = WWW::SwaggerClient::ChangesApi->new();

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

# create an instance of the API class
api_instance = swagger_client.ChangesApi()

try: 
    # Get changes within a week
    api_response = api_instance.get_latest_changes()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChangesApi->getLatestChanges: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation


Timetables

getAllGroupTables

Get all group tables


/tables/all/{groupName}

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/tables/all/{groupName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TimetablesApi;

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

public class TimetablesApiExample {

    public static void main(String[] args) {
        
        TimetablesApi apiInstance = new TimetablesApi();
        String groupName = groupName_example; // String | The user name for login
        String token = token_example; // String | Your secure token
        try {
            TableResponse result = apiInstance.getAllGroupTables(groupName, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getAllGroupTables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TimetablesApi;

public class TimetablesApiExample {

    public static void main(String[] args) {
        TimetablesApi apiInstance = new TimetablesApi();
        String groupName = groupName_example; // String | The user name for login
        String token = token_example; // String | Your secure token
        try {
            TableResponse result = apiInstance.getAllGroupTables(groupName, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getAllGroupTables");
            e.printStackTrace();
        }
    }
}
String *groupName = groupName_example; // The user name for login
String *token = token_example; // Your secure token

TimetablesApi *apiInstance = [[TimetablesApi alloc] init];

// Get all group tables
[apiInstance getAllGroupTablesWith:groupName
    token:token
              completionHandler: ^(TableResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.TimetablesApi()

var groupName = groupName_example; // {String} The user name for login

var token = token_example; // {String} Your secure token


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllGroupTables(groupName, token, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllGroupTablesExample
    {
        public void main()
        {
            
            var apiInstance = new TimetablesApi();
            var groupName = groupName_example;  // String | The user name for login
            var token = token_example;  // String | Your secure token

            try
            {
                // Get all group tables
                TableResponse result = apiInstance.getAllGroupTables(groupName, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TimetablesApi.getAllGroupTables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\TimetablesApi();
$groupName = groupName_example; // String | The user name for login
$token = token_example; // String | Your secure token

try {
    $result = $api_instance->getAllGroupTables($groupName, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TimetablesApi->getAllGroupTables: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TimetablesApi;

my $api_instance = WWW::SwaggerClient::TimetablesApi->new();
my $groupName = groupName_example; # String | The user name for login
my $token = token_example; # String | Your secure token

eval { 
    my $result = $api_instance->getAllGroupTables(groupName => $groupName, token => $token);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TimetablesApi->getAllGroupTables: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.TimetablesApi()
groupName = groupName_example # String | The user name for login
token = token_example # String | Your secure token

try: 
    # Get all group tables
    api_response = api_instance.get_all_group_tables(groupName, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TimetablesApi->getAllGroupTables: %s\n" % e)

Parameters

Path parameters
Name Description
groupName*
String
The user name for login
Required
Header parameters
Name Description
token*
String
Your secure token
Required

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token


getAllTables

Get all tables


/tables/all

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/tables/all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TimetablesApi;

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

public class TimetablesApiExample {

    public static void main(String[] args) {
        
        TimetablesApi apiInstance = new TimetablesApi();
        String token = token_example; // String | Your secure token
        try {
            TableResponse result = apiInstance.getAllTables(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getAllTables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TimetablesApi;

public class TimetablesApiExample {

    public static void main(String[] args) {
        TimetablesApi apiInstance = new TimetablesApi();
        String token = token_example; // String | Your secure token
        try {
            TableResponse result = apiInstance.getAllTables(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getAllTables");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // Your secure token

TimetablesApi *apiInstance = [[TimetablesApi alloc] init];

// Get all tables
[apiInstance getAllTablesWith:token
              completionHandler: ^(TableResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.TimetablesApi()

var token = token_example; // {String} Your secure token


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

namespace Example
{
    public class getAllTablesExample
    {
        public void main()
        {
            
            var apiInstance = new TimetablesApi();
            var token = token_example;  // String | Your secure token

            try
            {
                // Get all tables
                TableResponse result = apiInstance.getAllTables(token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TimetablesApi.getAllTables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\TimetablesApi();
$token = token_example; // String | Your secure token

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

my $api_instance = WWW::SwaggerClient::TimetablesApi->new();
my $token = token_example; # String | Your secure token

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

# create an instance of the API class
api_instance = swagger_client.TimetablesApi()
token = token_example # String | Your secure token

try: 
    # Get all tables
    api_response = api_instance.get_all_tables(token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TimetablesApi->getAllTables: %s\n" % e)

Parameters

Header parameters
Name Description
token*
String
Your secure token
Required

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token


getLatestGroupTables

Get group tables within a week


/tables/latest/{groupName}

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/tables/latest/{groupName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TimetablesApi;

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

public class TimetablesApiExample {

    public static void main(String[] args) {
        
        TimetablesApi apiInstance = new TimetablesApi();
        String groupName = groupName_example; // String | The user name for login
        try {
            TableResponse result = apiInstance.getLatestGroupTables(groupName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getLatestGroupTables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TimetablesApi;

public class TimetablesApiExample {

    public static void main(String[] args) {
        TimetablesApi apiInstance = new TimetablesApi();
        String groupName = groupName_example; // String | The user name for login
        try {
            TableResponse result = apiInstance.getLatestGroupTables(groupName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getLatestGroupTables");
            e.printStackTrace();
        }
    }
}
String *groupName = groupName_example; // The user name for login

TimetablesApi *apiInstance = [[TimetablesApi alloc] init];

// Get group tables within a week
[apiInstance getLatestGroupTablesWith:groupName
              completionHandler: ^(TableResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.TimetablesApi()

var groupName = groupName_example; // {String} The user name for login


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

namespace Example
{
    public class getLatestGroupTablesExample
    {
        public void main()
        {
            
            var apiInstance = new TimetablesApi();
            var groupName = groupName_example;  // String | The user name for login

            try
            {
                // Get group tables within a week
                TableResponse result = apiInstance.getLatestGroupTables(groupName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TimetablesApi.getLatestGroupTables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\TimetablesApi();
$groupName = groupName_example; // String | The user name for login

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

my $api_instance = WWW::SwaggerClient::TimetablesApi->new();
my $groupName = groupName_example; # String | The user name for login

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

# create an instance of the API class
api_instance = swagger_client.TimetablesApi()
groupName = groupName_example # String | The user name for login

try: 
    # Get group tables within a week
    api_response = api_instance.get_latest_group_tables(groupName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TimetablesApi->getLatestGroupTables: %s\n" % e)

Parameters

Path parameters
Name Description
groupName*
String
The user name for login
Required

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token


getLatestTables

Get tables within a week


/tables/latest

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/tables/latest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TimetablesApi;

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

public class TimetablesApiExample {

    public static void main(String[] args) {
        
        TimetablesApi apiInstance = new TimetablesApi();
        try {
            ChangeResponse result = apiInstance.getLatestTables();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getLatestTables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TimetablesApi;

public class TimetablesApiExample {

    public static void main(String[] args) {
        TimetablesApi apiInstance = new TimetablesApi();
        try {
            ChangeResponse result = apiInstance.getLatestTables();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TimetablesApi#getLatestTables");
            e.printStackTrace();
        }
    }
}

TimetablesApi *apiInstance = [[TimetablesApi alloc] init];

// Get tables within a week
[apiInstance getLatestTablesWithCompletionHandler: 
              ^(ChangeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.TimetablesApi()

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

namespace Example
{
    public class getLatestTablesExample
    {
        public void main()
        {
            
            var apiInstance = new TimetablesApi();

            try
            {
                // Get tables within a week
                ChangeResponse result = apiInstance.getLatestTables();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TimetablesApi.getLatestTables: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\TimetablesApi();

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

my $api_instance = WWW::SwaggerClient::TimetablesApi->new();

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

# create an instance of the API class
api_instance = swagger_client.TimetablesApi()

try: 
    # Get tables within a week
    api_response = api_instance.get_latest_tables()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TimetablesApi->getLatestTables: %s\n" % e)

Parameters

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token


Users

getAllUsers

Get all users


/users/all

Usage and SDK Samples

curl -X GET "https://ivanik.ru/api/users/all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

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

public class UsersApiExample {

    public static void main(String[] args) {
        
        UsersApi apiInstance = new UsersApi();
        String token = token_example; // String | Your secure token
        try {
            UserResponse result = apiInstance.getAllUsers(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#getAllUsers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

    public static void main(String[] args) {
        UsersApi apiInstance = new UsersApi();
        String token = token_example; // String | Your secure token
        try {
            UserResponse result = apiInstance.getAllUsers(token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#getAllUsers");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // Your secure token

UsersApi *apiInstance = [[UsersApi alloc] init];

// Get all users
[apiInstance getAllUsersWith:token
              completionHandler: ^(UserResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MagtuPairsApi = require('magtu_pairs_api');

var api = new MagtuPairsApi.UsersApi()

var token = token_example; // {String} Your secure token


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

namespace Example
{
    public class getAllUsersExample
    {
        public void main()
        {
            
            var apiInstance = new UsersApi();
            var token = token_example;  // String | Your secure token

            try
            {
                // Get all users
                UserResponse result = apiInstance.getAllUsers(token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UsersApi.getAllUsers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UsersApi();
$token = token_example; // String | Your secure token

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

my $api_instance = WWW::SwaggerClient::UsersApi->new();
my $token = token_example; # String | Your secure token

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

# create an instance of the API class
api_instance = swagger_client.UsersApi()
token = token_example # String | Your secure token

try: 
    # Get all users
    api_response = api_instance.get_all_users(token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsersApi->getAllUsers: %s\n" % e)

Parameters

Header parameters
Name Description
token*
String
Your secure token
Required

Responses

Status: 200 - successful operation

Status: 401 - Unknown Token