سرویس API در حساب فا

v1ContactBatchsavePost

ذخیره گروهی


/v1/contact/batchsave

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/contact/batchsave"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_2 result = apiInstance.v1ContactBatchsavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactBatchsavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_2 result = apiInstance.v1ContactBatchsavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactBatchsavePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_3 *body = ; //  (optional)

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

// ذخیره گروهی
[apiInstance v1ContactBatchsavePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_3} 
};

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

namespace Example
{
    public class v1ContactBatchsavePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_3(); // Body_3 |  (optional) 

            try
            {
                // ذخیره گروهی
                inline_response_200_2 result = apiInstance.v1ContactBatchsavePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1ContactBatchsavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_3 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 

eval { 
    my $result = $api_instance->v1ContactBatchsavePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ContactBatchsavePost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_3 |  (optional)

try: 
    # ذخیره گروهی
    api_response = api_instance.v1_contact_batchsave_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ContactBatchsavePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ContactDeletePost

حذف


/v1/contact/delete

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/contact/delete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_3 result = apiInstance.v1ContactDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactDeletePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_3 result = apiInstance.v1ContactDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactDeletePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_4 *body = ; //  (optional)

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

// حذف
[apiInstance v1ContactDeletePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_4} 
};

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

namespace Example
{
    public class v1ContactDeletePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_4(); // Body_4 |  (optional) 

            try
            {
                // حذف
                inline_response_200_3 result = apiInstance.v1ContactDeletePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1ContactDeletePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_4 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 

eval { 
    my $result = $api_instance->v1ContactDeletePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ContactDeletePost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_4 |  (optional)

try: 
    # حذف
    api_response = api_instance.v1_contact_delete_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ContactDeletePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ContactGetPost

دریافت


/v1/contact/get

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/contact/get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200 result = apiInstance.v1ContactGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200 result = apiInstance.v1ContactGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactGetPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body *body = ; //  (optional)

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

// دریافت
[apiInstance v1ContactGetPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body} 
};

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

namespace Example
{
    public class v1ContactGetPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body(); // Body |  (optional) 

            try
            {
                // دریافت
                inline_response_200 result = apiInstance.v1ContactGetPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1ContactGetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    my $result = $api_instance->v1ContactGetPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ContactGetPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body |  (optional)

try: 
    # دریافت
    api_response = api_instance.v1_contact_get_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ContactGetPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ContactGetcontactsPost

دریافت لیست


/v1/contact/getcontacts

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/contact/getcontacts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.v1ContactGetcontactsPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactGetcontactsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.v1ContactGetcontactsPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactGetcontactsPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_1 *body = ; //  (optional)

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

// دریافت لیست
[apiInstance v1ContactGetcontactsPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_1} 
};

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

namespace Example
{
    public class v1ContactGetcontactsPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                // دریافت لیست
                inline_response_200_1 result = apiInstance.v1ContactGetcontactsPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1ContactGetcontactsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_1 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    my $result = $api_instance->v1ContactGetcontactsPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ContactGetcontactsPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_1 |  (optional)

try: 
    # دریافت لیست
    api_response = api_instance.v1_contact_getcontacts_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ContactGetcontactsPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ContactSavePost

ذخیره


/v1/contact/save

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/contact/save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_2 result = apiInstance.v1ContactSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_2 result = apiInstance.v1ContactSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ContactSavePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_2 *body = ; //  (optional)

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

// ذخیره
[apiInstance v1ContactSavePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_2} 
};

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

namespace Example
{
    public class v1ContactSavePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_2(); // Body_2 |  (optional) 

            try
            {
                // ذخیره
                inline_response_200_2 result = apiInstance.v1ContactSavePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1ContactSavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_2 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

eval { 
    my $result = $api_instance->v1ContactSavePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ContactSavePost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_2 |  (optional)

try: 
    # ذخیره
    api_response = api_instance.v1_contact_save_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ContactSavePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceDeletePost

حذف


/v1/invoice/delete

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/delete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_14 body = ; // Body_14 | 
        try {
            inline_response_200_3 result = apiInstance.v1InvoiceDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceDeletePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_14 body = ; // Body_14 | 
        try {
            inline_response_200_3 result = apiInstance.v1InvoiceDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceDeletePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_14 *body = ; //  (optional)

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

// حذف
[apiInstance v1InvoiceDeletePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_14} 
};

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

namespace Example
{
    public class v1InvoiceDeletePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_14(); // Body_14 |  (optional) 

            try
            {
                // حذف
                inline_response_200_3 result = apiInstance.v1InvoiceDeletePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceDeletePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_14 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_14->new(); # Body_14 | 

eval { 
    my $result = $api_instance->v1InvoiceDeletePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceDeletePost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_14 |  (optional)

try: 
    # حذف
    api_response = api_instance.v1_invoice_delete_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceDeletePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceGetPost

دریافت


/v1/invoice/get

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_11 body = ; // Body_11 | 
        try {
            inline_response_200_6 result = apiInstance.v1InvoiceGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_11 body = ; // Body_11 | 
        try {
            inline_response_200_6 result = apiInstance.v1InvoiceGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_11 *body = ; //  (optional)

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

// دریافت
[apiInstance v1InvoiceGetPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_11} 
};

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

namespace Example
{
    public class v1InvoiceGetPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_11(); // Body_11 |  (optional) 

            try
            {
                // دریافت
                inline_response_200_6 result = apiInstance.v1InvoiceGetPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceGetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_11 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_11->new(); # Body_11 | 

eval { 
    my $result = $api_instance->v1InvoiceGetPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceGetPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_11 |  (optional)

try: 
    # دریافت
    api_response = api_instance.v1_invoice_get_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceGetPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceGetinvoicesPost

دریافت لیست


/v1/invoice/getinvoices

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/getinvoices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_12 body = ; // Body_12 | 
        try {
            inline_response_200_7 result = apiInstance.v1InvoiceGetinvoicesPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetinvoicesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_12 body = ; // Body_12 | 
        try {
            inline_response_200_7 result = apiInstance.v1InvoiceGetinvoicesPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetinvoicesPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_12 *body = ; //  (optional)

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

// دریافت لیست
[apiInstance v1InvoiceGetinvoicesPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_12} 
};

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

namespace Example
{
    public class v1InvoiceGetinvoicesPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_12(); // Body_12 |  (optional) 

            try
            {
                // دریافت لیست
                inline_response_200_7 result = apiInstance.v1InvoiceGetinvoicesPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceGetinvoicesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_12 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_12->new(); # Body_12 | 

eval { 
    my $result = $api_instance->v1InvoiceGetinvoicesPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceGetinvoicesPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_12 |  (optional)

try: 
    # دریافت لیست
    api_response = api_instance.v1_invoice_getinvoices_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceGetinvoicesPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceGetonlineinvoiceurlPost

دریافت URL فاکتور آنلاین


/v1/invoice/getonlineinvoiceurl

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/getonlineinvoiceurl"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_16 body = ; // Body_16 | 
        try {
            inline_response_200_8 result = apiInstance.v1InvoiceGetonlineinvoiceurlPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetonlineinvoiceurlPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_16 body = ; // Body_16 | 
        try {
            inline_response_200_8 result = apiInstance.v1InvoiceGetonlineinvoiceurlPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceGetonlineinvoiceurlPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_16 *body = ; //  (optional)

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

// دریافت URL فاکتور آنلاین
[apiInstance v1InvoiceGetonlineinvoiceurlPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_16} 
};

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

namespace Example
{
    public class v1InvoiceGetonlineinvoiceurlPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_16(); // Body_16 |  (optional) 

            try
            {
                // دریافت URL فاکتور آنلاین
                inline_response_200_8 result = apiInstance.v1InvoiceGetonlineinvoiceurlPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceGetonlineinvoiceurlPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_16 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_16->new(); # Body_16 | 

eval { 
    my $result = $api_instance->v1InvoiceGetonlineinvoiceurlPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceGetonlineinvoiceurlPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_16 |  (optional)

try: 
    # دریافت URL فاکتور آنلاین
    api_response = api_instance.v1_invoice_getonlineinvoiceurl_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceGetonlineinvoiceurlPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceSavePost

ذخیره


/v1/invoice/save

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_13 body = ; // Body_13 | 
        try {
            inline_response_200_6 result = apiInstance.v1InvoiceSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_13 body = ; // Body_13 | 
        try {
            inline_response_200_6 result = apiInstance.v1InvoiceSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceSavePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_13 *body = ; //  (optional)

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

// ذخیره
[apiInstance v1InvoiceSavePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_13} 
};

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

namespace Example
{
    public class v1InvoiceSavePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_13(); // Body_13 |  (optional) 

            try
            {
                // ذخیره
                inline_response_200_6 result = apiInstance.v1InvoiceSavePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceSavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_13 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_13->new(); # Body_13 | 

eval { 
    my $result = $api_instance->v1InvoiceSavePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceSavePost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_13 |  (optional)

try: 
    # ذخیره
    api_response = api_instance.v1_invoice_save_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceSavePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1InvoiceSavepaymentPost

ثبت پرداخت فاکتور


/v1/invoice/savepayment

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/invoice/savepayment"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_15 body = ; // Body_15 | 
        try {
            inline_response_200_3 result = apiInstance.v1InvoiceSavepaymentPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceSavepaymentPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_15 body = ; // Body_15 | 
        try {
            inline_response_200_3 result = apiInstance.v1InvoiceSavepaymentPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceSavepaymentPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_15 *body = ; //  (optional)

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

// ثبت پرداخت فاکتور
[apiInstance v1InvoiceSavepaymentPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_.DefaultApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_15} 
};

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

namespace Example
{
    public class v1InvoiceSavepaymentPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_15(); // Body_15 |  (optional) 

            try
            {
                // ثبت پرداخت فاکتور
                inline_response_200_3 result = apiInstance.v1InvoiceSavepaymentPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceSavepaymentPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_15 | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_15->new(); # Body_15 | 

eval { 
    my $result = $api_instance->v1InvoiceSavepaymentPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceSavepaymentPost: $@\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.DefaultApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_15 |  (optional)

try: 
    # ثبت پرداخت فاکتور
    api_response = api_instance.v1_invoice_savepayment_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceSavepaymentPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


_

v1ItemBatchsavePost

ذخیره گروهی


/v1/item/batchsave

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/batchsave"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_9 body = ; // Body_9 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemBatchsavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemBatchsavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_9 body = ; // Body_9 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemBatchsavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemBatchsavePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_9 *body = ; //  (optional)

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

// ذخیره گروهی
[apiInstance v1ItemBatchsavePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_9} 
};

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

namespace Example
{
    public class v1ItemBatchsavePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_9(); // Body_9 |  (optional) 

            try
            {
                // ذخیره گروهی
                inline_response_200_4 result = apiInstance.v1ItemBatchsavePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemBatchsavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_9 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_9->new(); # Body_9 | 

eval { 
    my $result = $api_instance->v1ItemBatchsavePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemBatchsavePost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_9 |  (optional)

try: 
    # ذخیره گروهی
    api_response = api_instance.v1_item_batchsave_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemBatchsavePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ItemDeletePost

حذف


/v1/item/delete

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/delete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_10 body = ; // Body_10 | 
        try {
            inline_response_200_3 result = apiInstance.v1ItemDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemDeletePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_10 body = ; // Body_10 | 
        try {
            inline_response_200_3 result = apiInstance.v1ItemDeletePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemDeletePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_10 *body = ; //  (optional)

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

// حذف
[apiInstance v1ItemDeletePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_10} 
};

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

namespace Example
{
    public class v1ItemDeletePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_10(); // Body_10 |  (optional) 

            try
            {
                // حذف
                inline_response_200_3 result = apiInstance.v1ItemDeletePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemDeletePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_10 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_10->new(); # Body_10 | 

eval { 
    my $result = $api_instance->v1ItemDeletePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemDeletePost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_10 |  (optional)

try: 
    # حذف
    api_response = api_instance.v1_item_delete_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemDeletePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ItemGetByBarcodePost

دریافت از طریق بارکد


/v1/item/getByBarcode

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/getByBarcode"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemGetByBarcodePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetByBarcodePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_6 body = ; // Body_6 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemGetByBarcodePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetByBarcodePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_6 *body = ; //  (optional)

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

// دریافت از طریق بارکد
[apiInstance v1ItemGetByBarcodePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_6} 
};

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

namespace Example
{
    public class v1ItemGetByBarcodePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_6(); // Body_6 |  (optional) 

            try
            {
                // دریافت از طریق بارکد
                inline_response_200_4 result = apiInstance.v1ItemGetByBarcodePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemGetByBarcodePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_6 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_6->new(); # Body_6 | 

eval { 
    my $result = $api_instance->v1ItemGetByBarcodePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemGetByBarcodePost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_6 |  (optional)

try: 
    # دریافت از طریق بارکد
    api_response = api_instance.v1_item_get_by_barcode_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemGetByBarcodePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ItemGetPost

دریافت


/v1/item/get

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/get"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemGetPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_5 *body = ; //  (optional)

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

// دریافت
[apiInstance v1ItemGetPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_5} 
};

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

namespace Example
{
    public class v1ItemGetPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_5(); // Body_5 |  (optional) 

            try
            {
                // دریافت
                inline_response_200_4 result = apiInstance.v1ItemGetPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemGetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_5 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 

eval { 
    my $result = $api_instance->v1ItemGetPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemGetPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_5 |  (optional)

try: 
    # دریافت
    api_response = api_instance.v1_item_get_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemGetPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ItemGetitemsPost

دریافت لیست


/v1/item/getitems

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/getitems"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_200_5 result = apiInstance.v1ItemGetitemsPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetitemsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_7 body = ; // Body_7 | 
        try {
            inline_response_200_5 result = apiInstance.v1ItemGetitemsPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemGetitemsPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_7 *body = ; //  (optional)

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

// دریافت لیست
[apiInstance v1ItemGetitemsPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_7} 
};

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

namespace Example
{
    public class v1ItemGetitemsPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_7(); // Body_7 |  (optional) 

            try
            {
                // دریافت لیست
                inline_response_200_5 result = apiInstance.v1ItemGetitemsPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemGetitemsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_7 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_7->new(); # Body_7 | 

eval { 
    my $result = $api_instance->v1ItemGetitemsPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemGetitemsPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_7 |  (optional)

try: 
    # دریافت لیست
    api_response = api_instance.v1_item_getitems_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemGetitemsPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


v1ItemSavePost

ذخیره


/v1/item/save

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/hesabfa/v1/item/save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemSavePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_8 body = ; // Body_8 | 
        try {
            inline_response_200_4 result = apiInstance.v1ItemSavePost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#v1ItemSavePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_8 *body = ; //  (optional)

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

// ذخیره
[apiInstance v1ItemSavePostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Api_ = require('_api___');

var api = new Api_._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_8} 
};

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

namespace Example
{
    public class v1ItemSavePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_8(); // Body_8 |  (optional) 

            try
            {
                // ذخیره
                inline_response_200_4 result = apiInstance.v1ItemSavePost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.v1ItemSavePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_8 | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_8->new(); # Body_8 | 

eval { 
    my $result = $api_instance->v1ItemSavePost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->v1ItemSavePost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_8 |  (optional)

try: 
    # ذخیره
    api_response = api_instance.v1_item_save_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->v1ItemSavePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response