api.jainbook

Account

accountLoginSignUpPost


/Account/LoginSignUp

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Account/LoginSignUp"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
        LoginSignUpForm body = ; // LoginSignUpForm | 
        try {
            LoginSignUpResponse result = apiInstance.accountLoginSignUpPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#accountLoginSignUpPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

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

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

[apiInstance accountLoginSignUpPostWith:body
              completionHandler: ^(LoginSignUpResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


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

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


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

try {
    $result = $api_instance->accountLoginSignUpPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->accountLoginSignUpPost: ', $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::LoginSignUpForm->new(); # LoginSignUpForm | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Address

addressDeleteAddressPost


/Address/DeleteAddress

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
"//Address/DeleteAddress?addressId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;

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

public class AddressApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AddressApi apiInstance = new AddressApi();
        Integer addressId = 56; // Integer | 
        try {
            apiInstance.addressDeleteAddressPost(addressId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressDeleteAddressPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressApi;

public class AddressApiExample {

    public static void main(String[] args) {
        AddressApi apiInstance = new AddressApi();
        Integer addressId = 56; // Integer | 
        try {
            apiInstance.addressDeleteAddressPost(addressId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressDeleteAddressPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Integer *addressId = 56; //  (optional)

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

[apiInstance addressDeleteAddressPostWith:addressId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.AddressApi()
var opts = { 
  'addressId': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.addressDeleteAddressPost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new AddressApi();
            var addressId = 56;  // Integer |  (optional) 

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


$api_instance = new Swagger\Client\ApiAddressApi();
$addressId = 56; // Integer | 

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


my $api_instance = WWW::SwaggerClient::AddressApi->new();
my $addressId = 56; # Integer | 

eval { 
    $api_instance->addressDeleteAddressPost(addressId => $addressId);
};
if ($@) {
    warn "Exception when calling AddressApi->addressDeleteAddressPost: $@\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.AddressApi()
addressId = 56 # Integer |  (optional)

try: 
    api_instance.address_delete_address_post(addressId=addressId)
except ApiException as e:
    print("Exception when calling AddressApi->addressDeleteAddressPost: %s\n" % e)

Parameters

Query parameters
Name Description
addressId
Integer (int32)

Responses

Status: 200 - Success


addressGetAddressForAdminPost


/Address/GetAddressForAdmin

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Address/GetAddressForAdmin"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;

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

public class AddressApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AddressApi apiInstance = new AddressApi();
        CfGet body = ; // CfGet | 
        try {
            GetAddress result = apiInstance.addressGetAddressForAdminPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressGetAddressForAdminPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressApi;

public class AddressApiExample {

    public static void main(String[] args) {
        AddressApi apiInstance = new AddressApi();
        CfGet body = ; // CfGet | 
        try {
            GetAddress result = apiInstance.addressGetAddressForAdminPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressGetAddressForAdminPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance addressGetAddressForAdminPostWith:body
              completionHandler: ^(GetAddress output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new AddressApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiAddressApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


addressGetAddressPost


/Address/GetAddress

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Address/GetAddress"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;

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

public class AddressApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AddressApi apiInstance = new AddressApi();
        CfGet body = ; // CfGet | 
        try {
            GetAddress result = apiInstance.addressGetAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressGetAddressPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressApi;

public class AddressApiExample {

    public static void main(String[] args) {
        AddressApi apiInstance = new AddressApi();
        CfGet body = ; // CfGet | 
        try {
            GetAddress result = apiInstance.addressGetAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressGetAddressPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance addressGetAddressPostWith:body
              completionHandler: ^(GetAddress output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new AddressApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiAddressApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


addressInsertAddressPost


/Address/InsertAddress

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Address/InsertAddress"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;

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

public class AddressApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AddressApi apiInstance = new AddressApi();
        AddressForm body = ; // AddressForm | 
        try {
            GetSaveAddress result = apiInstance.addressInsertAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressInsertAddressPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressApi;

public class AddressApiExample {

    public static void main(String[] args) {
        AddressApi apiInstance = new AddressApi();
        AddressForm body = ; // AddressForm | 
        try {
            GetSaveAddress result = apiInstance.addressInsertAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressInsertAddressPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
AddressForm *body = ; //  (optional)

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

[apiInstance addressInsertAddressPostWith:body
              completionHandler: ^(GetSaveAddress output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new AddressApi();
            var body = new AddressForm(); // AddressForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiAddressApi();
$body = ; // AddressForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


addressUpdateAddressPost


/Address/UpdateAddress

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Address/UpdateAddress"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;

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

public class AddressApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AddressApi apiInstance = new AddressApi();
        AddressForm body = ; // AddressForm | 
        try {
            GetSaveAddress result = apiInstance.addressUpdateAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressUpdateAddressPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AddressApi;

public class AddressApiExample {

    public static void main(String[] args) {
        AddressApi apiInstance = new AddressApi();
        AddressForm body = ; // AddressForm | 
        try {
            GetSaveAddress result = apiInstance.addressUpdateAddressPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AddressApi#addressUpdateAddressPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
AddressForm *body = ; //  (optional)

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

[apiInstance addressUpdateAddressPostWith:body
              completionHandler: ^(GetSaveAddress output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new AddressApi();
            var body = new AddressForm(); // AddressForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiAddressApi();
$body = ; // AddressForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


ApiInfo

apiInfoGetPost


/ApiInfo/Get

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//ApiInfo/Get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApiInfoApi;

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

public class ApiInfoApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ApiInfoApi apiInstance = new ApiInfoApi();
        CfGetById body = ; // CfGetById | 
        try {
            AppApiVersion result = apiInstance.apiInfoGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ApiInfoApi#apiInfoGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ApiInfoApi;

public class ApiInfoApiExample {

    public static void main(String[] args) {
        ApiInfoApi apiInstance = new ApiInfoApi();
        CfGetById body = ; // CfGetById | 
        try {
            AppApiVersion result = apiInstance.apiInfoGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ApiInfoApi#apiInfoGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGetById *body = ; //  (optional)

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

[apiInstance apiInfoGetPostWith:body
              completionHandler: ^(AppApiVersion output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ApiInfoApi();
            var body = new CfGetById(); // CfGetById |  (optional) 

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


$api_instance = new Swagger\Client\ApiApiInfoApi();
$body = ; // CfGetById | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Banner

bannerAddBannerItemPost


/Banner/AddBannerItem

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
"//Banner/AddBannerItem"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        try {
            GetSaveBannerItem result = apiInstance.bannerAddBannerItemPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerAddBannerItemPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        try {
            GetSaveBannerItem result = apiInstance.bannerAddBannerItemPost();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerAddBannerItemPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

[apiInstance bannerAddBannerItemPostWithCompletionHandler: 
              ^(GetSaveBannerItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();

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


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

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


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

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

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

Parameters

Responses

Status: 200 - Success


bannerDeleteBannerItemPost


/Banner/DeleteBannerItem

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/DeleteBannerItem"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        OptById body = ; // OptById | 
        try {
            GetDeleteBannerItem result = apiInstance.bannerDeleteBannerItemPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerDeleteBannerItemPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        OptById body = ; // OptById | 
        try {
            GetDeleteBannerItem result = apiInstance.bannerDeleteBannerItemPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerDeleteBannerItemPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
OptById *body = ; //  (optional)

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

[apiInstance bannerDeleteBannerItemPostWith:body
              completionHandler: ^(GetDeleteBannerItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new OptById(); // OptById |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // OptById | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


bannerGetBannerByIdPost


/Banner/GetBannerById

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/GetBannerById"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        CfGetById body = ; // CfGetById | 
        try {
            Banner result = apiInstance.bannerGetBannerByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetBannerByIdPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        CfGetById body = ; // CfGetById | 
        try {
            Banner result = apiInstance.bannerGetBannerByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetBannerByIdPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGetById *body = ; //  (optional)

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

[apiInstance bannerGetBannerByIdPostWith:body
              completionHandler: ^(Banner output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new CfGetById(); // CfGetById |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // CfGetById | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


bannerGetBannerItemPost


/Banner/GetBannerItem

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/GetBannerItem"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        CfGet body = ; // CfGet | 
        try {
            GetBannerItem result = apiInstance.bannerGetBannerItemPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetBannerItemPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        CfGet body = ; // CfGet | 
        try {
            GetBannerItem result = apiInstance.bannerGetBannerItemPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetBannerItemPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance bannerGetBannerItemPostWith:body
              completionHandler: ^(GetBannerItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


bannerGetPost


/Banner/Get

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/Get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        CfGet body = ; // CfGet | 
        try {
            GetBanner result = apiInstance.bannerGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        CfGet body = ; // CfGet | 
        try {
            GetBanner result = apiInstance.bannerGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance bannerGetPostWith:body
              completionHandler: ^(GetBanner output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


bannerSavePost


/Banner/Save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/Save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        BannerForm body = ; // BannerForm | 
        try {
            GetSaveBanner result = apiInstance.bannerSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        BannerForm body = ; // BannerForm | 
        try {
            GetSaveBanner result = apiInstance.bannerSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerSavePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
BannerForm *body = ; //  (optional)

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

[apiInstance bannerSavePostWith:body
              completionHandler: ^(GetSaveBanner output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new BannerForm(); // BannerForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // BannerForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


bannerUpdatePost


/Banner/Update

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Banner/Update"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BannerApi;

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

public class BannerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        BannerApi apiInstance = new BannerApi();
        BannerForm body = ; // BannerForm | 
        try {
            GetSaveBanner result = apiInstance.bannerUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerUpdatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BannerApi;

public class BannerApiExample {

    public static void main(String[] args) {
        BannerApi apiInstance = new BannerApi();
        BannerForm body = ; // BannerForm | 
        try {
            GetSaveBanner result = apiInstance.bannerUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BannerApi#bannerUpdatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
BannerForm *body = ; //  (optional)

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

[apiInstance bannerUpdatePostWith:body
              completionHandler: ^(GetSaveBanner output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new BannerApi();
            var body = new BannerForm(); // BannerForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiBannerApi();
$body = ; // BannerForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Category

categoryAdminGetCategoryPost


/Category/AdminGetCategory

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Category/AdminGetCategory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        CfGet body = ; // CfGet | 
        try {
            GetCategory result = apiInstance.categoryAdminGetCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryAdminGetCategoryPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        CfGet body = ; // CfGet | 
        try {
            GetCategory result = apiInstance.categoryAdminGetCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryAdminGetCategoryPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance categoryAdminGetCategoryPostWith:body
              completionHandler: ^(GetCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new CategoryApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiCategoryApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


categoryGetChildCategoryPost


/Category/GetChildCategory

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Category/GetChildCategory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        CfGet body = ; // CfGet | 
        try {
            GetCategory result = apiInstance.categoryGetChildCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryGetChildCategoryPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        CfGet body = ; // CfGet | 
        try {
            GetCategory result = apiInstance.categoryGetChildCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryGetChildCategoryPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance categoryGetChildCategoryPostWith:body
              completionHandler: ^(GetCategory output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new CategoryApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiCategoryApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


categoryGetGet


/Category/Get

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
"//Category/Get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        try {
            array[Category] result = apiInstance.categoryGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryGetGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        try {
            array[Category] result = apiInstance.categoryGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryGetGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

[apiInstance categoryGetGetWithCompletionHandler: 
              ^(array[Category] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new CategoryApi();

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


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

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


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

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

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

Parameters

Responses

Status: 200 - Success


categorySavePost


/Category/Save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Category/Save?ParentId=&CategoryId=&Category=&CategoryUrl=&ImageUrl=&ImageIconUrl=&WebBackColor=&WebFontColor=&IconBackColor=&IconFontColor="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        Long parentId = 789; // Long | 
        String category = category_example; // String | 
        String categoryUrl = categoryUrl_example; // String | 
        String webBackColor = webBackColor_example; // String | 
        String webFontColor = webFontColor_example; // String | 
        String iconBackColor = iconBackColor_example; // String | 
        String iconFontColor = iconFontColor_example; // String | 
        byte[] image = image_example; // byte[] | 
        byte[] imageIcon = imageIcon_example; // byte[] | 
        Long categoryId = 789; // Long | 
        String imageUrl = imageUrl_example; // String | 
        String imageIconUrl = imageIconUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categorySavePost(parentId, category, categoryUrl, webBackColor, webFontColor, iconBackColor, iconFontColor, image, imageIcon, categoryId, imageUrl, imageIconUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categorySavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        Long parentId = 789; // Long | 
        String category = category_example; // String | 
        String categoryUrl = categoryUrl_example; // String | 
        String webBackColor = webBackColor_example; // String | 
        String webFontColor = webFontColor_example; // String | 
        String iconBackColor = iconBackColor_example; // String | 
        String iconFontColor = iconFontColor_example; // String | 
        byte[] image = image_example; // byte[] | 
        byte[] imageIcon = imageIcon_example; // byte[] | 
        Long categoryId = 789; // Long | 
        String imageUrl = imageUrl_example; // String | 
        String imageIconUrl = imageIconUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categorySavePost(parentId, category, categoryUrl, webBackColor, webFontColor, iconBackColor, iconFontColor, image, imageIcon, categoryId, imageUrl, imageIconUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categorySavePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Long *parentId = 789; // 
String *category = category_example; // 
String *categoryUrl = categoryUrl_example; // 
String *webBackColor = webBackColor_example; // 
String *webFontColor = webFontColor_example; // 
String *iconBackColor = iconBackColor_example; // 
String *iconFontColor = iconFontColor_example; // 
byte[] *image = image_example; //  (optional)
byte[] *imageIcon = imageIcon_example; //  (optional)
Long *categoryId = 789; //  (optional)
String *imageUrl = imageUrl_example; //  (optional)
String *imageIconUrl = imageIconUrl_example; //  (optional)

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

[apiInstance categorySavePostWith:parentId
    category:category
    categoryUrl:categoryUrl
    webBackColor:webBackColor
    webFontColor:webFontColor
    iconBackColor:iconBackColor
    iconFontColor:iconFontColor
    image:image
    imageIcon:imageIcon
    categoryId:categoryId
    imageUrl:imageUrl
    imageIconUrl:imageIconUrl
              completionHandler: ^(CategorySaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.CategoryApi()
var parentId = 789; // {{Long}} 
var category = category_example; // {{String}} 
var categoryUrl = categoryUrl_example; // {{String}} 
var webBackColor = webBackColor_example; // {{String}} 
var webFontColor = webFontColor_example; // {{String}} 
var iconBackColor = iconBackColor_example; // {{String}} 
var iconFontColor = iconFontColor_example; // {{String}} 
var opts = { 
  'image': image_example // {{byte[]}} 
  'imageIcon': imageIcon_example // {{byte[]}} 
  'categoryId': 789 // {{Long}} 
  'imageUrl': imageUrl_example // {{String}} 
  'imageIconUrl': imageIconUrl_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.categorySavePost(parentIdcategorycategoryUrlwebBackColorwebFontColoriconBackColoriconFontColor, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new CategoryApi();
            var parentId = 789;  // Long | 
            var category = category_example;  // String | 
            var categoryUrl = categoryUrl_example;  // String | 
            var webBackColor = webBackColor_example;  // String | 
            var webFontColor = webFontColor_example;  // String | 
            var iconBackColor = iconBackColor_example;  // String | 
            var iconFontColor = iconFontColor_example;  // String | 
            var image = image_example;  // byte[] |  (optional) 
            var imageIcon = imageIcon_example;  // byte[] |  (optional) 
            var categoryId = 789;  // Long |  (optional) 
            var imageUrl = imageUrl_example;  // String |  (optional) 
            var imageIconUrl = imageIconUrl_example;  // String |  (optional) 

            try
            {
                CategorySaveResponse result = apiInstance.categorySavePost(parentId, category, categoryUrl, webBackColor, webFontColor, iconBackColor, iconFontColor, image, imageIcon, categoryId, imageUrl, imageIconUrl);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoryApi.categorySavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiCategoryApi();
$parentId = 789; // Long | 
$category = category_example; // String | 
$categoryUrl = categoryUrl_example; // String | 
$webBackColor = webBackColor_example; // String | 
$webFontColor = webFontColor_example; // String | 
$iconBackColor = iconBackColor_example; // String | 
$iconFontColor = iconFontColor_example; // String | 
$image = image_example; // byte[] | 
$imageIcon = imageIcon_example; // byte[] | 
$categoryId = 789; // Long | 
$imageUrl = imageUrl_example; // String | 
$imageIconUrl = imageIconUrl_example; // String | 

try {
    $result = $api_instance->categorySavePost($parentId, $category, $categoryUrl, $webBackColor, $webFontColor, $iconBackColor, $iconFontColor, $image, $imageIcon, $categoryId, $imageUrl, $imageIconUrl);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CategoryApi->categorySavePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CategoryApi;


my $api_instance = WWW::SwaggerClient::CategoryApi->new();
my $parentId = 789; # Long | 
my $category = category_example; # String | 
my $categoryUrl = categoryUrl_example; # String | 
my $webBackColor = webBackColor_example; # String | 
my $webFontColor = webFontColor_example; # String | 
my $iconBackColor = iconBackColor_example; # String | 
my $iconFontColor = iconFontColor_example; # String | 
my $image = image_example; # byte[] | 
my $imageIcon = imageIcon_example; # byte[] | 
my $categoryId = 789; # Long | 
my $imageUrl = imageUrl_example; # String | 
my $imageIconUrl = imageIconUrl_example; # String | 

eval { 
    my $result = $api_instance->categorySavePost(parentId => $parentId, category => $category, categoryUrl => $categoryUrl, webBackColor => $webBackColor, webFontColor => $webFontColor, iconBackColor => $iconBackColor, iconFontColor => $iconFontColor, image => $image, imageIcon => $imageIcon, categoryId => $categoryId, imageUrl => $imageUrl, imageIconUrl => $imageIconUrl);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoryApi->categorySavePost: $@\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.CategoryApi()
parentId = 789 # Long | 
category = category_example # String | 
categoryUrl = categoryUrl_example # String | 
webBackColor = webBackColor_example # String | 
webFontColor = webFontColor_example # String | 
iconBackColor = iconBackColor_example # String | 
iconFontColor = iconFontColor_example # String | 
image = image_example # byte[] |  (optional)
imageIcon = imageIcon_example # byte[] |  (optional)
categoryId = 789 # Long |  (optional)
imageUrl = imageUrl_example # String |  (optional)
imageIconUrl = imageIconUrl_example # String |  (optional)

try: 
    api_response = api_instance.category_save_post(parentId, category, categoryUrl, webBackColor, webFontColor, iconBackColor, iconFontColor, image=image, imageIcon=imageIcon, categoryId=categoryId, imageUrl=imageUrl, imageIconUrl=imageIconUrl)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoryApi->categorySavePost: %s\n" % e)

Parameters

Form parameters
Name Description
Image
byte[] (binary)
ImageIcon
byte[] (binary)
Query parameters
Name Description
ParentId*
Long (int64)
Required
CategoryId
Long (int64)
Category*
String
Required
CategoryUrl*
String
Required
ImageUrl
String
ImageIconUrl
String
WebBackColor*
String
Required
WebFontColor*
String
Required
IconBackColor*
String
Required
IconFontColor*
String
Required

Responses

Status: 200 - Success


categoryUpdateIconImagePost


/Category/UpdateIconImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Category/UpdateIconImage?CategoryId=&ImageIconUrl="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        Long categoryId = 789; // Long | 
        byte[] imageIcon = imageIcon_example; // byte[] | 
        String imageIconUrl = imageIconUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateIconImagePost(categoryId, imageIcon, imageIconUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateIconImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        Long categoryId = 789; // Long | 
        byte[] imageIcon = imageIcon_example; // byte[] | 
        String imageIconUrl = imageIconUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateIconImagePost(categoryId, imageIcon, imageIconUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateIconImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Long *categoryId = 789; // 
byte[] *imageIcon = imageIcon_example; //  (optional)
String *imageIconUrl = imageIconUrl_example; //  (optional)

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

[apiInstance categoryUpdateIconImagePostWith:categoryId
    imageIcon:imageIcon
    imageIconUrl:imageIconUrl
              completionHandler: ^(CategorySaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.CategoryApi()
var categoryId = 789; // {{Long}} 
var opts = { 
  'imageIcon': imageIcon_example // {{byte[]}} 
  'imageIconUrl': imageIconUrl_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.categoryUpdateIconImagePost(categoryId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new CategoryApi();
            var categoryId = 789;  // Long | 
            var imageIcon = imageIcon_example;  // byte[] |  (optional) 
            var imageIconUrl = imageIconUrl_example;  // String |  (optional) 

            try
            {
                CategorySaveResponse result = apiInstance.categoryUpdateIconImagePost(categoryId, imageIcon, imageIconUrl);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoryApi.categoryUpdateIconImagePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiCategoryApi();
$categoryId = 789; // Long | 
$imageIcon = imageIcon_example; // byte[] | 
$imageIconUrl = imageIconUrl_example; // String | 

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


my $api_instance = WWW::SwaggerClient::CategoryApi->new();
my $categoryId = 789; # Long | 
my $imageIcon = imageIcon_example; # byte[] | 
my $imageIconUrl = imageIconUrl_example; # String | 

eval { 
    my $result = $api_instance->categoryUpdateIconImagePost(categoryId => $categoryId, imageIcon => $imageIcon, imageIconUrl => $imageIconUrl);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoryApi->categoryUpdateIconImagePost: $@\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.CategoryApi()
categoryId = 789 # Long | 
imageIcon = imageIcon_example # byte[] |  (optional)
imageIconUrl = imageIconUrl_example # String |  (optional)

try: 
    api_response = api_instance.category_update_icon_image_post(categoryId, imageIcon=imageIcon, imageIconUrl=imageIconUrl)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoryApi->categoryUpdateIconImagePost: %s\n" % e)

Parameters

Form parameters
Name Description
ImageIcon
byte[] (binary)
Query parameters
Name Description
CategoryId*
Long (int64)
Required
ImageIconUrl
String

Responses

Status: 200 - Success


categoryUpdateWebImagePost


/Category/UpdateWebImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Category/UpdateWebImage?CategoryId=&ImageUrl="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        Long categoryId = 789; // Long | 
        byte[] image = image_example; // byte[] | 
        String imageUrl = imageUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateWebImagePost(categoryId, image, imageUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateWebImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        Long categoryId = 789; // Long | 
        byte[] image = image_example; // byte[] | 
        String imageUrl = imageUrl_example; // String | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateWebImagePost(categoryId, image, imageUrl);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateWebImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Long *categoryId = 789; // 
byte[] *image = image_example; //  (optional)
String *imageUrl = imageUrl_example; //  (optional)

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

[apiInstance categoryUpdateWebImagePostWith:categoryId
    image:image
    imageUrl:imageUrl
              completionHandler: ^(CategorySaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.CategoryApi()
var categoryId = 789; // {{Long}} 
var opts = { 
  'image': image_example // {{byte[]}} 
  'imageUrl': imageUrl_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.categoryUpdateWebImagePost(categoryId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new CategoryApi();
            var categoryId = 789;  // Long | 
            var image = image_example;  // byte[] |  (optional) 
            var imageUrl = imageUrl_example;  // String |  (optional) 

            try
            {
                CategorySaveResponse result = apiInstance.categoryUpdateWebImagePost(categoryId, image, imageUrl);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CategoryApi.categoryUpdateWebImagePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiCategoryApi();
$categoryId = 789; // Long | 
$image = image_example; // byte[] | 
$imageUrl = imageUrl_example; // String | 

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


my $api_instance = WWW::SwaggerClient::CategoryApi->new();
my $categoryId = 789; # Long | 
my $image = image_example; # byte[] | 
my $imageUrl = imageUrl_example; # String | 

eval { 
    my $result = $api_instance->categoryUpdateWebImagePost(categoryId => $categoryId, image => $image, imageUrl => $imageUrl);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CategoryApi->categoryUpdateWebImagePost: $@\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.CategoryApi()
categoryId = 789 # Long | 
image = image_example # byte[] |  (optional)
imageUrl = imageUrl_example # String |  (optional)

try: 
    api_response = api_instance.category_update_web_image_post(categoryId, image=image, imageUrl=imageUrl)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CategoryApi->categoryUpdateWebImagePost: %s\n" % e)

Parameters

Form parameters
Name Description
Image
byte[] (binary)
Query parameters
Name Description
CategoryId*
Long (int64)
Required
ImageUrl
String

Responses

Status: 200 - Success


categoryUpdateWithoutImagePost


/Category/UpdateWithoutImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Category/UpdateWithoutImage"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CategoryApi;

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

public class CategoryApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        CategoryApi apiInstance = new CategoryApi();
        UpdateCategory body = ; // UpdateCategory | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateWithoutImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateWithoutImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CategoryApi;

public class CategoryApiExample {

    public static void main(String[] args) {
        CategoryApi apiInstance = new CategoryApi();
        UpdateCategory body = ; // UpdateCategory | 
        try {
            CategorySaveResponse result = apiInstance.categoryUpdateWithoutImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CategoryApi#categoryUpdateWithoutImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
UpdateCategory *body = ; //  (optional)

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

[apiInstance categoryUpdateWithoutImagePostWith:body
              completionHandler: ^(CategorySaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new CategoryApi();
            var body = new UpdateCategory(); // UpdateCategory |  (optional) 

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


$api_instance = new Swagger\Client\ApiCategoryApi();
$body = ; // UpdateCategory | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Contact

contactGetMessagePost


/Contact/GetMessage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Contact/GetMessage"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactApi;

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

public class ContactApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ContactApi apiInstance = new ContactApi();
        CfGet body = ; // CfGet | 
        try {
            GetMessageResponse result = apiInstance.contactGetMessagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactApi#contactGetMessagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactApi;

public class ContactApiExample {

    public static void main(String[] args) {
        ContactApi apiInstance = new ContactApi();
        CfGet body = ; // CfGet | 
        try {
            GetMessageResponse result = apiInstance.contactGetMessagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactApi#contactGetMessagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance contactGetMessagePostWith:body
              completionHandler: ^(GetMessageResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ContactApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiContactApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


contactSaveMessagePost


/Contact/SaveMessage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Contact/SaveMessage"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactApi;

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

public class ContactApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ContactApi apiInstance = new ContactApi();
        SaveMessageForm body = ; // SaveMessageForm | 
        try {
            SaveMessageResponse result = apiInstance.contactSaveMessagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactApi#contactSaveMessagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactApi;

public class ContactApiExample {

    public static void main(String[] args) {
        ContactApi apiInstance = new ContactApi();
        SaveMessageForm body = ; // SaveMessageForm | 
        try {
            SaveMessageResponse result = apiInstance.contactSaveMessagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactApi#contactSaveMessagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
SaveMessageForm *body = ; //  (optional)

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

[apiInstance contactSaveMessagePostWith:body
              completionHandler: ^(SaveMessageResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ContactApi();
            var body = new SaveMessageForm(); // SaveMessageForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiContactApi();
$body = ; // SaveMessageForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Deal

dealAddProductPost


/Deal/AddProduct

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/AddProduct"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        DealAddProduct body = ; // DealAddProduct | 
        try {
            AddProductResponse result = apiInstance.dealAddProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealAddProductPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        DealAddProduct body = ; // DealAddProduct | 
        try {
            AddProductResponse result = apiInstance.dealAddProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealAddProductPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
DealAddProduct *body = ; //  (optional)

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

[apiInstance dealAddProductPostWith:body
              completionHandler: ^(AddProductResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new DealAddProduct(); // DealAddProduct |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // DealAddProduct | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealGetByIdPost


/Deal/GetById

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/GetById"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        CfGetById body = ; // CfGetById | 
        try {
            GetDeal result = apiInstance.dealGetByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetByIdPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        CfGetById body = ; // CfGetById | 
        try {
            GetDeal result = apiInstance.dealGetByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetByIdPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGetById *body = ; //  (optional)

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

[apiInstance dealGetByIdPostWith:body
              completionHandler: ^(GetDeal output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new CfGetById(); // CfGetById |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // CfGetById | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealGetDealProductPost


/Deal/GetDealProduct

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/GetDealProduct"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        CfGet body = ; // CfGet | 
        try {
            DealProductResponse result = apiInstance.dealGetDealProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetDealProductPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        CfGet body = ; // CfGet | 
        try {
            DealProductResponse result = apiInstance.dealGetDealProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetDealProductPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance dealGetDealProductPostWith:body
              completionHandler: ^(DealProductResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealGetPost


/Deal/Get

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/Get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        CfGet body = ; // CfGet | 
        try {
            GetDeals result = apiInstance.dealGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        CfGet body = ; // CfGet | 
        try {
            GetDeals result = apiInstance.dealGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance dealGetPostWith:body
              completionHandler: ^(GetDeals output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // CfGet | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealRemoveProductPost


/Deal/RemoveProduct

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/RemoveProduct"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        DealAddProduct body = ; // DealAddProduct | 
        try {
            AddProductResponse result = apiInstance.dealRemoveProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealRemoveProductPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        DealAddProduct body = ; // DealAddProduct | 
        try {
            AddProductResponse result = apiInstance.dealRemoveProductPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealRemoveProductPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
DealAddProduct *body = ; //  (optional)

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

[apiInstance dealRemoveProductPostWith:body
              completionHandler: ^(AddProductResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new DealAddProduct(); // DealAddProduct |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // DealAddProduct | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealSavePost


/Deal/Save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/Save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        SaveDealForm body = ; // SaveDealForm | 
        try {
            GetSaveDeal result = apiInstance.dealSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        SaveDealForm body = ; // SaveDealForm | 
        try {
            GetSaveDeal result = apiInstance.dealSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealSavePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
SaveDealForm *body = ; //  (optional)

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

[apiInstance dealSavePostWith:body
              completionHandler: ^(GetSaveDeal output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new SaveDealForm(); // SaveDealForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // SaveDealForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


dealUpdatePost


/Deal/Update

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Deal/Update"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DealApi;

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

public class DealApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DealApi apiInstance = new DealApi();
        SaveDealForm body = ; // SaveDealForm | 
        try {
            GetSaveDeal result = apiInstance.dealUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealUpdatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DealApi;

public class DealApiExample {

    public static void main(String[] args) {
        DealApi apiInstance = new DealApi();
        SaveDealForm body = ; // SaveDealForm | 
        try {
            GetSaveDeal result = apiInstance.dealUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DealApi#dealUpdatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
SaveDealForm *body = ; //  (optional)

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

[apiInstance dealUpdatePostWith:body
              completionHandler: ^(GetSaveDeal output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new DealApi();
            var body = new SaveDealForm(); // SaveDealForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiDealApi();
$body = ; // SaveDealForm | 

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


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

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


Home

homeGetGet


/Home/Get

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
"//Home/Get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HomeApi;

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

public class HomeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        HomeApi apiInstance = new HomeApi();
        try {
            HomeResponse result = apiInstance.homeGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HomeApi#homeGetGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HomeApi;

public class HomeApiExample {

    public static void main(String[] args) {
        HomeApi apiInstance = new HomeApi();
        try {
            HomeResponse result = apiInstance.homeGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HomeApi#homeGetGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

[apiInstance homeGetGetWithCompletionHandler: 
              ^(HomeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new HomeApi();

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


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

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


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

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

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

Parameters

Responses

Status: 200 - Success


Order

orderAdminGetPost


/Order/AdminGet

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Order/AdminGet"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        OrderApi apiInstance = new OrderApi();
        CfGet body = ; // CfGet | 
        try {
            GetOrderResponse result = apiInstance.orderAdminGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderAdminGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        CfGet body = ; // CfGet | 
        try {
            GetOrderResponse result = apiInstance.orderAdminGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderAdminGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance orderAdminGetPostWith:body
              completionHandler: ^(GetOrderResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new OrderApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiOrderApi();
$body = ; // CfGet | 

try {
    $result = $api_instance->orderAdminGetPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->orderAdminGetPost: ', $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::CfGet->new(); # CfGet | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


orderChangeOrderStatusPost


/Order/ChangeOrderStatus

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Order/ChangeOrderStatus"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        OrderApi apiInstance = new OrderApi();
        OrderStatusForm body = ; // OrderStatusForm | 
        try {
            OrderStatusResponse result = apiInstance.orderChangeOrderStatusPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderChangeOrderStatusPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        OrderStatusForm body = ; // OrderStatusForm | 
        try {
            OrderStatusResponse result = apiInstance.orderChangeOrderStatusPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderChangeOrderStatusPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
OrderStatusForm *body = ; //  (optional)

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

[apiInstance orderChangeOrderStatusPostWith:body
              completionHandler: ^(OrderStatusResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new OrderApi();
            var body = new OrderStatusForm(); // OrderStatusForm |  (optional) 

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


$api_instance = new Swagger\Client\ApiOrderApi();
$body = ; // OrderStatusForm | 

try {
    $result = $api_instance->orderChangeOrderStatusPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->orderChangeOrderStatusPost: ', $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::OrderStatusForm->new(); # OrderStatusForm | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


orderGetPost


/Order/Get

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Order/Get"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        OrderApi apiInstance = new OrderApi();
        CfGet body = ; // CfGet | 
        try {
            GetOrderResponse result = apiInstance.orderGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        CfGet body = ; // CfGet | 
        try {
            GetOrderResponse result = apiInstance.orderGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance orderGetPostWith:body
              completionHandler: ^(GetOrderResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new OrderApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiOrderApi();
$body = ; // CfGet | 

try {
    $result = $api_instance->orderGetPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->orderGetPost: ', $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::CfGet->new(); # CfGet | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


orderSavePost


/Order/Save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Order/Save?BillingAddressId=&ShippingAddressId=&AppVersion=&OrderItems="
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        OrderApi apiInstance = new OrderApi();
        byte[] paymentImage = paymentImage_example; // byte[] | 
        Long billingAddressId = 789; // Long | 
        Long shippingAddressId = 789; // Long | 
        String appVersion = appVersion_example; // String | 
        array[OrderItemForm] orderItems = ; // array[OrderItemForm] | 
        try {
            OrderSaveResponse result = apiInstance.orderSavePost(paymentImage, billingAddressId, shippingAddressId, appVersion, orderItems);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OrderApi;

public class OrderApiExample {

    public static void main(String[] args) {
        OrderApi apiInstance = new OrderApi();
        byte[] paymentImage = paymentImage_example; // byte[] | 
        Long billingAddressId = 789; // Long | 
        Long shippingAddressId = 789; // Long | 
        String appVersion = appVersion_example; // String | 
        array[OrderItemForm] orderItems = ; // array[OrderItemForm] | 
        try {
            OrderSaveResponse result = apiInstance.orderSavePost(paymentImage, billingAddressId, shippingAddressId, appVersion, orderItems);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OrderApi#orderSavePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
byte[] *paymentImage = paymentImage_example; //  (optional)
Long *billingAddressId = 789; //  (optional)
Long *shippingAddressId = 789; //  (optional)
String *appVersion = appVersion_example; //  (optional)
array[OrderItemForm] *orderItems = ; //  (optional)

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

[apiInstance orderSavePostWith:paymentImage
    billingAddressId:billingAddressId
    shippingAddressId:shippingAddressId
    appVersion:appVersion
    orderItems:orderItems
              completionHandler: ^(OrderSaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.OrderApi()
var opts = { 
  'paymentImage': paymentImage_example // {{byte[]}} 
  'billingAddressId': 789 // {{Long}} 
  'shippingAddressId': 789 // {{Long}} 
  'appVersion': appVersion_example // {{String}} 
  'orderItems':  // {{array[OrderItemForm]}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.orderSavePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new OrderApi();
            var paymentImage = paymentImage_example;  // byte[] |  (optional) 
            var billingAddressId = 789;  // Long |  (optional) 
            var shippingAddressId = 789;  // Long |  (optional) 
            var appVersion = appVersion_example;  // String |  (optional) 
            var orderItems = new array[OrderItemForm](); // array[OrderItemForm] |  (optional) 

            try
            {
                OrderSaveResponse result = apiInstance.orderSavePost(paymentImage, billingAddressId, shippingAddressId, appVersion, orderItems);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OrderApi.orderSavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiOrderApi();
$paymentImage = paymentImage_example; // byte[] | 
$billingAddressId = 789; // Long | 
$shippingAddressId = 789; // Long | 
$appVersion = appVersion_example; // String | 
$orderItems = ; // array[OrderItemForm] | 

try {
    $result = $api_instance->orderSavePost($paymentImage, $billingAddressId, $shippingAddressId, $appVersion, $orderItems);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OrderApi->orderSavePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OrderApi;


my $api_instance = WWW::SwaggerClient::OrderApi->new();
my $paymentImage = paymentImage_example; # byte[] | 
my $billingAddressId = 789; # Long | 
my $shippingAddressId = 789; # Long | 
my $appVersion = appVersion_example; # String | 
my $orderItems = []; # array[OrderItemForm] | 

eval { 
    my $result = $api_instance->orderSavePost(paymentImage => $paymentImage, billingAddressId => $billingAddressId, shippingAddressId => $shippingAddressId, appVersion => $appVersion, orderItems => $orderItems);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OrderApi->orderSavePost: $@\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()
paymentImage = paymentImage_example # byte[] |  (optional)
billingAddressId = 789 # Long |  (optional)
shippingAddressId = 789 # Long |  (optional)
appVersion = appVersion_example # String |  (optional)
orderItems =  # array[OrderItemForm] |  (optional)

try: 
    api_response = api_instance.order_save_post(paymentImage=paymentImage, billingAddressId=billingAddressId, shippingAddressId=shippingAddressId, appVersion=appVersion, orderItems=orderItems)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OrderApi->orderSavePost: %s\n" % e)

Parameters

Form parameters
Name Description
PaymentImage
byte[] (binary)
Query parameters
Name Description
BillingAddressId
Long (int64)
ShippingAddressId
Long (int64)
AppVersion
String
OrderItems
array[OrderItemForm]

Responses

Status: 200 - Success


Product

productDeleteProductImagePost


/Product/DeleteProductImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/DeleteProductImage"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        DeleteProductImage body = ; // DeleteProductImage | 
        try {
            SimpleResponse result = apiInstance.productDeleteProductImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productDeleteProductImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        DeleteProductImage body = ; // DeleteProductImage | 
        try {
            SimpleResponse result = apiInstance.productDeleteProductImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productDeleteProductImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
DeleteProductImage *body = ; //  (optional)

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

[apiInstance productDeleteProductImagePostWith:body
              completionHandler: ^(SimpleResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new DeleteProductImage(); // DeleteProductImage |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // DeleteProductImage | 

try {
    $result = $api_instance->productDeleteProductImagePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productDeleteProductImagePost: ', $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::DeleteProductImage->new(); # DeleteProductImage | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productGetPost


/Product/Get

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/Get"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProducts result = apiInstance.productGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProducts result = apiInstance.productGetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance productGetPostWith:body
              completionHandler: ^(GetProducts output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // CfGet | 

try {
    $result = $api_instance->productGetPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productGetPost: ', $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::CfGet->new(); # CfGet | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productGetProductByCategoryPost


/Product/GetProductByCategory

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/GetProductByCategory"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProducts result = apiInstance.productGetProductByCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetProductByCategoryPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProducts result = apiInstance.productGetProductByCategoryPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetProductByCategoryPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance productGetProductByCategoryPostWith:body
              completionHandler: ^(GetProducts output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // CfGet | 

try {
    $result = $api_instance->productGetProductByCategoryPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productGetProductByCategoryPost: ', $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::CfGet->new(); # CfGet | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productGetProductImagePost


/Product/GetProductImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/GetProductImage"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProductImageResponse result = apiInstance.productGetProductImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetProductImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        CfGet body = ; // CfGet | 
        try {
            GetProductImageResponse result = apiInstance.productGetProductImagePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productGetProductImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGet *body = ; //  (optional)

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

[apiInstance productGetProductImagePostWith:body
              completionHandler: ^(GetProductImageResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new CfGet(); // CfGet |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // CfGet | 

try {
    $result = $api_instance->productGetProductImagePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productGetProductImagePost: ', $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::CfGet->new(); # CfGet | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productProductByIdPost


/Product/ProductById

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/ProductById"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        CfGetById body = ; // CfGetById | 
        try {
            GetProduct result = apiInstance.productProductByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productProductByIdPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        CfGetById body = ; // CfGetById | 
        try {
            GetProduct result = apiInstance.productProductByIdPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productProductByIdPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfGetById *body = ; //  (optional)

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

[apiInstance productProductByIdPostWith:body
              completionHandler: ^(GetProduct output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new CfGetById(); // CfGetById |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // CfGetById | 

try {
    $result = $api_instance->productProductByIdPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productProductByIdPost: ', $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::CfGetById->new(); # CfGetById | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productSavePost


/Product/Save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/Save"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        NewProduct body = ; // NewProduct | 
        try {
            ProductSaveResponse result = apiInstance.productSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        NewProduct body = ; // NewProduct | 
        try {
            ProductSaveResponse result = apiInstance.productSavePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productSavePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
NewProduct *body = ; //  (optional)

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

[apiInstance productSavePostWith:body
              completionHandler: ^(ProductSaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new NewProduct(); // NewProduct |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // NewProduct | 

try {
    $result = $api_instance->productSavePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productSavePost: ', $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::NewProduct->new(); # NewProduct | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productUpdatePost


/Product/Update

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Product/Update"
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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        UpdateProduct body = ; // UpdateProduct | 
        try {
            ProductSaveResponse result = apiInstance.productUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productUpdatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        UpdateProduct body = ; // UpdateProduct | 
        try {
            ProductSaveResponse result = apiInstance.productUpdatePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productUpdatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
UpdateProduct *body = ; //  (optional)

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

[apiInstance productUpdatePostWith:body
              completionHandler: ^(ProductSaveResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new ProductApi();
            var body = new UpdateProduct(); // UpdateProduct |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$body = ; // UpdateProduct | 

try {
    $result = $api_instance->productUpdatePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProductApi->productUpdatePost: ', $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::UpdateProduct->new(); # UpdateProduct | 

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

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

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - Success


productUploadProductImagePost


/Product/UploadProductImage

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Product/UploadProductImage?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) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProductApi apiInstance = new ProductApi();
        byte[] image = image_example; // byte[] | 
        String id = id_example; // String | 
        try {
            SimpleResponse result = apiInstance.productUploadProductImagePost(image, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productUploadProductImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProductApi;

public class ProductApiExample {

    public static void main(String[] args) {
        ProductApi apiInstance = new ProductApi();
        byte[] image = image_example; // byte[] | 
        String id = id_example; // String | 
        try {
            SimpleResponse result = apiInstance.productUploadProductImagePost(image, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProductApi#productUploadProductImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
byte[] *image = image_example; //  (optional)
String *id = id_example; //  (optional)

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

[apiInstance productUploadProductImagePostWith:image
    id:id
              completionHandler: ^(SimpleResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.ProductApi()
var opts = { 
  'image': image_example // {{byte[]}} 
  'id': id_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.productUploadProductImagePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new ProductApi();
            var image = image_example;  // byte[] |  (optional) 
            var id = id_example;  // String |  (optional) 

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


$api_instance = new Swagger\Client\ApiProductApi();
$image = image_example; // byte[] | 
$id = id_example; // String | 

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


my $api_instance = WWW::SwaggerClient::ProductApi->new();
my $image = image_example; # byte[] | 
my $id = id_example; # String | 

eval { 
    my $result = $api_instance->productUploadProductImagePost(image => $image, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProductApi->productUploadProductImagePost: $@\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()
image = image_example # byte[] |  (optional)
id = id_example # String |  (optional)

try: 
    api_response = api_instance.product_upload_product_image_post(image=image, id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProductApi->productUploadProductImagePost: %s\n" % e)

Parameters

Form parameters
Name Description
Image
byte[] (binary)
Query parameters
Name Description
Id
String

Responses

Status: 200 - Success


Test

testFilePost


/Test/File

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Test/File?Name=&Comment="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TestApi;

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

public class TestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TestApi apiInstance = new TestApi();
        byte[] file = file_example; // byte[] | 
        String name = name_example; // String | 
        String comment = comment_example; // String | 
        try {
            TestResponse result = apiInstance.testFilePost(file, name, comment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testFilePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TestApi;

public class TestApiExample {

    public static void main(String[] args) {
        TestApi apiInstance = new TestApi();
        byte[] file = file_example; // byte[] | 
        String name = name_example; // String | 
        String comment = comment_example; // String | 
        try {
            TestResponse result = apiInstance.testFilePost(file, name, comment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testFilePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
byte[] *file = file_example; //  (optional)
String *name = name_example; //  (optional)
String *comment = comment_example; //  (optional)

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

[apiInstance testFilePostWith:file
    name:name
    comment:comment
              completionHandler: ^(TestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.TestApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'name': name_example // {{String}} 
  'comment': comment_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.testFilePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new TestApi();
            var file = file_example;  // byte[] |  (optional) 
            var name = name_example;  // String |  (optional) 
            var comment = comment_example;  // String |  (optional) 

            try
            {
                TestResponse result = apiInstance.testFilePost(file, name, comment);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TestApi.testFilePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTestApi();
$file = file_example; // byte[] | 
$name = name_example; // String | 
$comment = comment_example; // String | 

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


my $api_instance = WWW::SwaggerClient::TestApi->new();
my $file = file_example; # byte[] | 
my $name = name_example; # String | 
my $comment = comment_example; # String | 

eval { 
    my $result = $api_instance->testFilePost(file => $file, name => $name, comment => $comment);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TestApi->testFilePost: $@\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.TestApi()
file = file_example # byte[] |  (optional)
name = name_example # String |  (optional)
comment = comment_example # String |  (optional)

try: 
    api_response = api_instance.test_file_post(file=file, name=name, comment=comment)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TestApi->testFilePost: %s\n" % e)

Parameters

Form parameters
Name Description
File
byte[] (binary)
Query parameters
Name Description
Name
String
Comment
String

Responses

Status: 200 - Success


testImagePost


/Test/Image

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: multipart/form-data"\
"//Test/Image?Name=&Comment="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TestApi;

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

public class TestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TestApi apiInstance = new TestApi();
        byte[] file = file_example; // byte[] | 
        String name = name_example; // String | 
        String comment = comment_example; // String | 
        try {
            TestResponse result = apiInstance.testImagePost(file, name, comment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testImagePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TestApi;

public class TestApiExample {

    public static void main(String[] args) {
        TestApi apiInstance = new TestApi();
        byte[] file = file_example; // byte[] | 
        String name = name_example; // String | 
        String comment = comment_example; // String | 
        try {
            TestResponse result = apiInstance.testImagePost(file, name, comment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testImagePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
byte[] *file = file_example; //  (optional)
String *name = name_example; //  (optional)
String *comment = comment_example; //  (optional)

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

[apiInstance testImagePostWith:file
    name:name
    comment:comment
              completionHandler: ^(TestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


var api = new Apijainbook.TestApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'name': name_example // {{String}} 
  'comment': comment_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.testImagePost(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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


            var apiInstance = new TestApi();
            var file = file_example;  // byte[] |  (optional) 
            var name = name_example;  // String |  (optional) 
            var comment = comment_example;  // String |  (optional) 

            try
            {
                TestResponse result = apiInstance.testImagePost(file, name, comment);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TestApi.testImagePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTestApi();
$file = file_example; // byte[] | 
$name = name_example; // String | 
$comment = comment_example; // String | 

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


my $api_instance = WWW::SwaggerClient::TestApi->new();
my $file = file_example; # byte[] | 
my $name = name_example; # String | 
my $comment = comment_example; # String | 

eval { 
    my $result = $api_instance->testImagePost(file => $file, name => $name, comment => $comment);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TestApi->testImagePost: $@\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.TestApi()
file = file_example # byte[] |  (optional)
name = name_example # String |  (optional)
comment = comment_example # String |  (optional)

try: 
    api_response = api_instance.test_image_post(file=file, name=name, comment=comment)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TestApi->testImagePost: %s\n" % e)

Parameters

Form parameters
Name Description
File
byte[] (binary)
Query parameters
Name Description
Name
String
Comment
String

Responses

Status: 200 - Success


testSendTestEmailGet


/Test/SendTestEmail

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
"//Test/SendTestEmail"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TestApi;

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

public class TestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TestApi apiInstance = new TestApi();
        try {
            apiInstance.testSendTestEmailGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testSendTestEmailGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TestApi;

public class TestApiExample {

    public static void main(String[] args) {
        TestApi apiInstance = new TestApi();
        try {
            apiInstance.testSendTestEmailGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testSendTestEmailGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

[apiInstance testSendTestEmailGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new TestApi();

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


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

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


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

eval { 
    $api_instance->testSendTestEmailGet();
};
if ($@) {
    warn "Exception when calling TestApi->testSendTestEmailGet: $@\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.TestApi()

try: 
    api_instance.test_send_test_email_get()
except ApiException as e:
    print("Exception when calling TestApi->testSendTestEmailGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success


testTokenTestGetGet


/Test/TokenTestGet

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
"//Test/TokenTestGet"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TestApi;

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

public class TestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TestApi apiInstance = new TestApi();
        try {
            TokenTestResponse result = apiInstance.testTokenTestGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testTokenTestGetGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TestApi;

public class TestApiExample {

    public static void main(String[] args) {
        TestApi apiInstance = new TestApi();
        try {
            TokenTestResponse result = apiInstance.testTokenTestGetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testTokenTestGetGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

[apiInstance testTokenTestGetGetWithCompletionHandler: 
              ^(TokenTestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new TestApi();

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


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

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


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

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

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

Parameters

Responses

Status: 200 - Success


testTokenTestPostPost


/Test/TokenTestPost

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/plain,application/json,text/json"\
-H "Content-Type: application/json-patch+json,application/json,text/json,application/*+json"\
"//Test/TokenTestPost"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TestApi;

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

public class TestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TestApi apiInstance = new TestApi();
        CfTest body = ; // CfTest | 
        try {
            TokenTestResponse result = apiInstance.testTokenTestPostPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testTokenTestPostPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TestApi;

public class TestApiExample {

    public static void main(String[] args) {
        TestApi apiInstance = new TestApi();
        CfTest body = ; // CfTest | 
        try {
            TokenTestResponse result = apiInstance.testTokenTestPostPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TestApi#testTokenTestPostPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CfTest *body = ; //  (optional)

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

[apiInstance testTokenTestPostPostWith:body
              completionHandler: ^(TokenTestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Apijainbook = require('apijainbook');
var defaultClient = Apijainbook.ApiClient.instance;


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

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


            var apiInstance = new TestApi();
            var body = new CfTest(); // CfTest |  (optional) 

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


$api_instance = new Swagger\Client\ApiTestApi();
$body = ; // CfTest | 

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


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

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

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

Parameters

Body parameters
Name Description
body