Lilak Api

LilakApi

apiCompanyIdGet

Get company by Id (شناسه ملی)


/api/Company/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Company/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // شناسه ملی

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

// Get company by Id (شناسه ملی)
[apiInstance apiCompanyIdGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} شناسه ملی


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

namespace Example
{
    public class apiCompanyIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | شناسه ملی

            try
            {
                // Get company by Id (شناسه ملی)
                apiInstance.apiCompanyIdGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiCompanyIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | شناسه ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | شناسه ملی

eval { 
    $api_instance->apiCompanyIdGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiCompanyIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | شناسه ملی

try: 
    # Get company by Id (شناسه ملی)
    api_instance.api_company_id_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiCompanyIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
شناسه ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiCompanyIdNewsGet

Get company news by Id (شناسه ملی)


/api/Company/{id}/News

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Company/{id}/News"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdNewsGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdNewsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdNewsGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdNewsGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // شناسه ملی

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

// Get company news by Id (شناسه ملی)
[apiInstance apiCompanyIdNewsGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} شناسه ملی


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

namespace Example
{
    public class apiCompanyIdNewsGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | شناسه ملی

            try
            {
                // Get company news by Id (شناسه ملی)
                apiInstance.apiCompanyIdNewsGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiCompanyIdNewsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | شناسه ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | شناسه ملی

eval { 
    $api_instance->apiCompanyIdNewsGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiCompanyIdNewsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | شناسه ملی

try: 
    # Get company news by Id (شناسه ملی)
    api_instance.api_company_id_news_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiCompanyIdNewsGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
شناسه ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiCompanyIdPeopleGet

Get company managers by Id (شناسه ملی)


/api/Company/{id}/People

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Company/{id}/People"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdPeopleGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdPeopleGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | شناسه ملی
        try {
            apiInstance.apiCompanyIdPeopleGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiCompanyIdPeopleGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // شناسه ملی

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

// Get company managers by Id (شناسه ملی)
[apiInstance apiCompanyIdPeopleGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} شناسه ملی


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

namespace Example
{
    public class apiCompanyIdPeopleGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | شناسه ملی

            try
            {
                // Get company managers by Id (شناسه ملی)
                apiInstance.apiCompanyIdPeopleGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiCompanyIdPeopleGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | شناسه ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | شناسه ملی

eval { 
    $api_instance->apiCompanyIdPeopleGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiCompanyIdPeopleGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | شناسه ملی

try: 
    # Get company managers by Id (شناسه ملی)
    api_instance.api_company_id_people_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiCompanyIdPeopleGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
شناسه ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiNewsIdGet

Get news by Id


/api/News/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/News/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد
        try {
            apiInstance.apiNewsIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiNewsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد
        try {
            apiInstance.apiNewsIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiNewsIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // کد

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

// Get news by Id
[apiInstance apiNewsIdGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} کد


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

namespace Example
{
    public class apiNewsIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | کد

            try
            {
                // Get news by Id
                apiInstance.apiNewsIdGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiNewsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | کد

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | کد

eval { 
    $api_instance->apiNewsIdGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiNewsIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | کد

try: 
    # Get news by Id
    api_instance.api_news_id_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiNewsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
کد
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiPersonIdCompaniesGet

Get companies that managed by the person by his/her Id (کد ملی)


/api/Person/{id}/Companies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Person/{id}/Companies"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdCompaniesGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdCompaniesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdCompaniesGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdCompaniesGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // کد ملی

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

// Get companies that managed by the person by his/her Id (کد ملی)
[apiInstance apiPersonIdCompaniesGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} کد ملی


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

namespace Example
{
    public class apiPersonIdCompaniesGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | کد ملی

            try
            {
                // Get companies that managed by the person by his/her Id (کد ملی)
                apiInstance.apiPersonIdCompaniesGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiPersonIdCompaniesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | کد ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | کد ملی

eval { 
    $api_instance->apiPersonIdCompaniesGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiPersonIdCompaniesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | کد ملی

try: 
    # Get companies that managed by the person by his/her Id (کد ملی)
    api_instance.api_person_id_companies_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiPersonIdCompaniesGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
کد ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiPersonIdGet

Get person by Id (کد ملی))


/api/Person/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Person/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // کد ملی

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

// Get person by Id (کد ملی))
[apiInstance apiPersonIdGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} کد ملی


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

namespace Example
{
    public class apiPersonIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | کد ملی

            try
            {
                // Get person by Id (کد ملی))
                apiInstance.apiPersonIdGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiPersonIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | کد ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | کد ملی

eval { 
    $api_instance->apiPersonIdGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiPersonIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | کد ملی

try: 
    # Get person by Id (کد ملی))
    api_instance.api_person_id_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiPersonIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
کد ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiPersonIdNewsGet

Get news about a person by his/her Id (کد ملی)


/api/Person/{id}/News

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Person/{id}/News"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdNewsGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdNewsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String id = id_example; // String | کد ملی
        try {
            apiInstance.apiPersonIdNewsGet(apiecoKey, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiPersonIdNewsGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *id = id_example; // کد ملی

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

// Get news about a person by his/her Id (کد ملی)
[apiInstance apiPersonIdNewsGetWith:apiecoKey
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var id = id_example; // {String} کد ملی


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

namespace Example
{
    public class apiPersonIdNewsGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var id = id_example;  // String | کد ملی

            try
            {
                // Get news about a person by his/her Id (کد ملی)
                apiInstance.apiPersonIdNewsGet(apiecoKey, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiPersonIdNewsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$id = id_example; // String | کد ملی

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $id = id_example; # String | کد ملی

eval { 
    $api_instance->apiPersonIdNewsGet(apiecoKey => $apiecoKey, id => $id);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiPersonIdNewsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
id = id_example # String | کد ملی

try: 
    # Get news about a person by his/her Id (کد ملی)
    api_instance.api_person_id_news_get(apiecoKey, id)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiPersonIdNewsGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
کد ملی
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiSearchGet

Search


/api/Search

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/lilak/api/Search?tresm="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LilakApiApi;

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

public class LilakApiApiExample {

    public static void main(String[] args) {
        
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String tresm = tresm_example; // String | نام شخص
        try {
            apiInstance.apiSearchGet(apiecoKey, tresm);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiSearchGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LilakApiApi;

public class LilakApiApiExample {

    public static void main(String[] args) {
        LilakApiApi apiInstance = new LilakApiApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String tresm = tresm_example; // String | نام شخص
        try {
            apiInstance.apiSearchGet(apiecoKey, tresm);
        } catch (ApiException e) {
            System.err.println("Exception when calling LilakApiApi#apiSearchGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *tresm = tresm_example; // نام شخص

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

// Search
[apiInstance apiSearchGetWith:apiecoKey
    tresm:tresm
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var LilakApi = require('lilak_api');

var api = new LilakApi.LilakApiApi()

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

var tresm = tresm_example; // {String} نام شخص


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

namespace Example
{
    public class apiSearchGetExample
    {
        public void main()
        {
            
            var apiInstance = new LilakApiApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var tresm = tresm_example;  // String | نام شخص

            try
            {
                // Search
                apiInstance.apiSearchGet(apiecoKey, tresm);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LilakApiApi.apiSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LilakApiApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$tresm = tresm_example; // String | نام شخص

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

my $api_instance = WWW::SwaggerClient::LilakApiApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $tresm = tresm_example; # String | نام شخص

eval { 
    $api_instance->apiSearchGet(apiecoKey => $apiecoKey, tresm => $tresm);
};
if ($@) {
    warn "Exception when calling LilakApiApi->apiSearchGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LilakApiApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
tresm = tresm_example # String | نام شخص

try: 
    # Search
    api_instance.api_search_get(apiecoKey, tresm)
except ApiException as e:
    print("Exception when calling LilakApiApi->apiSearchGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
tresm*
String
نام شخص
Required

Responses

Status: 200 - 200 response