PARLA API - Swagger

Account

apiV1AccountGet


/api/v1/account

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

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

public class AccountApiExample {

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

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

[apiInstance apiV1AccountGetWithCompletionHandler: 
              ^(AccountPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AccountApi();

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

$api_instance = new Swagger\Client\ApiAccountApi();

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

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

eval { 
    my $result = $api_instance->apiV1AccountGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountGet: $@\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.AccountApi()

try: 
    api_response = api_instance.api_v1_account_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AccountIdDelete


/api/v1/account/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/account/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AccountIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AccountIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AccountIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AccountApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AccountApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAccountApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1AccountIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->apiV1AccountIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1AccountIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountIdDelete: $@\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.AccountApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_account_id_delete(id)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AccountIdGet


/api/v1/account/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        Long id = 789; // Long | 
        try {
            Account result = apiInstance.apiV1AccountIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        Long id = 789; // Long | 
        try {
            Account result = apiInstance.apiV1AccountIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AccountIdGetWith:id
              completionHandler: ^(Account output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AccountApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AccountApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAccountApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1AccountIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountIdGet: $@\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.AccountApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_account_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AccountPost


/api/v1/account

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

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

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        Account body = ; // Account | 
        try {
            Account result = apiInstance.apiV1AccountPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountPost");
            e.printStackTrace();
        }
    }
}
Account *body = ; //  (optional)

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

[apiInstance apiV1AccountPostWith:body
              completionHandler: ^(Account output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AccountApi()
var opts = { 
  'body':  // {{Account}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1AccountPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AccountApi();
            var body = new Account(); // Account |  (optional) 

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

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // Account | 

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

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::Account->new(); # Account | 

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

try: 
    api_response = api_instance.api_v1_account_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1AccountPublicKeyGet


/api/v1/account/publicKey

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account/publicKey"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

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

public class AccountApiExample {

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

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

[apiInstance apiV1AccountPublicKeyGetWithCompletionHandler: 
              ^(KeyObject output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AccountApi();

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

$api_instance = new Swagger\Client\ApiAccountApi();

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

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

eval { 
    my $result = $api_instance->apiV1AccountPublicKeyGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountPublicKeyGet: $@\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.AccountApi()

try: 
    api_response = api_instance.api_v1_account_public_key_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountPublicKeyGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AccountPut


/api/v1/account

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

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

public class AccountApiExample {

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

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

[apiInstance apiV1AccountPutWithCompletionHandler: 
              ^(Account output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AccountApi();

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

$api_instance = new Swagger\Client\ApiAccountApi();

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

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

eval { 
    my $result = $api_instance->apiV1AccountPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountPut: $@\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.AccountApi()

try: 
    api_response = api_instance.api_v1_account_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AccountSearchGet


/api/v1/account/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

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

public class AccountApiExample {

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

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

[apiInstance apiV1AccountSearchGetWithCompletionHandler: 
              ^(AccountPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AccountApi();

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

$api_instance = new Swagger\Client\ApiAccountApi();

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

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

eval { 
    my $result = $api_instance->apiV1AccountSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountSearchGet: $@\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.AccountApi()

try: 
    api_response = api_instance.api_v1_account_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AccountTopupPost


/api/v1/account/topup

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/account/topup"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

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

public class AccountApiExample {

    public static void main(String[] args) {
        
        AccountApi apiInstance = new AccountApi();
        TopUp body = ; // TopUp | 
        try {
            apiInstance.apiV1AccountTopupPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountTopupPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        TopUp body = ; // TopUp | 
        try {
            apiInstance.apiV1AccountTopupPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#apiV1AccountTopupPost");
            e.printStackTrace();
        }
    }
}
TopUp *body = ; //  (optional)

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

[apiInstance apiV1AccountTopupPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AccountApi()
var opts = { 
  'body':  // {{TopUp}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1AccountTopupPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AccountApi();
            var body = new TopUp(); // TopUp |  (optional) 

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

$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // TopUp | 

try {
    $api_instance->apiV1AccountTopupPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->apiV1AccountTopupPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::TopUp->new(); # TopUp | 

eval { 
    $api_instance->apiV1AccountTopupPost(body => $body);
};
if ($@) {
    warn "Exception when calling AccountApi->apiV1AccountTopupPost: $@\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.AccountApi()
body =  # TopUp |  (optional)

try: 
    api_instance.api_v1_account_topup_post(body=body)
except ApiException as e:
    print("Exception when calling AccountApi->apiV1AccountTopupPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Analytics

apiV1AnalyticsGet


/api/v1/analytics

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/analytics"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalyticsApi;

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

public class AnalyticsApiExample {

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

public class AnalyticsApiExample {

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

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

[apiInstance apiV1AnalyticsGetWithCompletionHandler: 
              ^(AnalyticEventPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AnalyticsApi();

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

$api_instance = new Swagger\Client\ApiAnalyticsApi();

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

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

eval { 
    my $result = $api_instance->apiV1AnalyticsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AnalyticsApi->apiV1AnalyticsGet: $@\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.AnalyticsApi()

try: 
    api_response = api_instance.api_v1_analytics_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AnalyticsApi->apiV1AnalyticsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AnalyticsIdGet


/api/v1/analytics/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/analytics/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalyticsApi;

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

public class AnalyticsApiExample {

    public static void main(String[] args) {
        
        AnalyticsApi apiInstance = new AnalyticsApi();
        Long id = 789; // Long | 
        try {
            AnalyticEvent result = apiInstance.apiV1AnalyticsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalyticsApi#apiV1AnalyticsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AnalyticsApi;

public class AnalyticsApiExample {

    public static void main(String[] args) {
        AnalyticsApi apiInstance = new AnalyticsApi();
        Long id = 789; // Long | 
        try {
            AnalyticEvent result = apiInstance.apiV1AnalyticsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalyticsApi#apiV1AnalyticsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AnalyticsIdGetWith:id
              completionHandler: ^(AnalyticEvent output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AnalyticsApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AnalyticsApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAnalyticsApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::AnalyticsApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1AnalyticsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AnalyticsApi->apiV1AnalyticsIdGet: $@\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.AnalyticsApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_analytics_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AnalyticsApi->apiV1AnalyticsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AnalyticsPost


/api/v1/analytics

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/analytics"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalyticsApi;

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

public class AnalyticsApiExample {

    public static void main(String[] args) {
        
        AnalyticsApi apiInstance = new AnalyticsApi();
        AnalyticEvent body = ; // AnalyticEvent | 
        try {
            apiInstance.apiV1AnalyticsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalyticsApi#apiV1AnalyticsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AnalyticsApi;

public class AnalyticsApiExample {

    public static void main(String[] args) {
        AnalyticsApi apiInstance = new AnalyticsApi();
        AnalyticEvent body = ; // AnalyticEvent | 
        try {
            apiInstance.apiV1AnalyticsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalyticsApi#apiV1AnalyticsPost");
            e.printStackTrace();
        }
    }
}
AnalyticEvent *body = ; //  (optional)

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

[apiInstance apiV1AnalyticsPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AnalyticsApi()
var opts = { 
  'body':  // {{AnalyticEvent}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1AnalyticsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AnalyticsApi();
            var body = new AnalyticEvent(); // AnalyticEvent |  (optional) 

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

$api_instance = new Swagger\Client\ApiAnalyticsApi();
$body = ; // AnalyticEvent | 

try {
    $api_instance->apiV1AnalyticsPost($body);
} catch (Exception $e) {
    echo 'Exception when calling AnalyticsApi->apiV1AnalyticsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AnalyticsApi;

my $api_instance = WWW::SwaggerClient::AnalyticsApi->new();
my $body = WWW::SwaggerClient::Object::AnalyticEvent->new(); # AnalyticEvent | 

eval { 
    $api_instance->apiV1AnalyticsPost(body => $body);
};
if ($@) {
    warn "Exception when calling AnalyticsApi->apiV1AnalyticsPost: $@\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.AnalyticsApi()
body =  # AnalyticEvent |  (optional)

try: 
    api_instance.api_v1_analytics_post(body=body)
except ApiException as e:
    print("Exception when calling AnalyticsApi->apiV1AnalyticsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1AnalyticsSearchGet


/api/v1/analytics/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/analytics/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalyticsApi;

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

public class AnalyticsApiExample {

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

public class AnalyticsApiExample {

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

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

[apiInstance apiV1AnalyticsSearchGetWithCompletionHandler: 
              ^(AnalyticEventPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AnalyticsApi();

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

$api_instance = new Swagger\Client\ApiAnalyticsApi();

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

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

eval { 
    my $result = $api_instance->apiV1AnalyticsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AnalyticsApi->apiV1AnalyticsSearchGet: $@\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.AnalyticsApi()

try: 
    api_response = api_instance.api_v1_analytics_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AnalyticsApi->apiV1AnalyticsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Asset

apiV1AssetsGet


/api/v1/assets

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/assets"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

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

public class AssetApiExample {

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

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

[apiInstance apiV1AssetsGetWithCompletionHandler: 
              ^(AssetPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetApi();

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

$api_instance = new Swagger\Client\ApiAssetApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetApi->apiV1AssetsGet: $@\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.AssetApi()

try: 
    api_response = api_instance.api_v1_assets_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AssetsIdDelete


/api/v1/assets/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/assets/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

    public static void main(String[] args) {
        
        AssetApi apiInstance = new AssetApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AssetsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetApi;

public class AssetApiExample {

    public static void main(String[] args) {
        AssetApi apiInstance = new AssetApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AssetsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AssetsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AssetApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAssetApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1AssetsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling AssetApi->apiV1AssetsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AssetApi;

my $api_instance = WWW::SwaggerClient::AssetApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1AssetsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling AssetApi->apiV1AssetsIdDelete: $@\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.AssetApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_assets_id_delete(id)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AssetsIdGet


/api/v1/assets/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/assets/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

    public static void main(String[] args) {
        
        AssetApi apiInstance = new AssetApi();
        Long id = 789; // Long | 
        try {
            Asset result = apiInstance.apiV1AssetsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetApi;

public class AssetApiExample {

    public static void main(String[] args) {
        AssetApi apiInstance = new AssetApi();
        Long id = 789; // Long | 
        try {
            Asset result = apiInstance.apiV1AssetsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AssetsIdGetWith:id
              completionHandler: ^(Asset output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AssetApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAssetApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::AssetApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1AssetsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetApi->apiV1AssetsIdGet: $@\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.AssetApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_assets_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AssetsPost


/api/v1/assets

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json"\
"https://api.modist.co/api/v1/assets"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

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

public class AssetApiExample {

    public static void main(String[] args) {
        AssetApi apiInstance = new AssetApi();
        Asset body = ; // Asset | 
        try {
            Asset result = apiInstance.apiV1AssetsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsPost");
            e.printStackTrace();
        }
    }
}
Asset *body = ; //  (optional)

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

[apiInstance apiV1AssetsPostWith:body
              completionHandler: ^(Asset output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetApi()
var opts = { 
  'body':  // {{Asset}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1AssetsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AssetApi();
            var body = new Asset(); // Asset |  (optional) 

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

$api_instance = new Swagger\Client\ApiAssetApi();
$body = ; // Asset | 

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

my $api_instance = WWW::SwaggerClient::AssetApi->new();
my $body = WWW::SwaggerClient::Object::Asset->new(); # Asset | 

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

try: 
    api_response = api_instance.api_v1_assets_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1AssetsPut


/api/v1/assets

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/assets"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

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

public class AssetApiExample {

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

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

[apiInstance apiV1AssetsPutWithCompletionHandler: 
              ^(Asset output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetApi();

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

$api_instance = new Swagger\Client\ApiAssetApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetApi->apiV1AssetsPut: $@\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.AssetApi()

try: 
    api_response = api_instance.api_v1_assets_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AssetsResavePost


/api/v1/assets/resave

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/assets/resave"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

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

public class AssetApiExample {

    public static void main(String[] args) {
        AssetApi apiInstance = new AssetApi();
        Asset body = ; // Asset | 
        try {
            Asset result = apiInstance.apiV1AssetsResavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetApi#apiV1AssetsResavePost");
            e.printStackTrace();
        }
    }
}
Asset *body = ; //  (optional)

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

[apiInstance apiV1AssetsResavePostWith:body
              completionHandler: ^(Asset output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetApi()
var opts = { 
  'body':  // {{Asset}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1AssetsResavePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AssetApi();
            var body = new Asset(); // Asset |  (optional) 

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

$api_instance = new Swagger\Client\ApiAssetApi();
$body = ; // Asset | 

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

my $api_instance = WWW::SwaggerClient::AssetApi->new();
my $body = WWW::SwaggerClient::Object::Asset->new(); # Asset | 

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

try: 
    api_response = api_instance.api_v1_assets_resave_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsResavePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1AssetsSearchGet


/api/v1/assets/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/assets/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetApi;

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

public class AssetApiExample {

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

public class AssetApiExample {

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

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

[apiInstance apiV1AssetsSearchGetWithCompletionHandler: 
              ^(AssetPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetApi();

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

$api_instance = new Swagger\Client\ApiAssetApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetApi->apiV1AssetsSearchGet: $@\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.AssetApi()

try: 
    api_response = api_instance.api_v1_assets_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetApi->apiV1AssetsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


AssetSource

apiV1AssetSourcesGet


/api/v1/asset-sources

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/asset-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

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

public class AssetSourceApiExample {

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

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

[apiInstance apiV1AssetSourcesGetWithCompletionHandler: 
              ^(AssetSourcePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetSourceApi();

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetSourcesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetSourceApi->apiV1AssetSourcesGet: $@\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.AssetSourceApi()

try: 
    api_response = api_instance.api_v1_asset_sources_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AssetSourcesIdDelete


/api/v1/asset-sources/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/asset-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

    public static void main(String[] args) {
        
        AssetSourceApi apiInstance = new AssetSourceApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AssetSourcesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetSourceApi#apiV1AssetSourcesIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetSourceApi;

public class AssetSourceApiExample {

    public static void main(String[] args) {
        AssetSourceApi apiInstance = new AssetSourceApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1AssetSourcesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetSourceApi#apiV1AssetSourcesIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AssetSourcesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetSourceApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AssetSourceApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1AssetSourcesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling AssetSourceApi->apiV1AssetSourcesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AssetSourceApi;

my $api_instance = WWW::SwaggerClient::AssetSourceApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1AssetSourcesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling AssetSourceApi->apiV1AssetSourcesIdDelete: $@\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.AssetSourceApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_asset_sources_id_delete(id)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AssetSourcesIdGet


/api/v1/asset-sources/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/asset-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

    public static void main(String[] args) {
        
        AssetSourceApi apiInstance = new AssetSourceApi();
        Long id = 789; // Long | 
        try {
            AssetSource result = apiInstance.apiV1AssetSourcesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetSourceApi#apiV1AssetSourcesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AssetSourceApi;

public class AssetSourceApiExample {

    public static void main(String[] args) {
        AssetSourceApi apiInstance = new AssetSourceApi();
        Long id = 789; // Long | 
        try {
            AssetSource result = apiInstance.apiV1AssetSourcesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetSourceApi#apiV1AssetSourcesIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AssetSourcesIdGetWith:id
              completionHandler: ^(AssetSource output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetSourceApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AssetSourceApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::AssetSourceApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1AssetSourcesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetSourceApi->apiV1AssetSourcesIdGet: $@\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.AssetSourceApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_asset_sources_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AssetSourcesPost


/api/v1/asset-sources

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/asset-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

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

public class AssetSourceApiExample {

    public static void main(String[] args) {
        AssetSourceApi apiInstance = new AssetSourceApi();
        AssetSource body = ; // AssetSource | 
        try {
            AssetSource result = apiInstance.apiV1AssetSourcesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AssetSourceApi#apiV1AssetSourcesPost");
            e.printStackTrace();
        }
    }
}
AssetSource *body = ; //  (optional)

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

[apiInstance apiV1AssetSourcesPostWith:body
              completionHandler: ^(AssetSource output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AssetSourceApi()
var opts = { 
  'body':  // {{AssetSource}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1AssetSourcesPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AssetSourceApi();
            var body = new AssetSource(); // AssetSource |  (optional) 

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();
$body = ; // AssetSource | 

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

my $api_instance = WWW::SwaggerClient::AssetSourceApi->new();
my $body = WWW::SwaggerClient::Object::AssetSource->new(); # AssetSource | 

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

try: 
    api_response = api_instance.api_v1_asset_sources_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1AssetSourcesPut


/api/v1/asset-sources

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/asset-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

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

public class AssetSourceApiExample {

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

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

[apiInstance apiV1AssetSourcesPutWithCompletionHandler: 
              ^(AssetSource output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetSourceApi();

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetSourcesPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetSourceApi->apiV1AssetSourcesPut: $@\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.AssetSourceApi()

try: 
    api_response = api_instance.api_v1_asset_sources_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AssetSourcesSearchGet


/api/v1/asset-sources/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/asset-sources/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetSourceApi;

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

public class AssetSourceApiExample {

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

public class AssetSourceApiExample {

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

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

[apiInstance apiV1AssetSourcesSearchGetWithCompletionHandler: 
              ^(AssetSourcePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AssetSourceApi();

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

$api_instance = new Swagger\Client\ApiAssetSourceApi();

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

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

eval { 
    my $result = $api_instance->apiV1AssetSourcesSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AssetSourceApi->apiV1AssetSourcesSearchGet: $@\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.AssetSourceApi()

try: 
    api_response = api_instance.api_v1_asset_sources_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssetSourceApi->apiV1AssetSourcesSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Audit

apiV1AuditGet


/api/v1/audit

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/audit"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuditApi;

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

public class AuditApiExample {

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

public class AuditApiExample {

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

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

[apiInstance apiV1AuditGetWithCompletionHandler: 
              ^(AuditEntryPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AuditApi();

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

$api_instance = new Swagger\Client\ApiAuditApi();

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

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

eval { 
    my $result = $api_instance->apiV1AuditGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuditApi->apiV1AuditGet: $@\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.AuditApi()

try: 
    api_response = api_instance.api_v1_audit_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuditApi->apiV1AuditGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1AuditIdGet


/api/v1/audit/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/audit/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuditApi;

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

public class AuditApiExample {

    public static void main(String[] args) {
        
        AuditApi apiInstance = new AuditApi();
        Long id = 789; // Long | 
        try {
            AuditEntry result = apiInstance.apiV1AuditIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuditApi#apiV1AuditIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuditApi;

public class AuditApiExample {

    public static void main(String[] args) {
        AuditApi apiInstance = new AuditApi();
        Long id = 789; // Long | 
        try {
            AuditEntry result = apiInstance.apiV1AuditIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuditApi#apiV1AuditIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1AuditIdGetWith:id
              completionHandler: ^(AuditEntry output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.AuditApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new AuditApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiAuditApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::AuditApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1AuditIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuditApi->apiV1AuditIdGet: $@\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.AuditApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_audit_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuditApi->apiV1AuditIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1AuditSearchGet


/api/v1/audit/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/audit/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuditApi;

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

public class AuditApiExample {

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

public class AuditApiExample {

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

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

[apiInstance apiV1AuditSearchGetWithCompletionHandler: 
              ^(AuditEntryPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new AuditApi();

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

$api_instance = new Swagger\Client\ApiAuditApi();

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

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

eval { 
    my $result = $api_instance->apiV1AuditSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuditApi->apiV1AuditSearchGet: $@\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.AuditApi()

try: 
    api_response = api_instance.api_v1_audit_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuditApi->apiV1AuditSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Brand

apiV1BrandsGet


/api/v1/brands

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/brands"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

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

public class BrandApiExample {

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

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

[apiInstance apiV1BrandsGetWithCompletionHandler: 
              ^(BrandPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new BrandApi();

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

$api_instance = new Swagger\Client\ApiBrandApi();

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

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

eval { 
    my $result = $api_instance->apiV1BrandsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BrandApi->apiV1BrandsGet: $@\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.BrandApi()

try: 
    api_response = api_instance.api_v1_brands_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1BrandsIdDelete


/api/v1/brands/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/brands/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

    public static void main(String[] args) {
        
        BrandApi apiInstance = new BrandApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1BrandsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BrandApi#apiV1BrandsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BrandApi;

public class BrandApiExample {

    public static void main(String[] args) {
        BrandApi apiInstance = new BrandApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1BrandsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BrandApi#apiV1BrandsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1BrandsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.BrandApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new BrandApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiBrandApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1BrandsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling BrandApi->apiV1BrandsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::BrandApi;

my $api_instance = WWW::SwaggerClient::BrandApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1BrandsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling BrandApi->apiV1BrandsIdDelete: $@\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.BrandApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_brands_id_delete(id)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1BrandsIdGet


/api/v1/brands/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/brands/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

    public static void main(String[] args) {
        
        BrandApi apiInstance = new BrandApi();
        Long id = 789; // Long | 
        try {
            Brand result = apiInstance.apiV1BrandsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BrandApi#apiV1BrandsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BrandApi;

public class BrandApiExample {

    public static void main(String[] args) {
        BrandApi apiInstance = new BrandApi();
        Long id = 789; // Long | 
        try {
            Brand result = apiInstance.apiV1BrandsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BrandApi#apiV1BrandsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1BrandsIdGetWith:id
              completionHandler: ^(Brand output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.BrandApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new BrandApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiBrandApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::BrandApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1BrandsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BrandApi->apiV1BrandsIdGet: $@\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.BrandApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_brands_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1BrandsPost


/api/v1/brands

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/brands"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

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

public class BrandApiExample {

    public static void main(String[] args) {
        BrandApi apiInstance = new BrandApi();
        Brand body = ; // Brand | 
        try {
            Brand result = apiInstance.apiV1BrandsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BrandApi#apiV1BrandsPost");
            e.printStackTrace();
        }
    }
}
Brand *body = ; //  (optional)

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

[apiInstance apiV1BrandsPostWith:body
              completionHandler: ^(Brand output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.BrandApi()
var opts = { 
  'body':  // {{Brand}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1BrandsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new BrandApi();
            var body = new Brand(); // Brand |  (optional) 

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

$api_instance = new Swagger\Client\ApiBrandApi();
$body = ; // Brand | 

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

my $api_instance = WWW::SwaggerClient::BrandApi->new();
my $body = WWW::SwaggerClient::Object::Brand->new(); # Brand | 

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

try: 
    api_response = api_instance.api_v1_brands_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1BrandsPut


/api/v1/brands

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/brands"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

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

public class BrandApiExample {

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

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

[apiInstance apiV1BrandsPutWithCompletionHandler: 
              ^(Brand output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new BrandApi();

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

$api_instance = new Swagger\Client\ApiBrandApi();

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

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

eval { 
    my $result = $api_instance->apiV1BrandsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BrandApi->apiV1BrandsPut: $@\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.BrandApi()

try: 
    api_response = api_instance.api_v1_brands_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1BrandsSearchGet


/api/v1/brands/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/brands/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BrandApi;

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

public class BrandApiExample {

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

public class BrandApiExample {

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

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

[apiInstance apiV1BrandsSearchGetWithCompletionHandler: 
              ^(BrandPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new BrandApi();

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

$api_instance = new Swagger\Client\ApiBrandApi();

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

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

eval { 
    my $result = $api_instance->apiV1BrandsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BrandApi->apiV1BrandsSearchGet: $@\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.BrandApi()

try: 
    api_response = api_instance.api_v1_brands_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BrandApi->apiV1BrandsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


CallService

apiV1CallServicesGet


/api/v1/call-services

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/call-services"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

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

public class CallServiceApiExample {

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

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

[apiInstance apiV1CallServicesGetWithCompletionHandler: 
              ^(CallServicePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CallServiceApi();

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

$api_instance = new Swagger\Client\ApiCallServiceApi();

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

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

eval { 
    my $result = $api_instance->apiV1CallServicesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CallServiceApi->apiV1CallServicesGet: $@\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.CallServiceApi()

try: 
    api_response = api_instance.api_v1_call_services_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1CallServicesIdDelete


/api/v1/call-services/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/call-services/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

    public static void main(String[] args) {
        
        CallServiceApi apiInstance = new CallServiceApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1CallServicesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallServiceApi#apiV1CallServicesIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CallServiceApi;

public class CallServiceApiExample {

    public static void main(String[] args) {
        CallServiceApi apiInstance = new CallServiceApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1CallServicesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallServiceApi#apiV1CallServicesIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1CallServicesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CallServiceApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new CallServiceApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiCallServiceApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1CallServicesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling CallServiceApi->apiV1CallServicesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CallServiceApi;

my $api_instance = WWW::SwaggerClient::CallServiceApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1CallServicesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling CallServiceApi->apiV1CallServicesIdDelete: $@\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.CallServiceApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_call_services_id_delete(id)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1CallServicesIdGet


/api/v1/call-services/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/call-services/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

    public static void main(String[] args) {
        
        CallServiceApi apiInstance = new CallServiceApi();
        Long id = 789; // Long | 
        try {
            CallService result = apiInstance.apiV1CallServicesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallServiceApi#apiV1CallServicesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CallServiceApi;

public class CallServiceApiExample {

    public static void main(String[] args) {
        CallServiceApi apiInstance = new CallServiceApi();
        Long id = 789; // Long | 
        try {
            CallService result = apiInstance.apiV1CallServicesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallServiceApi#apiV1CallServicesIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1CallServicesIdGetWith:id
              completionHandler: ^(CallService output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CallServiceApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new CallServiceApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiCallServiceApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::CallServiceApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1CallServicesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CallServiceApi->apiV1CallServicesIdGet: $@\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.CallServiceApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_call_services_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1CallServicesPost


/api/v1/call-services

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/call-services"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

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

public class CallServiceApiExample {

    public static void main(String[] args) {
        CallServiceApi apiInstance = new CallServiceApi();
        CallService body = ; // CallService | 
        try {
            CallService result = apiInstance.apiV1CallServicesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CallServiceApi#apiV1CallServicesPost");
            e.printStackTrace();
        }
    }
}
CallService *body = ; //  (optional)

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

[apiInstance apiV1CallServicesPostWith:body
              completionHandler: ^(CallService output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CallServiceApi()
var opts = { 
  'body':  // {{CallService}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1CallServicesPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new CallServiceApi();
            var body = new CallService(); // CallService |  (optional) 

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

$api_instance = new Swagger\Client\ApiCallServiceApi();
$body = ; // CallService | 

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

my $api_instance = WWW::SwaggerClient::CallServiceApi->new();
my $body = WWW::SwaggerClient::Object::CallService->new(); # CallService | 

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

try: 
    api_response = api_instance.api_v1_call_services_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1CallServicesPut


/api/v1/call-services

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/call-services"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

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

public class CallServiceApiExample {

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

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

[apiInstance apiV1CallServicesPutWithCompletionHandler: 
              ^(CallService output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CallServiceApi();

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

$api_instance = new Swagger\Client\ApiCallServiceApi();

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

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

eval { 
    my $result = $api_instance->apiV1CallServicesPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CallServiceApi->apiV1CallServicesPut: $@\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.CallServiceApi()

try: 
    api_response = api_instance.api_v1_call_services_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1CallServicesSearchGet


/api/v1/call-services/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/call-services/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallServiceApi;

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

public class CallServiceApiExample {

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

public class CallServiceApiExample {

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

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

[apiInstance apiV1CallServicesSearchGetWithCompletionHandler: 
              ^(CallServicePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CallServiceApi();

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

$api_instance = new Swagger\Client\ApiCallServiceApi();

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

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

eval { 
    my $result = $api_instance->apiV1CallServicesSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CallServiceApi->apiV1CallServicesSearchGet: $@\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.CallServiceApi()

try: 
    api_response = api_instance.api_v1_call_services_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CallServiceApi->apiV1CallServicesSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Chat

apiV1ChatCustomerCustomerIdGet


/api/v1/chat/customer/{customerId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/chat/customer/{customerId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChatApi;

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

public class ChatApiExample {

    public static void main(String[] args) {
        
        ChatApi apiInstance = new ChatApi();
        Long customerId = 789; // Long | 
        try {
            MessagePagingList result = apiInstance.apiV1ChatCustomerCustomerIdGet(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatCustomerCustomerIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChatApi;

public class ChatApiExample {

    public static void main(String[] args) {
        ChatApi apiInstance = new ChatApi();
        Long customerId = 789; // Long | 
        try {
            MessagePagingList result = apiInstance.apiV1ChatCustomerCustomerIdGet(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatCustomerCustomerIdGet");
            e.printStackTrace();
        }
    }
}
Long *customerId = 789; // 

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

[apiInstance apiV1ChatCustomerCustomerIdGetWith:customerId
              completionHandler: ^(MessagePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ChatApi()
var customerId = 789; // {{Long}} 

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

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

            var apiInstance = new ChatApi();
            var customerId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiChatApi();
$customerId = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ChatApi->new();
my $customerId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ChatCustomerCustomerIdGet(customerId => $customerId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChatApi->apiV1ChatCustomerCustomerIdGet: $@\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.ChatApi()
customerId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_chat_customer_customer_id_get(customerId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChatApi->apiV1ChatCustomerCustomerIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
customerId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ChatRoomIdGet


/api/v1/chat/{roomId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/chat/{roomId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChatApi;

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

public class ChatApiExample {

    public static void main(String[] args) {
        
        ChatApi apiInstance = new ChatApi();
        Long roomId = 789; // Long | 
        try {
            MessagePagingList result = apiInstance.apiV1ChatRoomIdGet(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatRoomIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChatApi;

public class ChatApiExample {

    public static void main(String[] args) {
        ChatApi apiInstance = new ChatApi();
        Long roomId = 789; // Long | 
        try {
            MessagePagingList result = apiInstance.apiV1ChatRoomIdGet(roomId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatRoomIdGet");
            e.printStackTrace();
        }
    }
}
Long *roomId = 789; // 

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

[apiInstance apiV1ChatRoomIdGetWith:roomId
              completionHandler: ^(MessagePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ChatApi()
var roomId = 789; // {{Long}} 

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

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

            var apiInstance = new ChatApi();
            var roomId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiChatApi();
$roomId = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ChatApi->new();
my $roomId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ChatRoomIdGet(roomId => $roomId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChatApi->apiV1ChatRoomIdGet: $@\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.ChatApi()
roomId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_chat_room_id_get(roomId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChatApi->apiV1ChatRoomIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
roomId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ChatRoomIdPost


/api/v1/chat/{roomId}

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/chat/{roomId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChatApi;

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

public class ChatApiExample {

    public static void main(String[] args) {
        
        ChatApi apiInstance = new ChatApi();
        Long roomId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1ChatRoomIdPost(roomId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatRoomIdPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChatApi;

public class ChatApiExample {

    public static void main(String[] args) {
        ChatApi apiInstance = new ChatApi();
        Long roomId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1ChatRoomIdPost(roomId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChatApi#apiV1ChatRoomIdPost");
            e.printStackTrace();
        }
    }
}
Long *roomId = 789; // 
Message *body = ; //  (optional)

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

[apiInstance apiV1ChatRoomIdPostWith:roomId
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ChatApi()
var roomId = 789; // {{Long}} 
var opts = { 
  'body':  // {{Message}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1ChatRoomIdPost(roomId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ChatApi();
            var roomId = 789;  // Long | 
            var body = new Message(); // Message |  (optional) 

            try
            {
                apiInstance.apiV1ChatRoomIdPost(roomId, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChatApi.apiV1ChatRoomIdPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiChatApi();
$roomId = 789; // Long | 
$body = ; // Message | 

try {
    $api_instance->apiV1ChatRoomIdPost($roomId, $body);
} catch (Exception $e) {
    echo 'Exception when calling ChatApi->apiV1ChatRoomIdPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ChatApi;

my $api_instance = WWW::SwaggerClient::ChatApi->new();
my $roomId = 789; # Long | 
my $body = WWW::SwaggerClient::Object::Message->new(); # Message | 

eval { 
    $api_instance->apiV1ChatRoomIdPost(roomId => $roomId, body => $body);
};
if ($@) {
    warn "Exception when calling ChatApi->apiV1ChatRoomIdPost: $@\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.ChatApi()
roomId = 789 # Long | 
body =  # Message |  (optional)

try: 
    api_instance.api_v1_chat_room_id_post(roomId, body=body)
except ApiException as e:
    print("Exception when calling ChatApi->apiV1ChatRoomIdPost: %s\n" % e)

Parameters

Path parameters
Name Description
roomId*
Long (int64)
Required
Body parameters
Name Description
body

Responses

Status: 200 - Success


Customers

apiV1CustomersCustomerIdNotesPost


/api/v1/customers/{customerId}/notes

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/customers/{customerId}/notes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Long customerId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1CustomersCustomerIdNotesPost(customerId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersCustomerIdNotesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Long customerId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1CustomersCustomerIdNotesPost(customerId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersCustomerIdNotesPost");
            e.printStackTrace();
        }
    }
}
Long *customerId = 789; // 
Message *body = ; //  (optional)

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

[apiInstance apiV1CustomersCustomerIdNotesPostWith:customerId
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CustomersApi()
var customerId = 789; // {{Long}} 
var opts = { 
  'body':  // {{Message}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1CustomersCustomerIdNotesPost(customerId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new CustomersApi();
            var customerId = 789;  // Long | 
            var body = new Message(); // Message |  (optional) 

            try
            {
                apiInstance.apiV1CustomersCustomerIdNotesPost(customerId, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.apiV1CustomersCustomerIdNotesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomersApi();
$customerId = 789; // Long | 
$body = ; // Message | 

try {
    $api_instance->apiV1CustomersCustomerIdNotesPost($customerId, $body);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->apiV1CustomersCustomerIdNotesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $customerId = 789; # Long | 
my $body = WWW::SwaggerClient::Object::Message->new(); # Message | 

eval { 
    $api_instance->apiV1CustomersCustomerIdNotesPost(customerId => $customerId, body => $body);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersCustomerIdNotesPost: $@\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.CustomersApi()
customerId = 789 # Long | 
body =  # Message |  (optional)

try: 
    api_instance.api_v1_customers_customer_id_notes_post(customerId, body=body)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersCustomerIdNotesPost: %s\n" % e)

Parameters

Path parameters
Name Description
customerId*
Long (int64)
Required
Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1CustomersGet


/api/v1/customers

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

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

public class CustomersApiExample {

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

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

[apiInstance apiV1CustomersGetWithCompletionHandler: 
              ^(CustomerPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CustomersApi();

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

$api_instance = new Swagger\Client\ApiCustomersApi();

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

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

eval { 
    my $result = $api_instance->apiV1CustomersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersGet: $@\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.CustomersApi()

try: 
    api_response = api_instance.api_v1_customers_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1CustomersIdDelete


/api/v1/customers/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1CustomersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1CustomersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1CustomersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CustomersApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new CustomersApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiCustomersApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1CustomersIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->apiV1CustomersIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1CustomersIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersIdDelete: $@\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.CustomersApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_customers_id_delete(id)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1CustomersIdGet


/api/v1/customers/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/customers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        Long id = 789; // Long | 
        try {
            Customer result = apiInstance.apiV1CustomersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Long id = 789; // Long | 
        try {
            Customer result = apiInstance.apiV1CustomersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1CustomersIdGetWith:id
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CustomersApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new CustomersApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiCustomersApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1CustomersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersIdGet: $@\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.CustomersApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_customers_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1CustomersPost


/api/v1/customers

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

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

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        Customer body = ; // Customer | 
        try {
            Customer result = apiInstance.apiV1CustomersPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#apiV1CustomersPost");
            e.printStackTrace();
        }
    }
}
Customer *body = ; //  (optional)

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

[apiInstance apiV1CustomersPostWith:body
              completionHandler: ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.CustomersApi()
var opts = { 
  'body':  // {{Customer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1CustomersPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new CustomersApi();
            var body = new Customer(); // Customer |  (optional) 

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

$api_instance = new Swagger\Client\ApiCustomersApi();
$body = ; // Customer | 

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

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $body = WWW::SwaggerClient::Object::Customer->new(); # Customer | 

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

try: 
    api_response = api_instance.api_v1_customers_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1CustomersPut


/api/v1/customers

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/customers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

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

public class CustomersApiExample {

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

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

[apiInstance apiV1CustomersPutWithCompletionHandler: 
              ^(Customer output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CustomersApi();

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

$api_instance = new Swagger\Client\ApiCustomersApi();

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

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

eval { 
    my $result = $api_instance->apiV1CustomersPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersPut: $@\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.CustomersApi()

try: 
    api_response = api_instance.api_v1_customers_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1CustomersSearchGet


/api/v1/customers/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/customers/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

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

public class CustomersApiExample {

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

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

[apiInstance apiV1CustomersSearchGetWithCompletionHandler: 
              ^(CustomerPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new CustomersApi();

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

$api_instance = new Swagger\Client\ApiCustomersApi();

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

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

eval { 
    my $result = $api_instance->apiV1CustomersSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->apiV1CustomersSearchGet: $@\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.CustomersApi()

try: 
    api_response = api_instance.api_v1_customers_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->apiV1CustomersSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Environment

routesGet


/routes

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/routes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EnvironmentApi;

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

public class EnvironmentApiExample {

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

public class EnvironmentApiExample {

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

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

[apiInstance routesGetWithCompletionHandler: 
              ^(array[StringStringTuple] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new EnvironmentApi();

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

$api_instance = new Swagger\Client\ApiEnvironmentApi();

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

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

eval { 
    my $result = $api_instance->routesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EnvironmentApi->routesGet: $@\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.EnvironmentApi()

try: 
    api_response = api_instance.routes_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EnvironmentApi->routesGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Fulfilment

apiV1FulfilmentGet


/api/v1/fulfilment

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/fulfilment"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

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

public class FulfilmentApiExample {

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

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

[apiInstance apiV1FulfilmentGetWithCompletionHandler: 
              ^(FulfilmentProviderPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new FulfilmentApi();

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();

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

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

eval { 
    my $result = $api_instance->apiV1FulfilmentGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FulfilmentApi->apiV1FulfilmentGet: $@\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.FulfilmentApi()

try: 
    api_response = api_instance.api_v1_fulfilment_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1FulfilmentIdDelete


/api/v1/fulfilment/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/fulfilment/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

    public static void main(String[] args) {
        
        FulfilmentApi apiInstance = new FulfilmentApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1FulfilmentIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling FulfilmentApi#apiV1FulfilmentIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FulfilmentApi;

public class FulfilmentApiExample {

    public static void main(String[] args) {
        FulfilmentApi apiInstance = new FulfilmentApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1FulfilmentIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling FulfilmentApi#apiV1FulfilmentIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1FulfilmentIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.FulfilmentApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new FulfilmentApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1FulfilmentIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling FulfilmentApi->apiV1FulfilmentIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FulfilmentApi;

my $api_instance = WWW::SwaggerClient::FulfilmentApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1FulfilmentIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling FulfilmentApi->apiV1FulfilmentIdDelete: $@\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.FulfilmentApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_fulfilment_id_delete(id)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1FulfilmentIdGet


/api/v1/fulfilment/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/fulfilment/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

    public static void main(String[] args) {
        
        FulfilmentApi apiInstance = new FulfilmentApi();
        Long id = 789; // Long | 
        try {
            FulfilmentProvider result = apiInstance.apiV1FulfilmentIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FulfilmentApi#apiV1FulfilmentIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FulfilmentApi;

public class FulfilmentApiExample {

    public static void main(String[] args) {
        FulfilmentApi apiInstance = new FulfilmentApi();
        Long id = 789; // Long | 
        try {
            FulfilmentProvider result = apiInstance.apiV1FulfilmentIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FulfilmentApi#apiV1FulfilmentIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1FulfilmentIdGetWith:id
              completionHandler: ^(FulfilmentProvider output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.FulfilmentApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new FulfilmentApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::FulfilmentApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1FulfilmentIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FulfilmentApi->apiV1FulfilmentIdGet: $@\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.FulfilmentApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_fulfilment_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1FulfilmentPost


/api/v1/fulfilment

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/fulfilment"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

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

public class FulfilmentApiExample {

    public static void main(String[] args) {
        FulfilmentApi apiInstance = new FulfilmentApi();
        FulfilmentProvider body = ; // FulfilmentProvider | 
        try {
            FulfilmentProvider result = apiInstance.apiV1FulfilmentPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FulfilmentApi#apiV1FulfilmentPost");
            e.printStackTrace();
        }
    }
}
FulfilmentProvider *body = ; //  (optional)

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

[apiInstance apiV1FulfilmentPostWith:body
              completionHandler: ^(FulfilmentProvider output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.FulfilmentApi()
var opts = { 
  'body':  // {{FulfilmentProvider}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1FulfilmentPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FulfilmentApi();
            var body = new FulfilmentProvider(); // FulfilmentProvider |  (optional) 

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();
$body = ; // FulfilmentProvider | 

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

my $api_instance = WWW::SwaggerClient::FulfilmentApi->new();
my $body = WWW::SwaggerClient::Object::FulfilmentProvider->new(); # FulfilmentProvider | 

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

try: 
    api_response = api_instance.api_v1_fulfilment_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1FulfilmentPut


/api/v1/fulfilment

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/fulfilment"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

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

public class FulfilmentApiExample {

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

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

[apiInstance apiV1FulfilmentPutWithCompletionHandler: 
              ^(FulfilmentProvider output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new FulfilmentApi();

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();

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

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

eval { 
    my $result = $api_instance->apiV1FulfilmentPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FulfilmentApi->apiV1FulfilmentPut: $@\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.FulfilmentApi()

try: 
    api_response = api_instance.api_v1_fulfilment_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1FulfilmentSearchGet


/api/v1/fulfilment/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/fulfilment/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FulfilmentApi;

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

public class FulfilmentApiExample {

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

public class FulfilmentApiExample {

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

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

[apiInstance apiV1FulfilmentSearchGetWithCompletionHandler: 
              ^(FulfilmentProviderPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new FulfilmentApi();

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

$api_instance = new Swagger\Client\ApiFulfilmentApi();

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

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

eval { 
    my $result = $api_instance->apiV1FulfilmentSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FulfilmentApi->apiV1FulfilmentSearchGet: $@\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.FulfilmentApi()

try: 
    api_response = api_instance.api_v1_fulfilment_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FulfilmentApi->apiV1FulfilmentSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Integrations

apiV1IntegrationsClassNameTokenGet


/api/v1/integrations/{className}/token

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/integrations/{className}/token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IntegrationsApi;

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

public class IntegrationsApiExample {

    public static void main(String[] args) {
        
        IntegrationsApi apiInstance = new IntegrationsApi();
        String className = className_example; // String | 
        try {
            IntegrationTokenResult result = apiInstance.apiV1IntegrationsClassNameTokenGet(className);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsClassNameTokenGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IntegrationsApi;

public class IntegrationsApiExample {

    public static void main(String[] args) {
        IntegrationsApi apiInstance = new IntegrationsApi();
        String className = className_example; // String | 
        try {
            IntegrationTokenResult result = apiInstance.apiV1IntegrationsClassNameTokenGet(className);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsClassNameTokenGet");
            e.printStackTrace();
        }
    }
}
String *className = className_example; // 

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

[apiInstance apiV1IntegrationsClassNameTokenGetWith:className
              completionHandler: ^(IntegrationTokenResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.IntegrationsApi()
var className = className_example; // {{String}} 

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

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

            var apiInstance = new IntegrationsApi();
            var className = className_example;  // String | 

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

$api_instance = new Swagger\Client\ApiIntegrationsApi();
$className = className_example; // String | 

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

my $api_instance = WWW::SwaggerClient::IntegrationsApi->new();
my $className = className_example; # String | 

eval { 
    my $result = $api_instance->apiV1IntegrationsClassNameTokenGet(className => $className);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IntegrationsApi->apiV1IntegrationsClassNameTokenGet: $@\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.IntegrationsApi()
className = className_example # String | 

try: 
    api_response = api_instance.api_v1_integrations_class_name_token_get(className)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IntegrationsApi->apiV1IntegrationsClassNameTokenGet: %s\n" % e)

Parameters

Path parameters
Name Description
className*
String
Required

Responses

Status: 200 - Success


apiV1IntegrationsCreateTokenPost


/api/v1/integrations/createToken

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/integrations/createToken"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IntegrationsApi;

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

public class IntegrationsApiExample {

    public static void main(String[] args) {
        
        IntegrationsApi apiInstance = new IntegrationsApi();
        IntegrationTokenRequest body = ; // IntegrationTokenRequest | 
        try {
            IntegrationTokenResult result = apiInstance.apiV1IntegrationsCreateTokenPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsCreateTokenPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IntegrationsApi;

public class IntegrationsApiExample {

    public static void main(String[] args) {
        IntegrationsApi apiInstance = new IntegrationsApi();
        IntegrationTokenRequest body = ; // IntegrationTokenRequest | 
        try {
            IntegrationTokenResult result = apiInstance.apiV1IntegrationsCreateTokenPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsCreateTokenPost");
            e.printStackTrace();
        }
    }
}
IntegrationTokenRequest *body = ; //  (optional)

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

[apiInstance apiV1IntegrationsCreateTokenPostWith:body
              completionHandler: ^(IntegrationTokenResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.IntegrationsApi()
var opts = { 
  'body':  // {{IntegrationTokenRequest}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1IntegrationsCreateTokenPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new IntegrationsApi();
            var body = new IntegrationTokenRequest(); // IntegrationTokenRequest |  (optional) 

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

$api_instance = new Swagger\Client\ApiIntegrationsApi();
$body = ; // IntegrationTokenRequest | 

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

my $api_instance = WWW::SwaggerClient::IntegrationsApi->new();
my $body = WWW::SwaggerClient::Object::IntegrationTokenRequest->new(); # IntegrationTokenRequest | 

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

try: 
    api_response = api_instance.api_v1_integrations_create_token_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IntegrationsApi->apiV1IntegrationsCreateTokenPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1IntegrationsDelete


/api/v1/integrations

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/integrations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IntegrationsApi;

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

public class IntegrationsApiExample {

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

public class IntegrationsApiExample {

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

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

[apiInstance apiV1IntegrationsDeleteWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.IntegrationsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1IntegrationsDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new IntegrationsApi();

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

$api_instance = new Swagger\Client\ApiIntegrationsApi();

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

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

eval { 
    $api_instance->apiV1IntegrationsDelete();
};
if ($@) {
    warn "Exception when calling IntegrationsApi->apiV1IntegrationsDelete: $@\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.IntegrationsApi()

try: 
    api_instance.api_v1_integrations_delete()
except ApiException as e:
    print("Exception when calling IntegrationsApi->apiV1IntegrationsDelete: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1IntegrationsGet


/api/v1/integrations

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/integrations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IntegrationsApi;

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

public class IntegrationsApiExample {

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

public class IntegrationsApiExample {

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

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

[apiInstance apiV1IntegrationsGetWithCompletionHandler: 
              ^(IntegrationPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new IntegrationsApi();

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

$api_instance = new Swagger\Client\ApiIntegrationsApi();

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

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

eval { 
    my $result = $api_instance->apiV1IntegrationsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IntegrationsApi->apiV1IntegrationsGet: $@\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.IntegrationsApi()

try: 
    api_response = api_instance.api_v1_integrations_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IntegrationsApi->apiV1IntegrationsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1IntegrationsIdGet


/api/v1/integrations/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/integrations/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IntegrationsApi;

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

public class IntegrationsApiExample {

    public static void main(String[] args) {
        
        IntegrationsApi apiInstance = new IntegrationsApi();
        Long id = 789; // Long | 
        try {
            Integration result = apiInstance.apiV1IntegrationsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IntegrationsApi;

public class IntegrationsApiExample {

    public static void main(String[] args) {
        IntegrationsApi apiInstance = new IntegrationsApi();
        Long id = 789; // Long | 
        try {
            Integration result = apiInstance.apiV1IntegrationsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IntegrationsApi#apiV1IntegrationsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1IntegrationsIdGetWith:id
              completionHandler: ^(Integration output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.IntegrationsApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new IntegrationsApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiIntegrationsApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::IntegrationsApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1IntegrationsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IntegrationsApi->apiV1IntegrationsIdGet: $@\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.IntegrationsApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_integrations_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IntegrationsApi->apiV1IntegrationsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


Inventory

apiV1InventoryGet


/api/v1/inventory

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/inventory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

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

public class InventoryApiExample {

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

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

[apiInstance apiV1InventoryGetWithCompletionHandler: 
              ^(InventoryBatchPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new InventoryApi();

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

$api_instance = new Swagger\Client\ApiInventoryApi();

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

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

eval { 
    my $result = $api_instance->apiV1InventoryGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InventoryApi->apiV1InventoryGet: $@\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.InventoryApi()

try: 
    api_response = api_instance.api_v1_inventory_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventoryGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1InventoryIdDelete


/api/v1/inventory/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/inventory/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

    public static void main(String[] args) {
        
        InventoryApi apiInstance = new InventoryApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1InventoryIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling InventoryApi#apiV1InventoryIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InventoryApi;

public class InventoryApiExample {

    public static void main(String[] args) {
        InventoryApi apiInstance = new InventoryApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1InventoryIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling InventoryApi#apiV1InventoryIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1InventoryIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.InventoryApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new InventoryApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiInventoryApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1InventoryIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling InventoryApi->apiV1InventoryIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::InventoryApi;

my $api_instance = WWW::SwaggerClient::InventoryApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1InventoryIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling InventoryApi->apiV1InventoryIdDelete: $@\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.InventoryApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_inventory_id_delete(id)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventoryIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1InventoryIdGet


/api/v1/inventory/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/inventory/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

    public static void main(String[] args) {
        
        InventoryApi apiInstance = new InventoryApi();
        Long id = 789; // Long | 
        try {
            InventoryBatch result = apiInstance.apiV1InventoryIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InventoryApi#apiV1InventoryIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InventoryApi;

public class InventoryApiExample {

    public static void main(String[] args) {
        InventoryApi apiInstance = new InventoryApi();
        Long id = 789; // Long | 
        try {
            InventoryBatch result = apiInstance.apiV1InventoryIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InventoryApi#apiV1InventoryIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1InventoryIdGetWith:id
              completionHandler: ^(InventoryBatch output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.InventoryApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new InventoryApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiInventoryApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::InventoryApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1InventoryIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InventoryApi->apiV1InventoryIdGet: $@\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.InventoryApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_inventory_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventoryIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1InventoryPost


/api/v1/inventory

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/inventory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

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

public class InventoryApiExample {

    public static void main(String[] args) {
        InventoryApi apiInstance = new InventoryApi();
        InventoryBatch body = ; // InventoryBatch | 
        try {
            InventoryBatch result = apiInstance.apiV1InventoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InventoryApi#apiV1InventoryPost");
            e.printStackTrace();
        }
    }
}
InventoryBatch *body = ; //  (optional)

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

[apiInstance apiV1InventoryPostWith:body
              completionHandler: ^(InventoryBatch output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.InventoryApi()
var opts = { 
  'body':  // {{InventoryBatch}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1InventoryPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new InventoryApi();
            var body = new InventoryBatch(); // InventoryBatch |  (optional) 

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

$api_instance = new Swagger\Client\ApiInventoryApi();
$body = ; // InventoryBatch | 

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

my $api_instance = WWW::SwaggerClient::InventoryApi->new();
my $body = WWW::SwaggerClient::Object::InventoryBatch->new(); # InventoryBatch | 

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

try: 
    api_response = api_instance.api_v1_inventory_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventoryPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1InventoryPut


/api/v1/inventory

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/inventory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

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

public class InventoryApiExample {

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

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

[apiInstance apiV1InventoryPutWithCompletionHandler: 
              ^(InventoryBatch output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new InventoryApi();

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

$api_instance = new Swagger\Client\ApiInventoryApi();

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

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

eval { 
    my $result = $api_instance->apiV1InventoryPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InventoryApi->apiV1InventoryPut: $@\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.InventoryApi()

try: 
    api_response = api_instance.api_v1_inventory_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventoryPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1InventorySearchGet


/api/v1/inventory/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/inventory/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InventoryApi;

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

public class InventoryApiExample {

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

public class InventoryApiExample {

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

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

[apiInstance apiV1InventorySearchGetWithCompletionHandler: 
              ^(InventoryBatchPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new InventoryApi();

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

$api_instance = new Swagger\Client\ApiInventoryApi();

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

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

eval { 
    my $result = $api_instance->apiV1InventorySearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InventoryApi->apiV1InventorySearchGet: $@\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.InventoryApi()

try: 
    api_response = api_instance.api_v1_inventory_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InventoryApi->apiV1InventorySearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Jobs

apiV1JobsGet


/api/v1/jobs

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/jobs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobsApi;

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

public class JobsApiExample {

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

public class JobsApiExample {

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

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

[apiInstance apiV1JobsGetWithCompletionHandler: 
              ^(JobPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new JobsApi();

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

$api_instance = new Swagger\Client\ApiJobsApi();

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

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

eval { 
    my $result = $api_instance->apiV1JobsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobsApi->apiV1JobsGet: $@\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.JobsApi()

try: 
    api_response = api_instance.api_v1_jobs_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobsApi->apiV1JobsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1JobsIdGet


/api/v1/jobs/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobsApi;

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

public class JobsApiExample {

    public static void main(String[] args) {
        
        JobsApi apiInstance = new JobsApi();
        Long id = 789; // Long | 
        try {
            Job result = apiInstance.apiV1JobsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobsApi#apiV1JobsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobsApi;

public class JobsApiExample {

    public static void main(String[] args) {
        JobsApi apiInstance = new JobsApi();
        Long id = 789; // Long | 
        try {
            Job result = apiInstance.apiV1JobsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobsApi#apiV1JobsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1JobsIdGetWith:id
              completionHandler: ^(Job output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JobsApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new JobsApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiJobsApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::JobsApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1JobsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobsApi->apiV1JobsIdGet: $@\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.JobsApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_jobs_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobsApi->apiV1JobsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1JobsSearchGet


/api/v1/jobs/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/jobs/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobsApi;

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

public class JobsApiExample {

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

public class JobsApiExample {

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

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

[apiInstance apiV1JobsSearchGetWithCompletionHandler: 
              ^(JobPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new JobsApi();

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

$api_instance = new Swagger\Client\ApiJobsApi();

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

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

eval { 
    my $result = $api_instance->apiV1JobsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobsApi->apiV1JobsSearchGet: $@\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.JobsApi()

try: 
    api_response = api_instance.api_v1_jobs_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobsApi->apiV1JobsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Journey

apiV1JourneyCustomerCustomerIdGet


/api/v1/journey/customer/{customerId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey/customer/{customerId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        Long customerId = 789; // Long | 
        try {
            JourneyPagingList result = apiInstance.apiV1JourneyCustomerCustomerIdGet(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyCustomerCustomerIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Long customerId = 789; // Long | 
        try {
            JourneyPagingList result = apiInstance.apiV1JourneyCustomerCustomerIdGet(customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyCustomerCustomerIdGet");
            e.printStackTrace();
        }
    }
}
Long *customerId = 789; // 

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

[apiInstance apiV1JourneyCustomerCustomerIdGetWith:customerId
              completionHandler: ^(JourneyPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var customerId = 789; // {{Long}} 

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

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

            var apiInstance = new JourneyApi();
            var customerId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiJourneyApi();
$customerId = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $customerId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1JourneyCustomerCustomerIdGet(customerId => $customerId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyCustomerCustomerIdGet: $@\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.JourneyApi()
customerId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_journey_customer_customer_id_get(customerId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyCustomerCustomerIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
customerId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1JourneyGet


/api/v1/journey

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

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

public class JourneyApiExample {

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

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

[apiInstance apiV1JourneyGetWithCompletionHandler: 
              ^(JourneyPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new JourneyApi();

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

$api_instance = new Swagger\Client\ApiJourneyApi();

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

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

eval { 
    my $result = $api_instance->apiV1JourneyGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyGet: $@\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.JourneyApi()

try: 
    api_response = api_instance.api_v1_journey_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1JourneyIdAccessCodeAccessCodeIdDelete


/api/v1/journey/{id}/access-code/{accessCodeId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey/{id}/access-code/{accessCodeId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        Long accessCodeId = 789; // Long | 
        try {
            AccessCode result = apiInstance.apiV1JourneyIdAccessCodeAccessCodeIdDelete(id, accessCodeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdAccessCodeAccessCodeIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        Long accessCodeId = 789; // Long | 
        try {
            AccessCode result = apiInstance.apiV1JourneyIdAccessCodeAccessCodeIdDelete(id, accessCodeId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdAccessCodeAccessCodeIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
Long *accessCodeId = 789; // 

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

[apiInstance apiV1JourneyIdAccessCodeAccessCodeIdDeleteWith:id
    accessCodeId:accessCodeId
              completionHandler: ^(AccessCode output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var id = 789; // {{Long}} 
var accessCodeId = 789; // {{Long}} 

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

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

            var apiInstance = new JourneyApi();
            var id = 789;  // Long | 
            var accessCodeId = 789;  // Long | 

            try
            {
                AccessCode result = apiInstance.apiV1JourneyIdAccessCodeAccessCodeIdDelete(id, accessCodeId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JourneyApi.apiV1JourneyIdAccessCodeAccessCodeIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJourneyApi();
$id = 789; // Long | 
$accessCodeId = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $id = 789; # Long | 
my $accessCodeId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1JourneyIdAccessCodeAccessCodeIdDelete(id => $id, accessCodeId => $accessCodeId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyIdAccessCodeAccessCodeIdDelete: $@\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.JourneyApi()
id = 789 # Long | 
accessCodeId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_journey_id_access_code_access_code_id_delete(id, accessCodeId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyIdAccessCodeAccessCodeIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
accessCodeId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1JourneyIdAccessCodePost


/api/v1/journey/{id}/access-code

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/journey/{id}/access-code"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        AccessCodeConfiguration body = ; // AccessCodeConfiguration | 
        try {
            AccessCode result = apiInstance.apiV1JourneyIdAccessCodePost(id, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdAccessCodePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        AccessCodeConfiguration body = ; // AccessCodeConfiguration | 
        try {
            AccessCode result = apiInstance.apiV1JourneyIdAccessCodePost(id, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdAccessCodePost");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
AccessCodeConfiguration *body = ; //  (optional)

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

[apiInstance apiV1JourneyIdAccessCodePostWith:id
    body:body
              completionHandler: ^(AccessCode output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var id = 789; // {{Long}} 
var opts = { 
  'body':  // {{AccessCodeConfiguration}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1JourneyIdAccessCodePost(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JourneyApi();
            var id = 789;  // Long | 
            var body = new AccessCodeConfiguration(); // AccessCodeConfiguration |  (optional) 

            try
            {
                AccessCode result = apiInstance.apiV1JourneyIdAccessCodePost(id, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JourneyApi.apiV1JourneyIdAccessCodePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJourneyApi();
$id = 789; // Long | 
$body = ; // AccessCodeConfiguration | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $id = 789; # Long | 
my $body = WWW::SwaggerClient::Object::AccessCodeConfiguration->new(); # AccessCodeConfiguration | 

eval { 
    my $result = $api_instance->apiV1JourneyIdAccessCodePost(id => $id, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyIdAccessCodePost: $@\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.JourneyApi()
id = 789 # Long | 
body =  # AccessCodeConfiguration |  (optional)

try: 
    api_response = api_instance.api_v1_journey_id_access_code_post(id, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyIdAccessCodePost: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1JourneyIdDelete


/api/v1/journey/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/journey/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1JourneyIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1JourneyIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1JourneyIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new JourneyApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiJourneyApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1JourneyIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling JourneyApi->apiV1JourneyIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JourneyApi;

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1JourneyIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyIdDelete: $@\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.JourneyApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_journey_id_delete(id)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1JourneyIdGet


/api/v1/journey/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        try {
            Journey result = apiInstance.apiV1JourneyIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Long id = 789; // Long | 
        try {
            Journey result = apiInstance.apiV1JourneyIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1JourneyIdGetWith:id
              completionHandler: ^(Journey output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new JourneyApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiJourneyApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1JourneyIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyIdGet: $@\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.JourneyApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_journey_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1JourneyPost


/api/v1/journey

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/journey"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

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

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        Journey body = ; // Journey | 
        try {
            Journey result = apiInstance.apiV1JourneyPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyPost");
            e.printStackTrace();
        }
    }
}
Journey *body = ; //  (optional)

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

[apiInstance apiV1JourneyPostWith:body
              completionHandler: ^(Journey output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var opts = { 
  'body':  // {{Journey}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1JourneyPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JourneyApi();
            var body = new Journey(); // Journey |  (optional) 

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

$api_instance = new Swagger\Client\ApiJourneyApi();
$body = ; // Journey | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $body = WWW::SwaggerClient::Object::Journey->new(); # Journey | 

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

try: 
    api_response = api_instance.api_v1_journey_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1JourneyPut


/api/v1/journey

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

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

public class JourneyApiExample {

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

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

[apiInstance apiV1JourneyPutWithCompletionHandler: 
              ^(Journey output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new JourneyApi();

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

$api_instance = new Swagger\Client\ApiJourneyApi();

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

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

eval { 
    my $result = $api_instance->apiV1JourneyPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneyPut: $@\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.JourneyApi()

try: 
    api_response = api_instance.api_v1_journey_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1JourneySearchGet


/api/v1/journey/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/journey/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

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

public class JourneyApiExample {

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

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

[apiInstance apiV1JourneySearchGetWithCompletionHandler: 
              ^(JourneyPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new JourneyApi();

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

$api_instance = new Swagger\Client\ApiJourneyApi();

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

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

eval { 
    my $result = $api_instance->apiV1JourneySearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JourneyApi->apiV1JourneySearchGet: $@\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.JourneyApi()

try: 
    api_response = api_instance.api_v1_journey_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneySearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1JourneyStartPost


/api/v1/journey/start

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/journey/start"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JourneyApi;

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

public class JourneyApiExample {

    public static void main(String[] args) {
        
        JourneyApi apiInstance = new JourneyApi();
        AccessCodeEntry body = ; // AccessCodeEntry | 
        try {
            Journey result = apiInstance.apiV1JourneyStartPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyStartPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JourneyApi;

public class JourneyApiExample {

    public static void main(String[] args) {
        JourneyApi apiInstance = new JourneyApi();
        AccessCodeEntry body = ; // AccessCodeEntry | 
        try {
            Journey result = apiInstance.apiV1JourneyStartPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JourneyApi#apiV1JourneyStartPost");
            e.printStackTrace();
        }
    }
}
AccessCodeEntry *body = ; //  (optional)

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

[apiInstance apiV1JourneyStartPostWith:body
              completionHandler: ^(Journey output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.JourneyApi()
var opts = { 
  'body':  // {{AccessCodeEntry}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1JourneyStartPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JourneyApi();
            var body = new AccessCodeEntry(); // AccessCodeEntry |  (optional) 

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

$api_instance = new Swagger\Client\ApiJourneyApi();
$body = ; // AccessCodeEntry | 

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

my $api_instance = WWW::SwaggerClient::JourneyApi->new();
my $body = WWW::SwaggerClient::Object::AccessCodeEntry->new(); # AccessCodeEntry | 

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

try: 
    api_response = api_instance.api_v1_journey_start_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JourneyApi->apiV1JourneyStartPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Notification

apiV1NotificationsGet


/api/v1/notifications

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/notifications"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationApi;

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

public class NotificationApiExample {

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

public class NotificationApiExample {

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

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

[apiInstance apiV1NotificationsGetWithCompletionHandler: 
              ^(NotificationPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new NotificationApi();

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

$api_instance = new Swagger\Client\ApiNotificationApi();

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

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

eval { 
    my $result = $api_instance->apiV1NotificationsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationApi->apiV1NotificationsGet: $@\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.NotificationApi()

try: 
    api_response = api_instance.api_v1_notifications_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationApi->apiV1NotificationsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1NotificationsIdGet


/api/v1/notifications/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/notifications/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationApi;

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

public class NotificationApiExample {

    public static void main(String[] args) {
        
        NotificationApi apiInstance = new NotificationApi();
        Long id = 789; // Long | 
        try {
            Notification result = apiInstance.apiV1NotificationsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationApi#apiV1NotificationsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationApi;

public class NotificationApiExample {

    public static void main(String[] args) {
        NotificationApi apiInstance = new NotificationApi();
        Long id = 789; // Long | 
        try {
            Notification result = apiInstance.apiV1NotificationsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationApi#apiV1NotificationsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1NotificationsIdGetWith:id
              completionHandler: ^(Notification output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.NotificationApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new NotificationApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiNotificationApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::NotificationApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1NotificationsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationApi->apiV1NotificationsIdGet: $@\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.NotificationApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_notifications_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationApi->apiV1NotificationsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1NotificationsSearchGet


/api/v1/notifications/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/notifications/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationApi;

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

public class NotificationApiExample {

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

public class NotificationApiExample {

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

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

[apiInstance apiV1NotificationsSearchGetWithCompletionHandler: 
              ^(NotificationPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new NotificationApi();

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

$api_instance = new Swagger\Client\ApiNotificationApi();

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

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

eval { 
    my $result = $api_instance->apiV1NotificationsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationApi->apiV1NotificationsSearchGet: $@\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.NotificationApi()

try: 
    api_response = api_instance.api_v1_notifications_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationApi->apiV1NotificationsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Order

apiV1OrdersDispatchPost


/api/v1/orders/dispatch

Usage and SDK Samples

curl -X POST\
"https://api.modist.co/api/v1/orders/dispatch"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

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

public class OrderApiExample {

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

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

[apiInstance apiV1OrdersDispatchPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1OrdersDispatchPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new OrderApi();

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

$api_instance = new Swagger\Client\ApiOrderApi();

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

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

eval { 
    $api_instance->apiV1OrdersDispatchPost();
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersDispatchPost: $@\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.OrderApi()

try: 
    api_instance.api_v1_orders_dispatch_post()
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersDispatchPost: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1OrdersGet


/api/v1/orders

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/orders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

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

public class OrderApiExample {

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

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

[apiInstance apiV1OrdersGetWithCompletionHandler: 
              ^(OrderPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new OrderApi();

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

$api_instance = new Swagger\Client\ApiOrderApi();

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

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

eval { 
    my $result = $api_instance->apiV1OrdersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersGet: $@\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.OrderApi()

try: 
    api_response = api_instance.api_v1_orders_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1OrdersIdDelete


/api/v1/orders/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/orders/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1OrdersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1OrdersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1OrdersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new OrderApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1OrdersIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->apiV1OrdersIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1OrdersIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersIdDelete: $@\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.OrderApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_orders_id_delete(id)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1OrdersIdGet


/api/v1/orders/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/orders/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        Long id = 789; // Long | 
        try {
            Order result = apiInstance.apiV1OrdersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Long id = 789; // Long | 
        try {
            Order result = apiInstance.apiV1OrdersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1OrdersIdGetWith:id
              completionHandler: ^(Order output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new OrderApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1OrdersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersIdGet: $@\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.OrderApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_orders_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1OrdersOrderIdReservePost


/api/v1/orders/{orderId}/reserve

Usage and SDK Samples

curl -X POST\
"https://api.modist.co/api/v1/orders/{orderId}/reserve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        Long orderId = 789; // Long | 
        try {
            apiInstance.apiV1OrdersOrderIdReservePost(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersOrderIdReservePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Long orderId = 789; // Long | 
        try {
            apiInstance.apiV1OrdersOrderIdReservePost(orderId);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersOrderIdReservePost");
            e.printStackTrace();
        }
    }
}
Long *orderId = 789; // 

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

[apiInstance apiV1OrdersOrderIdReservePostWith:orderId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var orderId = 789; // {{Long}} 

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

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

            var apiInstance = new OrderApi();
            var orderId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$orderId = 789; // Long | 

try {
    $api_instance->apiV1OrdersOrderIdReservePost($orderId);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->apiV1OrdersOrderIdReservePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $orderId = 789; # Long | 

eval { 
    $api_instance->apiV1OrdersOrderIdReservePost(orderId => $orderId);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersOrderIdReservePost: $@\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.OrderApi()
orderId = 789 # Long | 

try: 
    api_instance.api_v1_orders_order_id_reserve_post(orderId)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersOrderIdReservePost: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1OrdersOrderItemIdReserveDelete


/api/v1/orders/{orderItemId}/reserve

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/orders/{orderItemId}/reserve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        Long orderItemId = 789; // Long | 
        try {
            apiInstance.apiV1OrdersOrderItemIdReserveDelete(orderItemId);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersOrderItemIdReserveDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Long orderItemId = 789; // Long | 
        try {
            apiInstance.apiV1OrdersOrderItemIdReserveDelete(orderItemId);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersOrderItemIdReserveDelete");
            e.printStackTrace();
        }
    }
}
Long *orderItemId = 789; // 

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

[apiInstance apiV1OrdersOrderItemIdReserveDeleteWith:orderItemId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var orderItemId = 789; // {{Long}} 

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

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

            var apiInstance = new OrderApi();
            var orderItemId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$orderItemId = 789; // Long | 

try {
    $api_instance->apiV1OrdersOrderItemIdReserveDelete($orderItemId);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->apiV1OrdersOrderItemIdReserveDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $orderItemId = 789; # Long | 

eval { 
    $api_instance->apiV1OrdersOrderItemIdReserveDelete(orderItemId => $orderItemId);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersOrderItemIdReserveDelete: $@\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.OrderApi()
orderItemId = 789 # Long | 

try: 
    api_instance.api_v1_orders_order_item_id_reserve_delete(orderItemId)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersOrderItemIdReserveDelete: %s\n" % e)

Parameters

Path parameters
Name Description
orderItemId*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1OrdersPost


/api/v1/orders

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/orders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

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

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Order body = ; // Order | 
        try {
            Order result = apiInstance.apiV1OrdersPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersPost");
            e.printStackTrace();
        }
    }
}
Order *body = ; //  (optional)

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

[apiInstance apiV1OrdersPostWith:body
              completionHandler: ^(Order output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var opts = { 
  'body':  // {{Order}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1OrdersPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new OrderApi();
            var body = new Order(); // Order |  (optional) 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$body = ; // Order | 

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

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $body = WWW::SwaggerClient::Object::Order->new(); # Order | 

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

try: 
    api_response = api_instance.api_v1_orders_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1OrdersPut


/api/v1/orders

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/orders"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

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

public class OrderApiExample {

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

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

[apiInstance apiV1OrdersPutWithCompletionHandler: 
              ^(Order output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new OrderApi();

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

$api_instance = new Swagger\Client\ApiOrderApi();

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

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

eval { 
    my $result = $api_instance->apiV1OrdersPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersPut: $@\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.OrderApi()

try: 
    api_response = api_instance.api_v1_orders_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1OrdersSearchGet


/api/v1/orders/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/orders/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

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

public class OrderApiExample {

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

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

[apiInstance apiV1OrdersSearchGetWithCompletionHandler: 
              ^(OrderPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new OrderApi();

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

$api_instance = new Swagger\Client\ApiOrderApi();

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

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

eval { 
    my $result = $api_instance->apiV1OrdersSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersSearchGet: $@\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.OrderApi()

try: 
    api_response = api_instance.api_v1_orders_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1OrdersSessionPost


/api/v1/orders/session

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/orders/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        SessionUpdate body = ; // SessionUpdate | 
        try {
            apiInstance.apiV1OrdersSessionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersSessionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        SessionUpdate body = ; // SessionUpdate | 
        try {
            apiInstance.apiV1OrdersSessionPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersSessionPost");
            e.printStackTrace();
        }
    }
}
SessionUpdate *body = ; //  (optional)

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

[apiInstance apiV1OrdersSessionPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var opts = { 
  'body':  // {{SessionUpdate}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1OrdersSessionPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new OrderApi();
            var body = new SessionUpdate(); // SessionUpdate |  (optional) 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$body = ; // SessionUpdate | 

try {
    $api_instance->apiV1OrdersSessionPost($body);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->apiV1OrdersSessionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $body = WWW::SwaggerClient::Object::SessionUpdate->new(); # SessionUpdate | 

eval { 
    $api_instance->apiV1OrdersSessionPost(body => $body);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersSessionPost: $@\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.OrderApi()
body =  # SessionUpdate |  (optional)

try: 
    api_instance.api_v1_orders_session_post(body=body)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersSessionPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1OrdersVerifyOrderIdGet


/api/v1/orders/verify/{orderId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/orders/verify/{orderId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OrderApi;

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

public class OrderApiExample {

    public static void main(String[] args) {
        
        OrderApi apiInstance = new OrderApi();
        Long orderId = 789; // Long | 
        try {
            Order result = apiInstance.apiV1OrdersVerifyOrderIdGet(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersVerifyOrderIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        Long orderId = 789; // Long | 
        try {
            Order result = apiInstance.apiV1OrdersVerifyOrderIdGet(orderId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#apiV1OrdersVerifyOrderIdGet");
            e.printStackTrace();
        }
    }
}
Long *orderId = 789; // 

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

[apiInstance apiV1OrdersVerifyOrderIdGetWith:orderId
              completionHandler: ^(Order output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.OrderApi()
var orderId = 789; // {{Long}} 

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

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

            var apiInstance = new OrderApi();
            var orderId = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiOrderApi();
$orderId = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $orderId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1OrdersVerifyOrderIdGet(orderId => $orderId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->apiV1OrdersVerifyOrderIdGet: $@\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.OrderApi()
orderId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_orders_verify_order_id_get(orderId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->apiV1OrdersVerifyOrderIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
orderId*
Long (int64)
Required

Responses

Status: 200 - Success


Product

apiV1ProductsFieldsGet


/api/v1/products/fields

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/fields"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsFieldsGetWithCompletionHandler: 
              ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsFieldsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsFieldsGet: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_fields_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsFieldsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductsGet


/api/v1/products

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsGetWithCompletionHandler: 
              ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsGet: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductsIdDelete


/api/v1/products/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1ProductsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->apiV1ProductsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1ProductsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsIdDelete: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_products_id_delete(id)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsIdGet


/api/v1/products/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            Product result = apiInstance.apiV1ProductsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            Product result = apiInstance.apiV1ProductsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsIdGetWith:id
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsIdGet: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_products_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsIdInventoryGet


/api/v1/products/{id}/inventory

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/{id}/inventory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            InventoryCount result = apiInstance.apiV1ProductsIdInventoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdInventoryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            InventoryCount result = apiInstance.apiV1ProductsIdInventoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdInventoryGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsIdInventoryGetWith:id
              completionHandler: ^(InventoryCount output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductsIdInventoryGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsIdInventoryGet: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_products_id_inventory_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsIdInventoryGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsIdReservePost


/api/v1/products/{id}/reserve

Usage and SDK Samples

curl -X POST\
"https://api.modist.co/api/v1/products/{id}/reserve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductsIdReservePost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdReservePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductsIdReservePost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdReservePost");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsIdReservePostWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1ProductsIdReservePost($id);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->apiV1ProductsIdReservePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductApi;

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1ProductsIdReservePost(id => $id);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsIdReservePost: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_products_id_reserve_post(id)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsIdReservePost: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsIdVariantsGet


/api/v1/products/{id}/variants

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/{id}/variants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsIdVariantsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdVariantsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsIdVariantsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsIdVariantsGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsIdVariantsGetWith:id
              completionHandler: ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductsIdVariantsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsIdVariantsGet: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_products_id_variants_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsIdVariantsGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsPost


/api/v1/products

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Product body = ; // Product | 
        try {
            Product result = apiInstance.apiV1ProductsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsPost");
            e.printStackTrace();
        }
    }
}
Product *body = ; //  (optional)

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

[apiInstance apiV1ProductsPostWith:body
              completionHandler: ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var opts = { 
  'body':  // {{Product}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProductApi();
            var body = new Product(); // Product |  (optional) 

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

$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // Product | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $body = WWW::SwaggerClient::Object::Product->new(); # Product | 

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

try: 
    api_response = api_instance.api_v1_products_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1ProductsPut


/api/v1/products

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsPutWithCompletionHandler: 
              ^(Product output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsPut: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductsSearchGet


/api/v1/products/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsSearchGetWithCompletionHandler: 
              ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsSearchGet: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductsShopsIdGet


/api/v1/products/shops/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/shops/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsShopsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsShopsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsShopsIdGetWith:id
              completionHandler: ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductsShopsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsShopsIdGet: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_products_shops_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsShopsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsShopsIdSearchGet


/api/v1/products/shops/{id}/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/shops/{id}/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

    public static void main(String[] args) {
        
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsShopsIdSearchGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsShopsIdSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        Long id = 789; // Long | 
        try {
            ProductPagingList result = apiInstance.apiV1ProductsShopsIdSearchGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#apiV1ProductsShopsIdSearchGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductsShopsIdSearchGetWith:id
              completionHandler: ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductApi();
$id = 789; // Long | 

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

my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductsShopsIdSearchGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsShopsIdSearchGet: $@\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.ProductApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_products_shops_id_search_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsShopsIdSearchGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductsVariantsGet


/api/v1/products/variants

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/variants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsVariantsGetWithCompletionHandler: 
              ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsVariantsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsVariantsGet: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_variants_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsVariantsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductsVariantsSearchGet


/api/v1/products/variants/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/products/variants/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductApi;

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

public class ProductApiExample {

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

public class ProductApiExample {

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

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

[apiInstance apiV1ProductsVariantsSearchGetWithCompletionHandler: 
              ^(ProductPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductApi();

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

$api_instance = new Swagger\Client\ApiProductApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductsVariantsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->apiV1ProductsVariantsSearchGet: $@\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.ProductApi()

try: 
    api_response = api_instance.api_v1_products_variants_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->apiV1ProductsVariantsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


ProductGroup

apiV1ProductGroupsGet


/api/v1/product-groups

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

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

public class ProductGroupApiExample {

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

public class ProductGroupApiExample {

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

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

[apiInstance apiV1ProductGroupsGetWithCompletionHandler: 
              ^(ProductGroupPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

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

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

            var apiInstance = new ProductGroupApi();

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

$api_instance = new Swagger\Client\ApiProductGroupApi();

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

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

eval { 
    my $result = $api_instance->apiV1ProductGroupsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsGet: $@\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.ProductGroupApi()

try: 
    api_response = api_instance.api_v1_product_groups_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductGroupsIdDelete


/api/v1/product-groups/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/product-groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

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

public class ProductGroupApiExample {

    public static void main(String[] args) {
        
        ProductGroupApi apiInstance = new ProductGroupApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductGroupsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductGroupApi;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        ProductGroupApi apiInstance = new ProductGroupApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductGroupsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductGroupsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductGroupApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductGroupApi();
            var id = 789;  // Long | 

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

$api_instance = new Swagger\Client\ApiProductGroupApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1ProductGroupsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling ProductGroupApi->apiV1ProductGroupsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductGroupApi;

my $api_instance = WWW::SwaggerClient::ProductGroupApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1ProductGroupsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsIdDelete: $@\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.ProductGroupApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_product_groups_id_delete(id)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductGroupsIdGet


/api/v1/product-groups/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

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

public class ProductGroupApiExample {

    public static void main(String[] args) {
        
        ProductGroupApi apiInstance = new ProductGroupApi();
        Long id = 789; // Long | 
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductGroupApi;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        ProductGroupApi apiInstance = new ProductGroupApi();
        Long id = 789; // Long | 
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

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

[apiInstance apiV1ProductGroupsIdGetWith:id
              completionHandler: ^(ProductGroup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductGroupApi()
var id = 789; // {{Long}} 

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

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

            var apiInstance = new ProductGroupApi();
            var id = 789;  // Long | 

            try
            {
                ProductGroup result = apiInstance.apiV1ProductGroupsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductGroupApi.apiV1ProductGroupsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductGroupApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1ProductGroupsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductGroupApi->apiV1ProductGroupsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductGroupApi;

my $api_instance = WWW::SwaggerClient::ProductGroupApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductGroupsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsIdGet: $@\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.ProductGroupApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_product_groups_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductGroupsPost


/api/v1/product-groups

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/product-groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

import java.io.File;
import java.util.*;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        
        ProductGroupApi apiInstance = new ProductGroupApi();
        ProductGroup body = ; // ProductGroup | 
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductGroupApi;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        ProductGroupApi apiInstance = new ProductGroupApi();
        ProductGroup body = ; // ProductGroup | 
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsPost");
            e.printStackTrace();
        }
    }
}
ProductGroup *body = ; //  (optional)

ProductGroupApi *apiInstance = [[ProductGroupApi alloc] init];

[apiInstance apiV1ProductGroupsPostWith:body
              completionHandler: ^(ProductGroup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductGroupApi()
var opts = { 
  'body':  // {{ProductGroup}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductGroupsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductGroupsPostExample
    {
        public void main()
        {

            var apiInstance = new ProductGroupApi();
            var body = new ProductGroup(); // ProductGroup |  (optional) 

            try
            {
                ProductGroup result = apiInstance.apiV1ProductGroupsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductGroupApi.apiV1ProductGroupsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductGroupApi();
$body = ; // ProductGroup | 

try {
    $result = $api_instance->apiV1ProductGroupsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductGroupApi->apiV1ProductGroupsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductGroupApi;

my $api_instance = WWW::SwaggerClient::ProductGroupApi->new();
my $body = WWW::SwaggerClient::Object::ProductGroup->new(); # ProductGroup | 

eval { 
    my $result = $api_instance->apiV1ProductGroupsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsPost: $@\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.ProductGroupApi()
body =  # ProductGroup |  (optional)

try: 
    api_response = api_instance.api_v1_product_groups_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1ProductGroupsPut


/api/v1/product-groups

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

import java.io.File;
import java.util.*;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        
        ProductGroupApi apiInstance = new ProductGroupApi();
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductGroupApi;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        ProductGroupApi apiInstance = new ProductGroupApi();
        try {
            ProductGroup result = apiInstance.apiV1ProductGroupsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsPut");
            e.printStackTrace();
        }
    }
}

ProductGroupApi *apiInstance = [[ProductGroupApi alloc] init];

[apiInstance apiV1ProductGroupsPutWithCompletionHandler: 
              ^(ProductGroup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductGroupApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductGroupsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductGroupsPutExample
    {
        public void main()
        {

            var apiInstance = new ProductGroupApi();

            try
            {
                ProductGroup result = apiInstance.apiV1ProductGroupsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductGroupApi.apiV1ProductGroupsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductGroupApi();

try {
    $result = $api_instance->apiV1ProductGroupsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductGroupApi->apiV1ProductGroupsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductGroupApi;

my $api_instance = WWW::SwaggerClient::ProductGroupApi->new();

eval { 
    my $result = $api_instance->apiV1ProductGroupsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsPut: $@\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.ProductGroupApi()

try: 
    api_response = api_instance.api_v1_product_groups_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductGroupsSearchGet


/api/v1/product-groups/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-groups/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductGroupApi;

import java.io.File;
import java.util.*;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        
        ProductGroupApi apiInstance = new ProductGroupApi();
        try {
            ProductGroupPagingList result = apiInstance.apiV1ProductGroupsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductGroupApi;

public class ProductGroupApiExample {

    public static void main(String[] args) {
        ProductGroupApi apiInstance = new ProductGroupApi();
        try {
            ProductGroupPagingList result = apiInstance.apiV1ProductGroupsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductGroupApi#apiV1ProductGroupsSearchGet");
            e.printStackTrace();
        }
    }
}

ProductGroupApi *apiInstance = [[ProductGroupApi alloc] init];

[apiInstance apiV1ProductGroupsSearchGetWithCompletionHandler: 
              ^(ProductGroupPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductGroupApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductGroupsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductGroupsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new ProductGroupApi();

            try
            {
                ProductGroupPagingList result = apiInstance.apiV1ProductGroupsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductGroupApi.apiV1ProductGroupsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductGroupApi();

try {
    $result = $api_instance->apiV1ProductGroupsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductGroupApi->apiV1ProductGroupsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductGroupApi;

my $api_instance = WWW::SwaggerClient::ProductGroupApi->new();

eval { 
    my $result = $api_instance->apiV1ProductGroupsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductGroupApi->apiV1ProductGroupsSearchGet: $@\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.ProductGroupApi()

try: 
    api_response = api_instance.api_v1_product_groups_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductGroupApi->apiV1ProductGroupsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


ProductType

apiV1ProductTypesGet


/api/v1/product-types

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-types"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesGet");
            e.printStackTrace();
        }
    }
}

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesGetWithCompletionHandler: 
              ^(ProductTypePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesGetExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();

            try
            {
                ProductTypePagingList result = apiInstance.apiV1ProductTypesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();

try {
    $result = $api_instance->apiV1ProductTypesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();

eval { 
    my $result = $api_instance->apiV1ProductTypesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesGet: $@\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.ProductTypeApi()

try: 
    api_response = api_instance.api_v1_product_types_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductTypesIdDelete


/api/v1/product-types/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/product-types/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductTypesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ProductTypesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1ProductTypesIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1ProductTypesIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1ProductTypesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1ProductTypesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesIdDelete: $@\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.ProductTypeApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_product_types_id_delete(id)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductTypesIdGet


/api/v1/product-types/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-types/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            ProductType result = apiInstance.apiV1ProductTypesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            ProductType result = apiInstance.apiV1ProductTypesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesIdGetWith:id
              completionHandler: ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesIdGetExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();
            var id = 789;  // Long | 

            try
            {
                ProductType result = apiInstance.apiV1ProductTypesIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1ProductTypesIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductTypesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesIdGet: $@\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.ProductTypeApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_product_types_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ProductTypesPost


/api/v1/product-types

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/product-types"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        ProductType body = ; // ProductType | 
        try {
            ProductType result = apiInstance.apiV1ProductTypesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        ProductType body = ; // ProductType | 
        try {
            ProductType result = apiInstance.apiV1ProductTypesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesPost");
            e.printStackTrace();
        }
    }
}
ProductType *body = ; //  (optional)

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesPostWith:body
              completionHandler: ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var opts = { 
  'body':  // {{ProductType}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesPostExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();
            var body = new ProductType(); // ProductType |  (optional) 

            try
            {
                ProductType result = apiInstance.apiV1ProductTypesPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();
$body = ; // ProductType | 

try {
    $result = $api_instance->apiV1ProductTypesPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();
my $body = WWW::SwaggerClient::Object::ProductType->new(); # ProductType | 

eval { 
    my $result = $api_instance->apiV1ProductTypesPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesPost: $@\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.ProductTypeApi()
body =  # ProductType |  (optional)

try: 
    api_response = api_instance.api_v1_product_types_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1ProductTypesPut


/api/v1/product-types

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-types"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductType result = apiInstance.apiV1ProductTypesPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductType result = apiInstance.apiV1ProductTypesPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesPut");
            e.printStackTrace();
        }
    }
}

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesPutWithCompletionHandler: 
              ^(ProductType output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesPutExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();

            try
            {
                ProductType result = apiInstance.apiV1ProductTypesPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();

try {
    $result = $api_instance->apiV1ProductTypesPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();

eval { 
    my $result = $api_instance->apiV1ProductTypesPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesPut: $@\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.ProductTypeApi()

try: 
    api_response = api_instance.api_v1_product_types_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductTypesSearchGet


/api/v1/product-types/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-types/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesSearchGet");
            e.printStackTrace();
        }
    }
}

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesSearchGetWithCompletionHandler: 
              ^(ProductTypePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesSearchGetExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();

            try
            {
                ProductTypePagingList result = apiInstance.apiV1ProductTypesSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();

try {
    $result = $api_instance->apiV1ProductTypesSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();

eval { 
    my $result = $api_instance->apiV1ProductTypesSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesSearchGet: $@\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.ProductTypeApi()

try: 
    api_response = api_instance.api_v1_product_types_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ProductTypesShopsIdGet


/api/v1/product-types/shops/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/product-types/shops/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProductTypeApi;

import java.io.File;
import java.util.*;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesShopsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductTypeApi;

public class ProductTypeApiExample {

    public static void main(String[] args) {
        ProductTypeApi apiInstance = new ProductTypeApi();
        Long id = 789; // Long | 
        try {
            ProductTypePagingList result = apiInstance.apiV1ProductTypesShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductTypeApi#apiV1ProductTypesShopsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

ProductTypeApi *apiInstance = [[ProductTypeApi alloc] init];

[apiInstance apiV1ProductTypesShopsIdGetWith:id
              completionHandler: ^(ProductTypePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ProductTypeApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ProductTypesShopsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ProductTypesShopsIdGetExample
    {
        public void main()
        {

            var apiInstance = new ProductTypeApi();
            var id = 789;  // Long | 

            try
            {
                ProductTypePagingList result = apiInstance.apiV1ProductTypesShopsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProductTypeApi.apiV1ProductTypesShopsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProductTypeApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1ProductTypesShopsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductTypeApi->apiV1ProductTypesShopsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProductTypeApi;

my $api_instance = WWW::SwaggerClient::ProductTypeApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ProductTypesShopsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductTypeApi->apiV1ProductTypesShopsIdGet: $@\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.ProductTypeApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_product_types_shops_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductTypeApi->apiV1ProductTypesShopsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


Section

apiV1SectionsGet


/api/v1/sections

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/sections"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        try {
            SectionPagingList result = apiInstance.apiV1SectionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        try {
            SectionPagingList result = apiInstance.apiV1SectionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsGet");
            e.printStackTrace();
        }
    }
}

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsGetWithCompletionHandler: 
              ^(SectionPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsGetExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();

            try
            {
                SectionPagingList result = apiInstance.apiV1SectionsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();

try {
    $result = $api_instance->apiV1SectionsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();

eval { 
    my $result = $api_instance->apiV1SectionsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsGet: $@\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.SectionApi()

try: 
    api_response = api_instance.api_v1_sections_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1SectionsIdDelete


/api/v1/sections/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/sections/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1SectionsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1SectionsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1SectionsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1SectionsIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1SectionsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1SectionsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsIdDelete: $@\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.SectionApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_sections_id_delete(id)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1SectionsIdGet


/api/v1/sections/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/sections/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        Long id = 789; // Long | 
        try {
            Section result = apiInstance.apiV1SectionsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        Long id = 789; // Long | 
        try {
            Section result = apiInstance.apiV1SectionsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsIdGetWith:id
              completionHandler: ^(Section output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsIdGetExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();
            var id = 789;  // Long | 

            try
            {
                Section result = apiInstance.apiV1SectionsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1SectionsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1SectionsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsIdGet: $@\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.SectionApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_sections_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1SectionsPost


/api/v1/sections

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/sections"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        Section body = ; // Section | 
        try {
            Section result = apiInstance.apiV1SectionsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        Section body = ; // Section | 
        try {
            Section result = apiInstance.apiV1SectionsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsPost");
            e.printStackTrace();
        }
    }
}
Section *body = ; //  (optional)

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsPostWith:body
              completionHandler: ^(Section output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var opts = { 
  'body':  // {{Section}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsPostExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();
            var body = new Section(); // Section |  (optional) 

            try
            {
                Section result = apiInstance.apiV1SectionsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();
$body = ; // Section | 

try {
    $result = $api_instance->apiV1SectionsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();
my $body = WWW::SwaggerClient::Object::Section->new(); # Section | 

eval { 
    my $result = $api_instance->apiV1SectionsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsPost: $@\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.SectionApi()
body =  # Section |  (optional)

try: 
    api_response = api_instance.api_v1_sections_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1SectionsPut


/api/v1/sections

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/sections"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        try {
            Section result = apiInstance.apiV1SectionsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        try {
            Section result = apiInstance.apiV1SectionsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsPut");
            e.printStackTrace();
        }
    }
}

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsPutWithCompletionHandler: 
              ^(Section output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsPutExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();

            try
            {
                Section result = apiInstance.apiV1SectionsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();

try {
    $result = $api_instance->apiV1SectionsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();

eval { 
    my $result = $api_instance->apiV1SectionsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsPut: $@\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.SectionApi()

try: 
    api_response = api_instance.api_v1_sections_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1SectionsSearchGet


/api/v1/sections/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/sections/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionApi;

import java.io.File;
import java.util.*;

public class SectionApiExample {

    public static void main(String[] args) {
        
        SectionApi apiInstance = new SectionApi();
        try {
            SectionPagingList result = apiInstance.apiV1SectionsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionApi;

public class SectionApiExample {

    public static void main(String[] args) {
        SectionApi apiInstance = new SectionApi();
        try {
            SectionPagingList result = apiInstance.apiV1SectionsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionApi#apiV1SectionsSearchGet");
            e.printStackTrace();
        }
    }
}

SectionApi *apiInstance = [[SectionApi alloc] init];

[apiInstance apiV1SectionsSearchGetWithCompletionHandler: 
              ^(SectionPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new SectionApi();

            try
            {
                SectionPagingList result = apiInstance.apiV1SectionsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionApi.apiV1SectionsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionApi();

try {
    $result = $api_instance->apiV1SectionsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionApi->apiV1SectionsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionApi;

my $api_instance = WWW::SwaggerClient::SectionApi->new();

eval { 
    my $result = $api_instance->apiV1SectionsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionApi->apiV1SectionsSearchGet: $@\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.SectionApi()

try: 
    api_response = api_instance.api_v1_sections_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionApi->apiV1SectionsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


SectionTemplate

apiV1SectionTemplatesGet


/api/v1/section-templates

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/section-templates"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesGet");
            e.printStackTrace();
        }
    }
}

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesGetWithCompletionHandler: 
              ^(SectionTemplatePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionTemplatesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesGetExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();

            try
            {
                SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();

try {
    $result = $api_instance->apiV1SectionTemplatesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();

eval { 
    my $result = $api_instance->apiV1SectionTemplatesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesGet: $@\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.SectionTemplateApi()

try: 
    api_response = api_instance.api_v1_section_templates_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1SectionTemplatesIdDelete


/api/v1/section-templates/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/section-templates/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1SectionTemplatesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1SectionTemplatesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1SectionTemplatesIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1SectionTemplatesIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1SectionTemplatesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1SectionTemplatesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdDelete: $@\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.SectionTemplateApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_section_templates_id_delete(id)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1SectionTemplatesIdGet


/api/v1/section-templates/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/section-templates/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        Long id = 789; // Long | 
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        Long id = 789; // Long | 
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesIdGetWith:id
              completionHandler: ^(SectionTemplate output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionTemplatesIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesIdGetExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();
            var id = 789;  // Long | 

            try
            {
                SectionTemplate result = apiInstance.apiV1SectionTemplatesIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1SectionTemplatesIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1SectionTemplatesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdGet: $@\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.SectionTemplateApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_section_templates_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1SectionTemplatesPost


/api/v1/section-templates

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/section-templates"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        SectionTemplate body = ; // SectionTemplate | 
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        SectionTemplate body = ; // SectionTemplate | 
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesPost");
            e.printStackTrace();
        }
    }
}
SectionTemplate *body = ; //  (optional)

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesPostWith:body
              completionHandler: ^(SectionTemplate output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var opts = { 
  'body':  // {{SectionTemplate}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionTemplatesPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesPostExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();
            var body = new SectionTemplate(); // SectionTemplate |  (optional) 

            try
            {
                SectionTemplate result = apiInstance.apiV1SectionTemplatesPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();
$body = ; // SectionTemplate | 

try {
    $result = $api_instance->apiV1SectionTemplatesPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();
my $body = WWW::SwaggerClient::Object::SectionTemplate->new(); # SectionTemplate | 

eval { 
    my $result = $api_instance->apiV1SectionTemplatesPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesPost: $@\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.SectionTemplateApi()
body =  # SectionTemplate |  (optional)

try: 
    api_response = api_instance.api_v1_section_templates_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1SectionTemplatesPut


/api/v1/section-templates

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/section-templates"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplate result = apiInstance.apiV1SectionTemplatesPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesPut");
            e.printStackTrace();
        }
    }
}

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesPutWithCompletionHandler: 
              ^(SectionTemplate output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionTemplatesPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesPutExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();

            try
            {
                SectionTemplate result = apiInstance.apiV1SectionTemplatesPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();

try {
    $result = $api_instance->apiV1SectionTemplatesPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();

eval { 
    my $result = $api_instance->apiV1SectionTemplatesPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesPut: $@\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.SectionTemplateApi()

try: 
    api_response = api_instance.api_v1_section_templates_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1SectionTemplatesSearchGet


/api/v1/section-templates/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/section-templates/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SectionTemplateApi;

import java.io.File;
import java.util.*;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SectionTemplateApi;

public class SectionTemplateApiExample {

    public static void main(String[] args) {
        SectionTemplateApi apiInstance = new SectionTemplateApi();
        try {
            SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SectionTemplateApi#apiV1SectionTemplatesSearchGet");
            e.printStackTrace();
        }
    }
}

SectionTemplateApi *apiInstance = [[SectionTemplateApi alloc] init];

[apiInstance apiV1SectionTemplatesSearchGetWithCompletionHandler: 
              ^(SectionTemplatePagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SectionTemplateApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SectionTemplatesSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SectionTemplatesSearchGetExample
    {
        public void main()
        {

            var apiInstance = new SectionTemplateApi();

            try
            {
                SectionTemplatePagingList result = apiInstance.apiV1SectionTemplatesSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SectionTemplateApi.apiV1SectionTemplatesSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSectionTemplateApi();

try {
    $result = $api_instance->apiV1SectionTemplatesSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SectionTemplateApi->apiV1SectionTemplatesSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SectionTemplateApi;

my $api_instance = WWW::SwaggerClient::SectionTemplateApi->new();

eval { 
    my $result = $api_instance->apiV1SectionTemplatesSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SectionTemplateApi->apiV1SectionTemplatesSearchGet: $@\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.SectionTemplateApi()

try: 
    api_response = api_instance.api_v1_section_templates_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SectionTemplateApi->apiV1SectionTemplatesSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Session

apiV1SessionsDelete


/api/v1/sessions

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/sessions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

    public static void main(String[] args) {
        
        SessionApi apiInstance = new SessionApi();
        try {
            apiInstance.apiV1SessionsDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

    public static void main(String[] args) {
        SessionApi apiInstance = new SessionApi();
        try {
            apiInstance.apiV1SessionsDelete();
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsDelete");
            e.printStackTrace();
        }
    }
}

SessionApi *apiInstance = [[SessionApi alloc] init];

[apiInstance apiV1SessionsDeleteWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SessionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1SessionsDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SessionsDeleteExample
    {
        public void main()
        {

            var apiInstance = new SessionApi();

            try
            {
                apiInstance.apiV1SessionsDelete();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionApi.apiV1SessionsDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionApi();

try {
    $api_instance->apiV1SessionsDelete();
} catch (Exception $e) {
    echo 'Exception when calling SessionApi->apiV1SessionsDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();

eval { 
    $api_instance->apiV1SessionsDelete();
};
if ($@) {
    warn "Exception when calling SessionApi->apiV1SessionsDelete: $@\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.SessionApi()

try: 
    api_instance.api_v1_sessions_delete()
except ApiException as e:
    print("Exception when calling SessionApi->apiV1SessionsDelete: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1SessionsPinPost


/api/v1/sessions/pin

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/sessions/pin"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

    public static void main(String[] args) {
        
        SessionApi apiInstance = new SessionApi();
        PinHolder body = ; // PinHolder | 
        try {
            User result = apiInstance.apiV1SessionsPinPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsPinPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

    public static void main(String[] args) {
        SessionApi apiInstance = new SessionApi();
        PinHolder body = ; // PinHolder | 
        try {
            User result = apiInstance.apiV1SessionsPinPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsPinPost");
            e.printStackTrace();
        }
    }
}
PinHolder *body = ; //  (optional)

SessionApi *apiInstance = [[SessionApi alloc] init];

[apiInstance apiV1SessionsPinPostWith:body
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SessionApi()
var opts = { 
  'body':  // {{PinHolder}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SessionsPinPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SessionsPinPostExample
    {
        public void main()
        {

            var apiInstance = new SessionApi();
            var body = new PinHolder(); // PinHolder |  (optional) 

            try
            {
                User result = apiInstance.apiV1SessionsPinPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionApi.apiV1SessionsPinPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionApi();
$body = ; // PinHolder | 

try {
    $result = $api_instance->apiV1SessionsPinPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionApi->apiV1SessionsPinPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();
my $body = WWW::SwaggerClient::Object::PinHolder->new(); # PinHolder | 

eval { 
    my $result = $api_instance->apiV1SessionsPinPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionApi->apiV1SessionsPinPost: $@\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.SessionApi()
body =  # PinHolder |  (optional)

try: 
    api_response = api_instance.api_v1_sessions_pin_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionApi->apiV1SessionsPinPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1SessionsPost


/api/v1/sessions

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/sessions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

    public static void main(String[] args) {
        
        SessionApi apiInstance = new SessionApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            User result = apiInstance.apiV1SessionsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

    public static void main(String[] args) {
        SessionApi apiInstance = new SessionApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            User result = apiInstance.apiV1SessionsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsPost");
            e.printStackTrace();
        }
    }
}
LogonAttempt *body = ; //  (optional)

SessionApi *apiInstance = [[SessionApi alloc] init];

[apiInstance apiV1SessionsPostWith:body
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SessionApi()
var opts = { 
  'body':  // {{LogonAttempt}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SessionsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SessionsPostExample
    {
        public void main()
        {

            var apiInstance = new SessionApi();
            var body = new LogonAttempt(); // LogonAttempt |  (optional) 

            try
            {
                User result = apiInstance.apiV1SessionsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionApi.apiV1SessionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionApi();
$body = ; // LogonAttempt | 

try {
    $result = $api_instance->apiV1SessionsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionApi->apiV1SessionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();
my $body = WWW::SwaggerClient::Object::LogonAttempt->new(); # LogonAttempt | 

eval { 
    my $result = $api_instance->apiV1SessionsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionApi->apiV1SessionsPost: $@\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.SessionApi()
body =  # LogonAttempt |  (optional)

try: 
    api_response = api_instance.api_v1_sessions_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionApi->apiV1SessionsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1SessionsTenantTenantIdGet


/api/v1/sessions/tenant/{tenantId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/sessions/tenant/{tenantId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

    public static void main(String[] args) {
        
        SessionApi apiInstance = new SessionApi();
        Long tenantId = 789; // Long | 
        try {
            User result = apiInstance.apiV1SessionsTenantTenantIdGet(tenantId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsTenantTenantIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

    public static void main(String[] args) {
        SessionApi apiInstance = new SessionApi();
        Long tenantId = 789; // Long | 
        try {
            User result = apiInstance.apiV1SessionsTenantTenantIdGet(tenantId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SessionApi#apiV1SessionsTenantTenantIdGet");
            e.printStackTrace();
        }
    }
}
Long *tenantId = 789; // 

SessionApi *apiInstance = [[SessionApi alloc] init];

[apiInstance apiV1SessionsTenantTenantIdGetWith:tenantId
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.SessionApi()
var tenantId = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1SessionsTenantTenantIdGet(tenantId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1SessionsTenantTenantIdGetExample
    {
        public void main()
        {

            var apiInstance = new SessionApi();
            var tenantId = 789;  // Long | 

            try
            {
                User result = apiInstance.apiV1SessionsTenantTenantIdGet(tenantId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SessionApi.apiV1SessionsTenantTenantIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSessionApi();
$tenantId = 789; // Long | 

try {
    $result = $api_instance->apiV1SessionsTenantTenantIdGet($tenantId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SessionApi->apiV1SessionsTenantTenantIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();
my $tenantId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1SessionsTenantTenantIdGet(tenantId => $tenantId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SessionApi->apiV1SessionsTenantTenantIdGet: $@\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.SessionApi()
tenantId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_sessions_tenant_tenant_id_get(tenantId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SessionApi->apiV1SessionsTenantTenantIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
tenantId*
Long (int64)
Required

Responses

Status: 200 - Success


Shop

apiV1ShopsGet


/api/v1/shops

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/shops"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        try {
            ShopPagingList result = apiInstance.apiV1ShopsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        try {
            ShopPagingList result = apiInstance.apiV1ShopsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsGet");
            e.printStackTrace();
        }
    }
}

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsGetWithCompletionHandler: 
              ^(ShopPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ShopsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsGetExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();

            try
            {
                ShopPagingList result = apiInstance.apiV1ShopsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();

try {
    $result = $api_instance->apiV1ShopsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();

eval { 
    my $result = $api_instance->apiV1ShopsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsGet: $@\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.ShopApi()

try: 
    api_response = api_instance.api_v1_shops_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ShopsIdDelete


/api/v1/shops/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/shops/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ShopsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1ShopsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1ShopsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1ShopsIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1ShopsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1ShopsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsIdDelete: $@\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.ShopApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_shops_id_delete(id)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ShopsIdGet


/api/v1/shops/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/shops/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        Long id = 789; // Long | 
        try {
            Shop result = apiInstance.apiV1ShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        Long id = 789; // Long | 
        try {
            Shop result = apiInstance.apiV1ShopsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsIdGetWith:id
              completionHandler: ^(Shop output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ShopsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsIdGetExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();
            var id = 789;  // Long | 

            try
            {
                Shop result = apiInstance.apiV1ShopsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1ShopsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1ShopsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsIdGet: $@\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.ShopApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_shops_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1ShopsPost


/api/v1/shops

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/shops"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        Shop body = ; // Shop | 
        try {
            Shop result = apiInstance.apiV1ShopsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        Shop body = ; // Shop | 
        try {
            Shop result = apiInstance.apiV1ShopsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsPost");
            e.printStackTrace();
        }
    }
}
Shop *body = ; //  (optional)

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsPostWith:body
              completionHandler: ^(Shop output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var opts = { 
  'body':  // {{Shop}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ShopsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsPostExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();
            var body = new Shop(); // Shop |  (optional) 

            try
            {
                Shop result = apiInstance.apiV1ShopsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();
$body = ; // Shop | 

try {
    $result = $api_instance->apiV1ShopsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();
my $body = WWW::SwaggerClient::Object::Shop->new(); # Shop | 

eval { 
    my $result = $api_instance->apiV1ShopsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsPost: $@\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.ShopApi()
body =  # Shop |  (optional)

try: 
    api_response = api_instance.api_v1_shops_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1ShopsPut


/api/v1/shops

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/shops"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        try {
            Shop result = apiInstance.apiV1ShopsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        try {
            Shop result = apiInstance.apiV1ShopsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsPut");
            e.printStackTrace();
        }
    }
}

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsPutWithCompletionHandler: 
              ^(Shop output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ShopsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsPutExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();

            try
            {
                Shop result = apiInstance.apiV1ShopsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();

try {
    $result = $api_instance->apiV1ShopsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();

eval { 
    my $result = $api_instance->apiV1ShopsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsPut: $@\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.ShopApi()

try: 
    api_response = api_instance.api_v1_shops_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1ShopsSearchGet


/api/v1/shops/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/shops/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ShopApi;

import java.io.File;
import java.util.*;

public class ShopApiExample {

    public static void main(String[] args) {
        
        ShopApi apiInstance = new ShopApi();
        try {
            ShopPagingList result = apiInstance.apiV1ShopsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ShopApi;

public class ShopApiExample {

    public static void main(String[] args) {
        ShopApi apiInstance = new ShopApi();
        try {
            ShopPagingList result = apiInstance.apiV1ShopsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ShopApi#apiV1ShopsSearchGet");
            e.printStackTrace();
        }
    }
}

ShopApi *apiInstance = [[ShopApi alloc] init];

[apiInstance apiV1ShopsSearchGetWithCompletionHandler: 
              ^(ShopPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.ShopApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1ShopsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1ShopsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new ShopApi();

            try
            {
                ShopPagingList result = apiInstance.apiV1ShopsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ShopApi.apiV1ShopsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiShopApi();

try {
    $result = $api_instance->apiV1ShopsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ShopApi->apiV1ShopsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ShopApi;

my $api_instance = WWW::SwaggerClient::ShopApi->new();

eval { 
    my $result = $api_instance->apiV1ShopsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ShopApi->apiV1ShopsSearchGet: $@\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.ShopApi()

try: 
    api_response = api_instance.api_v1_shops_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ShopApi->apiV1ShopsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Status

apiV1StatusGet


/api/v1/status

Usage and SDK Samples

curl -X GET\
"https://api.modist.co/api/v1/status"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StatusApi;

import java.io.File;
import java.util.*;

public class StatusApiExample {

    public static void main(String[] args) {
        
        StatusApi apiInstance = new StatusApi();
        try {
            apiInstance.apiV1StatusGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusApi#apiV1StatusGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StatusApi;

public class StatusApiExample {

    public static void main(String[] args) {
        StatusApi apiInstance = new StatusApi();
        try {
            apiInstance.apiV1StatusGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusApi#apiV1StatusGet");
            e.printStackTrace();
        }
    }
}

StatusApi *apiInstance = [[StatusApi alloc] init];

[apiInstance apiV1StatusGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.StatusApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1StatusGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1StatusGetExample
    {
        public void main()
        {

            var apiInstance = new StatusApi();

            try
            {
                apiInstance.apiV1StatusGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StatusApi.apiV1StatusGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiStatusApi();

try {
    $api_instance->apiV1StatusGet();
} catch (Exception $e) {
    echo 'Exception when calling StatusApi->apiV1StatusGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StatusApi;

my $api_instance = WWW::SwaggerClient::StatusApi->new();

eval { 
    $api_instance->apiV1StatusGet();
};
if ($@) {
    warn "Exception when calling StatusApi->apiV1StatusGet: $@\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.StatusApi()

try: 
    api_instance.api_v1_status_get()
except ApiException as e:
    print("Exception when calling StatusApi->apiV1StatusGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1StatusMeGet


/api/v1/status/me

Usage and SDK Samples

curl -X GET\
"https://api.modist.co/api/v1/status/me"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StatusApi;

import java.io.File;
import java.util.*;

public class StatusApiExample {

    public static void main(String[] args) {
        
        StatusApi apiInstance = new StatusApi();
        try {
            apiInstance.apiV1StatusMeGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusApi#apiV1StatusMeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StatusApi;

public class StatusApiExample {

    public static void main(String[] args) {
        StatusApi apiInstance = new StatusApi();
        try {
            apiInstance.apiV1StatusMeGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusApi#apiV1StatusMeGet");
            e.printStackTrace();
        }
    }
}

StatusApi *apiInstance = [[StatusApi alloc] init];

[apiInstance apiV1StatusMeGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.StatusApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1StatusMeGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1StatusMeGetExample
    {
        public void main()
        {

            var apiInstance = new StatusApi();

            try
            {
                apiInstance.apiV1StatusMeGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StatusApi.apiV1StatusMeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiStatusApi();

try {
    $api_instance->apiV1StatusMeGet();
} catch (Exception $e) {
    echo 'Exception when calling StatusApi->apiV1StatusMeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StatusApi;

my $api_instance = WWW::SwaggerClient::StatusApi->new();

eval { 
    $api_instance->apiV1StatusMeGet();
};
if ($@) {
    warn "Exception when calling StatusApi->apiV1StatusMeGet: $@\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.StatusApi()

try: 
    api_instance.api_v1_status_me_get()
except ApiException as e:
    print("Exception when calling StatusApi->apiV1StatusMeGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Stripe

apiV1StripeCreateCustomerPortalSessionPost


/api/v1/stripe/create-customer-portal-session

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/stripe/create-customer-portal-session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StripeApi;

import java.io.File;
import java.util.*;

public class StripeApiExample {

    public static void main(String[] args) {
        
        StripeApi apiInstance = new StripeApi();
        try {
            Session result = apiInstance.apiV1StripeCreateCustomerPortalSessionPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StripeApi#apiV1StripeCreateCustomerPortalSessionPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StripeApi;

public class StripeApiExample {

    public static void main(String[] args) {
        StripeApi apiInstance = new StripeApi();
        try {
            Session result = apiInstance.apiV1StripeCreateCustomerPortalSessionPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StripeApi#apiV1StripeCreateCustomerPortalSessionPost");
            e.printStackTrace();
        }
    }
}

StripeApi *apiInstance = [[StripeApi alloc] init];

[apiInstance apiV1StripeCreateCustomerPortalSessionPostWithCompletionHandler: 
              ^(Session output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.StripeApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1StripeCreateCustomerPortalSessionPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1StripeCreateCustomerPortalSessionPostExample
    {
        public void main()
        {

            var apiInstance = new StripeApi();

            try
            {
                Session result = apiInstance.apiV1StripeCreateCustomerPortalSessionPost();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StripeApi.apiV1StripeCreateCustomerPortalSessionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiStripeApi();

try {
    $result = $api_instance->apiV1StripeCreateCustomerPortalSessionPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StripeApi->apiV1StripeCreateCustomerPortalSessionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StripeApi;

my $api_instance = WWW::SwaggerClient::StripeApi->new();

eval { 
    my $result = $api_instance->apiV1StripeCreateCustomerPortalSessionPost();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StripeApi->apiV1StripeCreateCustomerPortalSessionPost: $@\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.StripeApi()

try: 
    api_response = api_instance.api_v1_stripe_create_customer_portal_session_post()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StripeApi->apiV1StripeCreateCustomerPortalSessionPost: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1StripeEventPost


/api/v1/stripe/event

Usage and SDK Samples

curl -X POST\
"https://api.modist.co/api/v1/stripe/event"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StripeApi;

import java.io.File;
import java.util.*;

public class StripeApiExample {

    public static void main(String[] args) {
        
        StripeApi apiInstance = new StripeApi();
        try {
            apiInstance.apiV1StripeEventPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling StripeApi#apiV1StripeEventPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StripeApi;

public class StripeApiExample {

    public static void main(String[] args) {
        StripeApi apiInstance = new StripeApi();
        try {
            apiInstance.apiV1StripeEventPost();
        } catch (ApiException e) {
            System.err.println("Exception when calling StripeApi#apiV1StripeEventPost");
            e.printStackTrace();
        }
    }
}

StripeApi *apiInstance = [[StripeApi alloc] init];

[apiInstance apiV1StripeEventPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.StripeApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1StripeEventPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1StripeEventPostExample
    {
        public void main()
        {

            var apiInstance = new StripeApi();

            try
            {
                apiInstance.apiV1StripeEventPost();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StripeApi.apiV1StripeEventPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiStripeApi();

try {
    $api_instance->apiV1StripeEventPost();
} catch (Exception $e) {
    echo 'Exception when calling StripeApi->apiV1StripeEventPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StripeApi;

my $api_instance = WWW::SwaggerClient::StripeApi->new();

eval { 
    $api_instance->apiV1StripeEventPost();
};
if ($@) {
    warn "Exception when calling StripeApi->apiV1StripeEventPost: $@\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.StripeApi()

try: 
    api_instance.api_v1_stripe_event_post()
except ApiException as e:
    print("Exception when calling StripeApi->apiV1StripeEventPost: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Tag

apiV1TagsGet


/api/v1/tags

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tags"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        try {
            TagPagingList result = apiInstance.apiV1TagsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        try {
            TagPagingList result = apiInstance.apiV1TagsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsGet");
            e.printStackTrace();
        }
    }
}

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsGetWithCompletionHandler: 
              ^(TagPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsGetExample
    {
        public void main()
        {

            var apiInstance = new TagApi();

            try
            {
                TagPagingList result = apiInstance.apiV1TagsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();

try {
    $result = $api_instance->apiV1TagsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();

eval { 
    my $result = $api_instance->apiV1TagsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsGet: $@\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.TagApi()

try: 
    api_response = api_instance.api_v1_tags_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TagsIdDelete


/api/v1/tags/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/tags/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TagsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TagsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1TagsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new TagApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1TagsIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1TagsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1TagsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsIdDelete: $@\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.TagApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_tags_id_delete(id)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TagsIdGet


/api/v1/tags/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tags/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        Long id = 789; // Long | 
        try {
            Tag result = apiInstance.apiV1TagsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        Long id = 789; // Long | 
        try {
            Tag result = apiInstance.apiV1TagsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsIdGetWith:id
              completionHandler: ^(Tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsIdGetExample
    {
        public void main()
        {

            var apiInstance = new TagApi();
            var id = 789;  // Long | 

            try
            {
                Tag result = apiInstance.apiV1TagsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1TagsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1TagsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsIdGet: $@\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.TagApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_tags_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TagsMergePost


/api/v1/tags/merge

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/tags/merge"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        TagMerge body = ; // TagMerge | 
        try {
            Tag result = apiInstance.apiV1TagsMergePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsMergePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        TagMerge body = ; // TagMerge | 
        try {
            Tag result = apiInstance.apiV1TagsMergePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsMergePost");
            e.printStackTrace();
        }
    }
}
TagMerge *body = ; //  (optional)

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsMergePostWith:body
              completionHandler: ^(Tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var opts = { 
  'body':  // {{TagMerge}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsMergePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsMergePostExample
    {
        public void main()
        {

            var apiInstance = new TagApi();
            var body = new TagMerge(); // TagMerge |  (optional) 

            try
            {
                Tag result = apiInstance.apiV1TagsMergePost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsMergePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();
$body = ; // TagMerge | 

try {
    $result = $api_instance->apiV1TagsMergePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsMergePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();
my $body = WWW::SwaggerClient::Object::TagMerge->new(); # TagMerge | 

eval { 
    my $result = $api_instance->apiV1TagsMergePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsMergePost: $@\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.TagApi()
body =  # TagMerge |  (optional)

try: 
    api_response = api_instance.api_v1_tags_merge_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsMergePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1TagsPost


/api/v1/tags

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/tags"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        Tag body = ; // Tag | 
        try {
            Tag result = apiInstance.apiV1TagsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        Tag body = ; // Tag | 
        try {
            Tag result = apiInstance.apiV1TagsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsPost");
            e.printStackTrace();
        }
    }
}
Tag *body = ; //  (optional)

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsPostWith:body
              completionHandler: ^(Tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var opts = { 
  'body':  // {{Tag}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsPostExample
    {
        public void main()
        {

            var apiInstance = new TagApi();
            var body = new Tag(); // Tag |  (optional) 

            try
            {
                Tag result = apiInstance.apiV1TagsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();
$body = ; // Tag | 

try {
    $result = $api_instance->apiV1TagsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();
my $body = WWW::SwaggerClient::Object::Tag->new(); # Tag | 

eval { 
    my $result = $api_instance->apiV1TagsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsPost: $@\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.TagApi()
body =  # Tag |  (optional)

try: 
    api_response = api_instance.api_v1_tags_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1TagsPut


/api/v1/tags

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tags"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        try {
            Tag result = apiInstance.apiV1TagsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        try {
            Tag result = apiInstance.apiV1TagsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsPut");
            e.printStackTrace();
        }
    }
}

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsPutWithCompletionHandler: 
              ^(Tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsPutExample
    {
        public void main()
        {

            var apiInstance = new TagApi();

            try
            {
                Tag result = apiInstance.apiV1TagsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();

try {
    $result = $api_instance->apiV1TagsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();

eval { 
    my $result = $api_instance->apiV1TagsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsPut: $@\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.TagApi()

try: 
    api_response = api_instance.api_v1_tags_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TagsSearchGet


/api/v1/tags/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tags/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagApi;

import java.io.File;
import java.util.*;

public class TagApiExample {

    public static void main(String[] args) {
        
        TagApi apiInstance = new TagApi();
        try {
            TagPagingList result = apiInstance.apiV1TagsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagApi;

public class TagApiExample {

    public static void main(String[] args) {
        TagApi apiInstance = new TagApi();
        try {
            TagPagingList result = apiInstance.apiV1TagsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagApi#apiV1TagsSearchGet");
            e.printStackTrace();
        }
    }
}

TagApi *apiInstance = [[TagApi alloc] init];

[apiInstance apiV1TagsSearchGetWithCompletionHandler: 
              ^(TagPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TagApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TagsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TagsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new TagApi();

            try
            {
                TagPagingList result = apiInstance.apiV1TagsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagApi.apiV1TagsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTagApi();

try {
    $result = $api_instance->apiV1TagsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TagApi->apiV1TagsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TagApi;

my $api_instance = WWW::SwaggerClient::TagApi->new();

eval { 
    my $result = $api_instance->apiV1TagsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TagApi->apiV1TagsSearchGet: $@\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.TagApi()

try: 
    api_response = api_instance.api_v1_tags_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagApi->apiV1TagsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


Tenant

apiV1TenantsGet


/api/v1/tenants

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tenants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        try {
            TenantPagingList result = apiInstance.apiV1TenantsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        try {
            TenantPagingList result = apiInstance.apiV1TenantsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsGet");
            e.printStackTrace();
        }
    }
}

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsGetWithCompletionHandler: 
              ^(TenantPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();

            try
            {
                TenantPagingList result = apiInstance.apiV1TenantsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();

try {
    $result = $api_instance->apiV1TenantsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();

eval { 
    my $result = $api_instance->apiV1TenantsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsGet: $@\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.TenantApi()

try: 
    api_response = api_instance.api_v1_tenants_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TenantsHomeGet


/api/v1/tenants/home

Usage and SDK Samples

curl -X GET\
"https://api.modist.co/api/v1/tenants/home?s="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        String s = s_example; // String | 
        try {
            apiInstance.apiV1TenantsHomeGet(s);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsHomeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        String s = s_example; // String | 
        try {
            apiInstance.apiV1TenantsHomeGet(s);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsHomeGet");
            e.printStackTrace();
        }
    }
}
String *s = s_example; //  (optional)

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsHomeGetWith:s
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var opts = { 
  's': s_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1TenantsHomeGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsHomeGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var s = s_example;  // String |  (optional) 

            try
            {
                apiInstance.apiV1TenantsHomeGet(s);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsHomeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$s = s_example; // String | 

try {
    $api_instance->apiV1TenantsHomeGet($s);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsHomeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $s = s_example; # String | 

eval { 
    $api_instance->apiV1TenantsHomeGet(s => $s);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsHomeGet: $@\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.TenantApi()
s = s_example # String |  (optional)

try: 
    api_instance.api_v1_tenants_home_get(s=s)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsHomeGet: %s\n" % e)

Parameters

Query parameters
Name Description
s
String

Responses

Status: 200 - Success


apiV1TenantsIdAccountGet


/api/v1/tenants/{id}/account

Usage and SDK Samples

curl -X GET\
"https://api.modist.co/api/v1/tenants/{id}/account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TenantsIdAccountGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdAccountGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TenantsIdAccountGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdAccountGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsIdAccountGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1TenantsIdAccountGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsIdAccountGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1TenantsIdAccountGet(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsIdAccountGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1TenantsIdAccountGet($id);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsIdAccountGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1TenantsIdAccountGet(id => $id);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsIdAccountGet: $@\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.TenantApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_tenants_id_account_get(id)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsIdAccountGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TenantsIdDelete


/api/v1/tenants/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/tenants/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TenantsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1TenantsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1TenantsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1TenantsIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1TenantsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1TenantsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsIdDelete: $@\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.TenantApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_tenants_id_delete(id)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TenantsIdGet


/api/v1/tenants/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tenants/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            Tenant result = apiInstance.apiV1TenantsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        Long id = 789; // Long | 
        try {
            Tenant result = apiInstance.apiV1TenantsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsIdGetWith:id
              completionHandler: ^(Tenant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsIdGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var id = 789;  // Long | 

            try
            {
                Tenant result = apiInstance.apiV1TenantsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1TenantsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1TenantsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsIdGet: $@\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.TenantApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_tenants_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TenantsPost


/api/v1/tenants

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/tenants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        Tenant body = ; // Tenant | 
        try {
            Tenant result = apiInstance.apiV1TenantsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        Tenant body = ; // Tenant | 
        try {
            Tenant result = apiInstance.apiV1TenantsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsPost");
            e.printStackTrace();
        }
    }
}
Tenant *body = ; //  (optional)

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsPostWith:body
              completionHandler: ^(Tenant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var opts = { 
  'body':  // {{Tenant}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsPostExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var body = new Tenant(); // Tenant |  (optional) 

            try
            {
                Tenant result = apiInstance.apiV1TenantsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$body = ; // Tenant | 

try {
    $result = $api_instance->apiV1TenantsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $body = WWW::SwaggerClient::Object::Tenant->new(); # Tenant | 

eval { 
    my $result = $api_instance->apiV1TenantsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsPost: $@\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.TenantApi()
body =  # Tenant |  (optional)

try: 
    api_response = api_instance.api_v1_tenants_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1TenantsPut


/api/v1/tenants

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tenants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        try {
            Tenant result = apiInstance.apiV1TenantsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        try {
            Tenant result = apiInstance.apiV1TenantsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsPut");
            e.printStackTrace();
        }
    }
}

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsPutWithCompletionHandler: 
              ^(Tenant output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsPutExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();

            try
            {
                Tenant result = apiInstance.apiV1TenantsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();

try {
    $result = $api_instance->apiV1TenantsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();

eval { 
    my $result = $api_instance->apiV1TenantsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsPut: $@\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.TenantApi()

try: 
    api_response = api_instance.api_v1_tenants_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TenantsSearchGet


/api/v1/tenants/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tenants/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        try {
            TenantPagingList result = apiInstance.apiV1TenantsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        try {
            TenantPagingList result = apiInstance.apiV1TenantsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsSearchGet");
            e.printStackTrace();
        }
    }
}

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsSearchGetWithCompletionHandler: 
              ^(TenantPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();

            try
            {
                TenantPagingList result = apiInstance.apiV1TenantsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();

try {
    $result = $api_instance->apiV1TenantsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();

eval { 
    my $result = $api_instance->apiV1TenantsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsSearchGet: $@\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.TenantApi()

try: 
    api_response = api_instance.api_v1_tenants_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TenantsSubdomainAvailableGet


/api/v1/tenants/{subdomain}/available

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/tenants/{subdomain}/available"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TenantApi;

import java.io.File;
import java.util.*;

public class TenantApiExample {

    public static void main(String[] args) {
        
        TenantApi apiInstance = new TenantApi();
        String subdomain = subdomain_example; // String | 
        try {
            'Boolean' result = apiInstance.apiV1TenantsSubdomainAvailableGet(subdomain);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsSubdomainAvailableGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TenantApi;

public class TenantApiExample {

    public static void main(String[] args) {
        TenantApi apiInstance = new TenantApi();
        String subdomain = subdomain_example; // String | 
        try {
            'Boolean' result = apiInstance.apiV1TenantsSubdomainAvailableGet(subdomain);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TenantApi#apiV1TenantsSubdomainAvailableGet");
            e.printStackTrace();
        }
    }
}
String *subdomain = subdomain_example; // 

TenantApi *apiInstance = [[TenantApi alloc] init];

[apiInstance apiV1TenantsSubdomainAvailableGetWith:subdomain
              completionHandler: ^('Boolean' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TenantApi()
var subdomain = subdomain_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TenantsSubdomainAvailableGet(subdomain, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TenantsSubdomainAvailableGetExample
    {
        public void main()
        {

            var apiInstance = new TenantApi();
            var subdomain = subdomain_example;  // String | 

            try
            {
                'Boolean' result = apiInstance.apiV1TenantsSubdomainAvailableGet(subdomain);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TenantApi.apiV1TenantsSubdomainAvailableGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTenantApi();
$subdomain = subdomain_example; // String | 

try {
    $result = $api_instance->apiV1TenantsSubdomainAvailableGet($subdomain);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TenantApi->apiV1TenantsSubdomainAvailableGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TenantApi;

my $api_instance = WWW::SwaggerClient::TenantApi->new();
my $subdomain = subdomain_example; # String | 

eval { 
    my $result = $api_instance->apiV1TenantsSubdomainAvailableGet(subdomain => $subdomain);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TenantApi->apiV1TenantsSubdomainAvailableGet: $@\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.TenantApi()
subdomain = subdomain_example # String | 

try: 
    api_response = api_instance.api_v1_tenants_subdomain_available_get(subdomain)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TenantApi->apiV1TenantsSubdomainAvailableGet: %s\n" % e)

Parameters

Path parameters
Name Description
subdomain*
String
Required

Responses

Status: 200 - Success


Transaction

apiV1TransactionGet


/api/v1/transaction

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/transaction"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionApi;

import java.io.File;
import java.util.*;

public class TransactionApiExample {

    public static void main(String[] args) {
        
        TransactionApi apiInstance = new TransactionApi();
        try {
            TransactionPagingList result = apiInstance.apiV1TransactionGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionApi;

public class TransactionApiExample {

    public static void main(String[] args) {
        TransactionApi apiInstance = new TransactionApi();
        try {
            TransactionPagingList result = apiInstance.apiV1TransactionGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionGet");
            e.printStackTrace();
        }
    }
}

TransactionApi *apiInstance = [[TransactionApi alloc] init];

[apiInstance apiV1TransactionGetWithCompletionHandler: 
              ^(TransactionPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TransactionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TransactionGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TransactionGetExample
    {
        public void main()
        {

            var apiInstance = new TransactionApi();

            try
            {
                TransactionPagingList result = apiInstance.apiV1TransactionGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionApi.apiV1TransactionGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionApi();

try {
    $result = $api_instance->apiV1TransactionGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionApi->apiV1TransactionGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionApi;

my $api_instance = WWW::SwaggerClient::TransactionApi->new();

eval { 
    my $result = $api_instance->apiV1TransactionGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionApi->apiV1TransactionGet: $@\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.TransactionApi()

try: 
    api_response = api_instance.api_v1_transaction_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionApi->apiV1TransactionGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TransactionIdGet


/api/v1/transaction/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/transaction/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionApi;

import java.io.File;
import java.util.*;

public class TransactionApiExample {

    public static void main(String[] args) {
        
        TransactionApi apiInstance = new TransactionApi();
        Long id = 789; // Long | 
        try {
            Transaction result = apiInstance.apiV1TransactionIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionApi;

public class TransactionApiExample {

    public static void main(String[] args) {
        TransactionApi apiInstance = new TransactionApi();
        Long id = 789; // Long | 
        try {
            Transaction result = apiInstance.apiV1TransactionIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

TransactionApi *apiInstance = [[TransactionApi alloc] init];

[apiInstance apiV1TransactionIdGetWith:id
              completionHandler: ^(Transaction output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TransactionApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TransactionIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TransactionIdGetExample
    {
        public void main()
        {

            var apiInstance = new TransactionApi();
            var id = 789;  // Long | 

            try
            {
                Transaction result = apiInstance.apiV1TransactionIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionApi.apiV1TransactionIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1TransactionIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionApi->apiV1TransactionIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionApi;

my $api_instance = WWW::SwaggerClient::TransactionApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1TransactionIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionApi->apiV1TransactionIdGet: $@\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.TransactionApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_transaction_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionApi->apiV1TransactionIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1TransactionSearchGet


/api/v1/transaction/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/transaction/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionApi;

import java.io.File;
import java.util.*;

public class TransactionApiExample {

    public static void main(String[] args) {
        
        TransactionApi apiInstance = new TransactionApi();
        try {
            TransactionPagingList result = apiInstance.apiV1TransactionSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionApi;

public class TransactionApiExample {

    public static void main(String[] args) {
        TransactionApi apiInstance = new TransactionApi();
        try {
            TransactionPagingList result = apiInstance.apiV1TransactionSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionSearchGet");
            e.printStackTrace();
        }
    }
}

TransactionApi *apiInstance = [[TransactionApi alloc] init];

[apiInstance apiV1TransactionSearchGetWithCompletionHandler: 
              ^(TransactionPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TransactionApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TransactionSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TransactionSearchGetExample
    {
        public void main()
        {

            var apiInstance = new TransactionApi();

            try
            {
                TransactionPagingList result = apiInstance.apiV1TransactionSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionApi.apiV1TransactionSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionApi();

try {
    $result = $api_instance->apiV1TransactionSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionApi->apiV1TransactionSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionApi;

my $api_instance = WWW::SwaggerClient::TransactionApi->new();

eval { 
    my $result = $api_instance->apiV1TransactionSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionApi->apiV1TransactionSearchGet: $@\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.TransactionApi()

try: 
    api_response = api_instance.api_v1_transaction_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionApi->apiV1TransactionSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1TransactionVerifyTransactionIdGet


/api/v1/transaction/verify/{transactionId}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/transaction/verify/{transactionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionApi;

import java.io.File;
import java.util.*;

public class TransactionApiExample {

    public static void main(String[] args) {
        
        TransactionApi apiInstance = new TransactionApi();
        Long transactionId = 789; // Long | 
        try {
            Transaction result = apiInstance.apiV1TransactionVerifyTransactionIdGet(transactionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionVerifyTransactionIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionApi;

public class TransactionApiExample {

    public static void main(String[] args) {
        TransactionApi apiInstance = new TransactionApi();
        Long transactionId = 789; // Long | 
        try {
            Transaction result = apiInstance.apiV1TransactionVerifyTransactionIdGet(transactionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionApi#apiV1TransactionVerifyTransactionIdGet");
            e.printStackTrace();
        }
    }
}
Long *transactionId = 789; // 

TransactionApi *apiInstance = [[TransactionApi alloc] init];

[apiInstance apiV1TransactionVerifyTransactionIdGetWith:transactionId
              completionHandler: ^(Transaction output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.TransactionApi()
var transactionId = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1TransactionVerifyTransactionIdGet(transactionId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1TransactionVerifyTransactionIdGetExample
    {
        public void main()
        {

            var apiInstance = new TransactionApi();
            var transactionId = 789;  // Long | 

            try
            {
                Transaction result = apiInstance.apiV1TransactionVerifyTransactionIdGet(transactionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionApi.apiV1TransactionVerifyTransactionIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionApi();
$transactionId = 789; // Long | 

try {
    $result = $api_instance->apiV1TransactionVerifyTransactionIdGet($transactionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionApi->apiV1TransactionVerifyTransactionIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionApi;

my $api_instance = WWW::SwaggerClient::TransactionApi->new();
my $transactionId = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1TransactionVerifyTransactionIdGet(transactionId => $transactionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionApi->apiV1TransactionVerifyTransactionIdGet: $@\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.TransactionApi()
transactionId = 789 # Long | 

try: 
    api_response = api_instance.api_v1_transaction_verify_transaction_id_get(transactionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionApi->apiV1TransactionVerifyTransactionIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
transactionId*
Long (int64)
Required

Responses

Status: 200 - Success


User

apiV1UsersCheckAvailableNamePost


/api/v1/users/checkAvailableName

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/users/checkAvailableName"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            'Boolean' result = apiInstance.apiV1UsersCheckAvailableNamePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersCheckAvailableNamePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            'Boolean' result = apiInstance.apiV1UsersCheckAvailableNamePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersCheckAvailableNamePost");
            e.printStackTrace();
        }
    }
}
LogonAttempt *body = ; //  (optional)

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersCheckAvailableNamePostWith:body
              completionHandler: ^('Boolean' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var opts = { 
  'body':  // {{LogonAttempt}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersCheckAvailableNamePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersCheckAvailableNamePostExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var body = new LogonAttempt(); // LogonAttempt |  (optional) 

            try
            {
                'Boolean' result = apiInstance.apiV1UsersCheckAvailableNamePost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersCheckAvailableNamePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$body = ; // LogonAttempt | 

try {
    $result = $api_instance->apiV1UsersCheckAvailableNamePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersCheckAvailableNamePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $body = WWW::SwaggerClient::Object::LogonAttempt->new(); # LogonAttempt | 

eval { 
    my $result = $api_instance->apiV1UsersCheckAvailableNamePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersCheckAvailableNamePost: $@\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.UserApi()
body =  # LogonAttempt |  (optional)

try: 
    api_response = api_instance.api_v1_users_check_available_name_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersCheckAvailableNamePost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1UsersGet


/api/v1/users

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        try {
            UserPagingList result = apiInstance.apiV1UsersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        try {
            UserPagingList result = apiInstance.apiV1UsersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersGet");
            e.printStackTrace();
        }
    }
}

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersGetWithCompletionHandler: 
              ^(UserPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersGetExample
    {
        public void main()
        {

            var apiInstance = new UserApi();

            try
            {
                UserPagingList result = apiInstance.apiV1UsersGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();

try {
    $result = $api_instance->apiV1UsersGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();

eval { 
    my $result = $api_instance->apiV1UsersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersGet: $@\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.UserApi()

try: 
    api_response = api_instance.api_v1_users_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1UsersIdDelete


/api/v1/users/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1UsersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1UsersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1UsersIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1UsersIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1UsersIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1UsersIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersIdDelete: $@\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.UserApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_users_id_delete(id)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1UsersIdGet


/api/v1/users/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        try {
            User result = apiInstance.apiV1UsersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        try {
            User result = apiInstance.apiV1UsersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersIdGetWith:id
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersIdGetExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var id = 789;  // Long | 

            try
            {
                User result = apiInstance.apiV1UsersIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1UsersIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1UsersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersIdGet: $@\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.UserApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_users_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1UsersIdSetPasswordPost


/api/v1/users/{id}/set-password

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/users/{id}/set-password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        PasswordUpdate body = ; // PasswordUpdate | 
        try {
            apiInstance.apiV1UsersIdSetPasswordPost(id, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdSetPasswordPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        Long id = 789; // Long | 
        PasswordUpdate body = ; // PasswordUpdate | 
        try {
            apiInstance.apiV1UsersIdSetPasswordPost(id, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersIdSetPasswordPost");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
PasswordUpdate *body = ; //  (optional)

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersIdSetPasswordPostWith:id
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var id = 789; // {{Long}} 
var opts = { 
  'body':  // {{PasswordUpdate}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1UsersIdSetPasswordPost(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersIdSetPasswordPostExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var id = 789;  // Long | 
            var body = new PasswordUpdate(); // PasswordUpdate |  (optional) 

            try
            {
                apiInstance.apiV1UsersIdSetPasswordPost(id, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersIdSetPasswordPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$id = 789; // Long | 
$body = ; // PasswordUpdate | 

try {
    $api_instance->apiV1UsersIdSetPasswordPost($id, $body);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersIdSetPasswordPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $id = 789; # Long | 
my $body = WWW::SwaggerClient::Object::PasswordUpdate->new(); # PasswordUpdate | 

eval { 
    $api_instance->apiV1UsersIdSetPasswordPost(id => $id, body => $body);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersIdSetPasswordPost: $@\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.UserApi()
id = 789 # Long | 
body =  # PasswordUpdate |  (optional)

try: 
    api_instance.api_v1_users_id_set_password_post(id, body=body)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersIdSetPasswordPost: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1UsersMeGet


/api/v1/users/me

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/users/me"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        try {
            User result = apiInstance.apiV1UsersMeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersMeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        try {
            User result = apiInstance.apiV1UsersMeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersMeGet");
            e.printStackTrace();
        }
    }
}

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersMeGetWithCompletionHandler: 
              ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersMeGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersMeGetExample
    {
        public void main()
        {

            var apiInstance = new UserApi();

            try
            {
                User result = apiInstance.apiV1UsersMeGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersMeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();

try {
    $result = $api_instance->apiV1UsersMeGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersMeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();

eval { 
    my $result = $api_instance->apiV1UsersMeGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersMeGet: $@\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.UserApi()

try: 
    api_response = api_instance.api_v1_users_me_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersMeGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1UsersPost


/api/v1/users

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        User body = ; // User | 
        try {
            User result = apiInstance.apiV1UsersPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        User body = ; // User | 
        try {
            User result = apiInstance.apiV1UsersPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersPost");
            e.printStackTrace();
        }
    }
}
User *body = ; //  (optional)

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersPostWith:body
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var opts = { 
  'body':  // {{User}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersPostExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var body = new User(); // User |  (optional) 

            try
            {
                User result = apiInstance.apiV1UsersPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$body = ; // User | 

try {
    $result = $api_instance->apiV1UsersPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $body = WWW::SwaggerClient::Object::User->new(); # User | 

eval { 
    my $result = $api_instance->apiV1UsersPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersPost: $@\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.UserApi()
body =  # User |  (optional)

try: 
    api_response = api_instance.api_v1_users_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1UsersPut


/api/v1/users

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        try {
            User result = apiInstance.apiV1UsersPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        try {
            User result = apiInstance.apiV1UsersPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersPut");
            e.printStackTrace();
        }
    }
}

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersPutWithCompletionHandler: 
              ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersPutExample
    {
        public void main()
        {

            var apiInstance = new UserApi();

            try
            {
                User result = apiInstance.apiV1UsersPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();

try {
    $result = $api_instance->apiV1UsersPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();

eval { 
    my $result = $api_instance->apiV1UsersPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersPut: $@\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.UserApi()

try: 
    api_response = api_instance.api_v1_users_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1UsersResetPasswordPost


/api/v1/users/reset-password

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/users/reset-password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            apiInstance.apiV1UsersResetPasswordPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersResetPasswordPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        LogonAttempt body = ; // LogonAttempt | 
        try {
            apiInstance.apiV1UsersResetPasswordPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersResetPasswordPost");
            e.printStackTrace();
        }
    }
}
LogonAttempt *body = ; //  (optional)

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersResetPasswordPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var opts = { 
  'body':  // {{LogonAttempt}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1UsersResetPasswordPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersResetPasswordPostExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var body = new LogonAttempt(); // LogonAttempt |  (optional) 

            try
            {
                apiInstance.apiV1UsersResetPasswordPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersResetPasswordPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$body = ; // LogonAttempt | 

try {
    $api_instance->apiV1UsersResetPasswordPost($body);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersResetPasswordPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $body = WWW::SwaggerClient::Object::LogonAttempt->new(); # LogonAttempt | 

eval { 
    $api_instance->apiV1UsersResetPasswordPost(body => $body);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersResetPasswordPost: $@\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.UserApi()
body =  # LogonAttempt |  (optional)

try: 
    api_instance.api_v1_users_reset_password_post(body=body)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersResetPasswordPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1UsersSearchGet


/api/v1/users/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/users/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        try {
            UserPagingList result = apiInstance.apiV1UsersSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        try {
            UserPagingList result = apiInstance.apiV1UsersSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersSearchGet");
            e.printStackTrace();
        }
    }
}

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersSearchGetWithCompletionHandler: 
              ^(UserPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersSearchGetExample
    {
        public void main()
        {

            var apiInstance = new UserApi();

            try
            {
                UserPagingList result = apiInstance.apiV1UsersSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();

try {
    $result = $api_instance->apiV1UsersSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();

eval { 
    my $result = $api_instance->apiV1UsersSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersSearchGet: $@\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.UserApi()

try: 
    api_response = api_instance.api_v1_users_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1UsersSignUpPost


/api/v1/users/sign-up

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/users/sign-up"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

import java.io.File;
import java.util.*;

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        SignUp body = ; // SignUp | 
        try {
            User result = apiInstance.apiV1UsersSignUpPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersSignUpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        SignUp body = ; // SignUp | 
        try {
            User result = apiInstance.apiV1UsersSignUpPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#apiV1UsersSignUpPost");
            e.printStackTrace();
        }
    }
}
SignUp *body = ; //  (optional)

UserApi *apiInstance = [[UserApi alloc] init];

[apiInstance apiV1UsersSignUpPostWith:body
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.UserApi()
var opts = { 
  'body':  // {{SignUp}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1UsersSignUpPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1UsersSignUpPostExample
    {
        public void main()
        {

            var apiInstance = new UserApi();
            var body = new SignUp(); // SignUp |  (optional) 

            try
            {
                User result = apiInstance.apiV1UsersSignUpPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.apiV1UsersSignUpPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserApi();
$body = ; // SignUp | 

try {
    $result = $api_instance->apiV1UsersSignUpPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserApi->apiV1UsersSignUpPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserApi;

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $body = WWW::SwaggerClient::Object::SignUp->new(); # SignUp | 

eval { 
    my $result = $api_instance->apiV1UsersSignUpPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->apiV1UsersSignUpPost: $@\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.UserApi()
body =  # SignUp |  (optional)

try: 
    api_response = api_instance.api_v1_users_sign_up_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->apiV1UsersSignUpPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


VideoCalls

apiV1VideoCallsGet


/api/v1/video-calls

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/video-calls"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCallPagingList result = apiInstance.apiV1VideoCallsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCallPagingList result = apiInstance.apiV1VideoCallsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsGet");
            e.printStackTrace();
        }
    }
}

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsGetWithCompletionHandler: 
              ^(VideoCallPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1VideoCallsGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsGetExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();

            try
            {
                VideoCallPagingList result = apiInstance.apiV1VideoCallsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();

try {
    $result = $api_instance->apiV1VideoCallsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();

eval { 
    my $result = $api_instance->apiV1VideoCallsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsGet: $@\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.VideoCallsApi()

try: 
    api_response = api_instance.api_v1_video_calls_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1VideoCallsIdDelete


/api/v1/video-calls/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/video-calls/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1VideoCallsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1VideoCallsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1VideoCallsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1VideoCallsIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1VideoCallsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1VideoCallsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsIdDelete: $@\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.VideoCallsApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_video_calls_id_delete(id)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1VideoCallsIdGet


/api/v1/video-calls/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/video-calls/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long id = 789; // Long | 
        try {
            VideoCall result = apiInstance.apiV1VideoCallsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long id = 789; // Long | 
        try {
            VideoCall result = apiInstance.apiV1VideoCallsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsIdGetWith:id
              completionHandler: ^(VideoCall output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1VideoCallsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsIdGetExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();
            var id = 789;  // Long | 

            try
            {
                VideoCall result = apiInstance.apiV1VideoCallsIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1VideoCallsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1VideoCallsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsIdGet: $@\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.VideoCallsApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_video_calls_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1VideoCallsPost


/api/v1/video-calls

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/video-calls"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        VideoCall body = ; // VideoCall | 
        try {
            VideoCall result = apiInstance.apiV1VideoCallsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        VideoCall body = ; // VideoCall | 
        try {
            VideoCall result = apiInstance.apiV1VideoCallsPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsPost");
            e.printStackTrace();
        }
    }
}
VideoCall *body = ; //  (optional)

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsPostWith:body
              completionHandler: ^(VideoCall output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var opts = { 
  'body':  // {{VideoCall}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1VideoCallsPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsPostExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();
            var body = new VideoCall(); // VideoCall |  (optional) 

            try
            {
                VideoCall result = apiInstance.apiV1VideoCallsPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();
$body = ; // VideoCall | 

try {
    $result = $api_instance->apiV1VideoCallsPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();
my $body = WWW::SwaggerClient::Object::VideoCall->new(); # VideoCall | 

eval { 
    my $result = $api_instance->apiV1VideoCallsPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsPost: $@\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.VideoCallsApi()
body =  # VideoCall |  (optional)

try: 
    api_response = api_instance.api_v1_video_calls_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1VideoCallsPut


/api/v1/video-calls

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/video-calls"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCall result = apiInstance.apiV1VideoCallsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCall result = apiInstance.apiV1VideoCallsPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsPut");
            e.printStackTrace();
        }
    }
}

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsPutWithCompletionHandler: 
              ^(VideoCall output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1VideoCallsPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsPutExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();

            try
            {
                VideoCall result = apiInstance.apiV1VideoCallsPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();

try {
    $result = $api_instance->apiV1VideoCallsPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();

eval { 
    my $result = $api_instance->apiV1VideoCallsPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsPut: $@\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.VideoCallsApi()

try: 
    api_response = api_instance.api_v1_video_calls_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1VideoCallsRoomIdNotesPost


/api/v1/video-calls/{roomId}/notes

Usage and SDK Samples

curl -X POST\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/video-calls/{roomId}/notes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long roomId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1VideoCallsRoomIdNotesPost(roomId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsRoomIdNotesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        Long roomId = 789; // Long | 
        Message body = ; // Message | 
        try {
            apiInstance.apiV1VideoCallsRoomIdNotesPost(roomId, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsRoomIdNotesPost");
            e.printStackTrace();
        }
    }
}
Long *roomId = 789; // 
Message *body = ; //  (optional)

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsRoomIdNotesPostWith:roomId
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var roomId = 789; // {{Long}} 
var opts = { 
  'body':  // {{Message}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1VideoCallsRoomIdNotesPost(roomId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsRoomIdNotesPostExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();
            var roomId = 789;  // Long | 
            var body = new Message(); // Message |  (optional) 

            try
            {
                apiInstance.apiV1VideoCallsRoomIdNotesPost(roomId, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsRoomIdNotesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();
$roomId = 789; // Long | 
$body = ; // Message | 

try {
    $api_instance->apiV1VideoCallsRoomIdNotesPost($roomId, $body);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsRoomIdNotesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();
my $roomId = 789; # Long | 
my $body = WWW::SwaggerClient::Object::Message->new(); # Message | 

eval { 
    $api_instance->apiV1VideoCallsRoomIdNotesPost(roomId => $roomId, body => $body);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsRoomIdNotesPost: $@\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.VideoCallsApi()
roomId = 789 # Long | 
body =  # Message |  (optional)

try: 
    api_instance.api_v1_video_calls_room_id_notes_post(roomId, body=body)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsRoomIdNotesPost: %s\n" % e)

Parameters

Path parameters
Name Description
roomId*
Long (int64)
Required
Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1VideoCallsSearchGet


/api/v1/video-calls/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/video-calls/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VideoCallsApi;

import java.io.File;
import java.util.*;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCallPagingList result = apiInstance.apiV1VideoCallsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VideoCallsApi;

public class VideoCallsApiExample {

    public static void main(String[] args) {
        VideoCallsApi apiInstance = new VideoCallsApi();
        try {
            VideoCallPagingList result = apiInstance.apiV1VideoCallsSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VideoCallsApi#apiV1VideoCallsSearchGet");
            e.printStackTrace();
        }
    }
}

VideoCallsApi *apiInstance = [[VideoCallsApi alloc] init];

[apiInstance apiV1VideoCallsSearchGetWithCompletionHandler: 
              ^(VideoCallPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.VideoCallsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1VideoCallsSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1VideoCallsSearchGetExample
    {
        public void main()
        {

            var apiInstance = new VideoCallsApi();

            try
            {
                VideoCallPagingList result = apiInstance.apiV1VideoCallsSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VideoCallsApi.apiV1VideoCallsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiVideoCallsApi();

try {
    $result = $api_instance->apiV1VideoCallsSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VideoCallsApi->apiV1VideoCallsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VideoCallsApi;

my $api_instance = WWW::SwaggerClient::VideoCallsApi->new();

eval { 
    my $result = $api_instance->apiV1VideoCallsSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VideoCallsApi->apiV1VideoCallsSearchGet: $@\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.VideoCallsApi()

try: 
    api_response = api_instance.api_v1_video_calls_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VideoCallsApi->apiV1VideoCallsSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


WebHook

apiV1WebhooksGet


/api/v1/webhooks

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/webhooks"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHookPagingList result = apiInstance.apiV1WebhooksGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHookPagingList result = apiInstance.apiV1WebhooksGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksGet");
            e.printStackTrace();
        }
    }
}

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksGetWithCompletionHandler: 
              ^(WebHookPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1WebhooksGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksGetExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();

            try
            {
                WebHookPagingList result = apiInstance.apiV1WebhooksGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();

try {
    $result = $api_instance->apiV1WebhooksGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();

eval { 
    my $result = $api_instance->apiV1WebhooksGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksGet: $@\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.WebHookApi()

try: 
    api_response = api_instance.api_v1_webhooks_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1WebhooksIdDelete


/api/v1/webhooks/{id}

Usage and SDK Samples

curl -X DELETE\
"https://api.modist.co/api/v1/webhooks/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1WebhooksIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksIdDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        Long id = 789; // Long | 
        try {
            apiInstance.apiV1WebhooksIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksIdDelete");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1WebhooksIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksIdDeleteExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();
            var id = 789;  // Long | 

            try
            {
                apiInstance.apiV1WebhooksIdDelete(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();
$id = 789; // Long | 

try {
    $api_instance->apiV1WebhooksIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();
my $id = 789; # Long | 

eval { 
    $api_instance->apiV1WebhooksIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksIdDelete: $@\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.WebHookApi()
id = 789 # Long | 

try: 
    api_instance.api_v1_webhooks_id_delete(id)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1WebhooksIdGet


/api/v1/webhooks/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/webhooks/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        Long id = 789; // Long | 
        try {
            WebHook result = apiInstance.apiV1WebhooksIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        Long id = 789; // Long | 
        try {
            WebHook result = apiInstance.apiV1WebhooksIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksIdGet");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksIdGetWith:id
              completionHandler: ^(WebHook output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var id = 789; // {{Long}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1WebhooksIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksIdGetExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();
            var id = 789;  // Long | 

            try
            {
                WebHook result = apiInstance.apiV1WebhooksIdGet(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();
$id = 789; // Long | 

try {
    $result = $api_instance->apiV1WebhooksIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();
my $id = 789; # Long | 

eval { 
    my $result = $api_instance->apiV1WebhooksIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksIdGet: $@\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.WebHookApi()
id = 789 # Long | 

try: 
    api_response = api_instance.api_v1_webhooks_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required

Responses

Status: 200 - Success


apiV1WebhooksPost


/api/v1/webhooks

Usage and SDK Samples

curl -X POST\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json,application/octet-stream"\
"https://api.modist.co/api/v1/webhooks"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        WebHook body = ; // WebHook | 
        try {
            WebHook result = apiInstance.apiV1WebhooksPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        WebHook body = ; // WebHook | 
        try {
            WebHook result = apiInstance.apiV1WebhooksPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksPost");
            e.printStackTrace();
        }
    }
}
WebHook *body = ; //  (optional)

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksPostWith:body
              completionHandler: ^(WebHook output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var opts = { 
  'body':  // {{WebHook}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1WebhooksPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksPostExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();
            var body = new WebHook(); // WebHook |  (optional) 

            try
            {
                WebHook result = apiInstance.apiV1WebhooksPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();
$body = ; // WebHook | 

try {
    $result = $api_instance->apiV1WebhooksPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();
my $body = WWW::SwaggerClient::Object::WebHook->new(); # WebHook | 

eval { 
    my $result = $api_instance->apiV1WebhooksPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksPost: $@\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.WebHookApi()
body =  # WebHook |  (optional)

try: 
    api_response = api_instance.api_v1_webhooks_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


apiV1WebhooksPut


/api/v1/webhooks

Usage and SDK Samples

curl -X PUT\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/webhooks"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHook result = apiInstance.apiV1WebhooksPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHook result = apiInstance.apiV1WebhooksPut();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksPut");
            e.printStackTrace();
        }
    }
}

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksPutWithCompletionHandler: 
              ^(WebHook output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1WebhooksPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksPutExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();

            try
            {
                WebHook result = apiInstance.apiV1WebhooksPut();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();

try {
    $result = $api_instance->apiV1WebhooksPut();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();

eval { 
    my $result = $api_instance->apiV1WebhooksPut();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksPut: $@\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.WebHookApi()

try: 
    api_response = api_instance.api_v1_webhooks_put()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksPut: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1WebhooksSearchGet


/api/v1/webhooks/search

Usage and SDK Samples

curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/webhooks/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHookPagingList result = apiInstance.apiV1WebhooksSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        try {
            WebHookPagingList result = apiInstance.apiV1WebhooksSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksSearchGet");
            e.printStackTrace();
        }
    }
}

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksSearchGetWithCompletionHandler: 
              ^(WebHookPagingList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1WebhooksSearchGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksSearchGetExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();

            try
            {
                WebHookPagingList result = apiInstance.apiV1WebhooksSearchGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();

try {
    $result = $api_instance->apiV1WebhooksSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();

eval { 
    my $result = $api_instance->apiV1WebhooksSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksSearchGet: $@\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.WebHookApi()

try: 
    api_response = api_instance.api_v1_webhooks_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksSearchGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


apiV1WebhooksTestGet


/api/v1/webhooks/test

Usage and SDK Samples

curl -X GET\
"https://api.modist.co/api/v1/webhooks/test"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WebHookApi;

import java.io.File;
import java.util.*;

public class WebHookApiExample {

    public static void main(String[] args) {
        
        WebHookApi apiInstance = new WebHookApi();
        try {
            apiInstance.apiV1WebhooksTestGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksTestGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WebHookApi;

public class WebHookApiExample {

    public static void main(String[] args) {
        WebHookApi apiInstance = new WebHookApi();
        try {
            apiInstance.apiV1WebhooksTestGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling WebHookApi#apiV1WebhooksTestGet");
            e.printStackTrace();
        }
    }
}

WebHookApi *apiInstance = [[WebHookApi alloc] init];

[apiInstance apiV1WebhooksTestGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ParlaApiSwagger = require('parla_api___swagger');

var api = new ParlaApiSwagger.WebHookApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiV1WebhooksTestGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiV1WebhooksTestGetExample
    {
        public void main()
        {

            var apiInstance = new WebHookApi();

            try
            {
                apiInstance.apiV1WebhooksTestGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebHookApi.apiV1WebhooksTestGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiWebHookApi();

try {
    $api_instance->apiV1WebhooksTestGet();
} catch (Exception $e) {
    echo 'Exception when calling WebHookApi->apiV1WebhooksTestGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WebHookApi;

my $api_instance = WWW::SwaggerClient::WebHookApi->new();

eval { 
    $api_instance->apiV1WebhooksTestGet();
};
if ($@) {
    warn "Exception when calling WebHookApi->apiV1WebhooksTestGet: $@\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.WebHookApi()

try: 
    api_instance.api_v1_webhooks_test_get()
except ApiException as e:
    print("Exception when calling WebHookApi->apiV1WebhooksTestGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success