استعلام نماد اعتماد

Enamad

rootGet


/

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/searchline/?token=&Domain=&op="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EnamadApi;

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

public class EnamadApiExample {

    public static void main(String[] args) {
        
        EnamadApi apiInstance = new EnamadApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String token = token_example; // String | token
        String domain = domain_example; // String | آدرس سایت
        String op = op_example; // String | Enamad همیشه
        try {
            inline_response_200 result = apiInstance.rootGet(apiecoKey, token, domain, op);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EnamadApi#rootGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EnamadApi;

public class EnamadApiExample {

    public static void main(String[] args) {
        EnamadApi apiInstance = new EnamadApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String token = token_example; // String | token
        String domain = domain_example; // String | آدرس سایت
        String op = op_example; // String | Enamad همیشه
        try {
            inline_response_200 result = apiInstance.rootGet(apiecoKey, token, domain, op);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EnamadApi#rootGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // token
String *domain = domain_example; // آدرس سایت
String *op = op_example; // Enamad همیشه (default to Enamad)

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

[apiInstance rootGetWith:apiecoKey
    token:token
    domain:domain
    op:op
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _.EnamadApi()

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

var token = token_example; // {String} token

var domain = domain_example; // {String} آدرس سایت

var op = op_example; // {String} Enamad همیشه


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

namespace Example
{
    public class rootGetExample
    {
        public void main()
        {
            
            var apiInstance = new EnamadApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | token
            var domain = domain_example;  // String | آدرس سایت
            var op = op_example;  // String | Enamad همیشه (default to Enamad)

            try
            {
                inline_response_200 result = apiInstance.rootGet(apiecoKey, token, domain, op);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EnamadApi.rootGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EnamadApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | token
$domain = domain_example; // String | آدرس سایت
$op = op_example; // String | Enamad همیشه

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

my $api_instance = WWW::SwaggerClient::EnamadApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $token = token_example; # String | token
my $domain = domain_example; # String | آدرس سایت
my $op = op_example; # String | Enamad همیشه

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

# create an instance of the API class
api_instance = swagger_client.EnamadApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
token = token_example # String | token
domain = domain_example # String | آدرس سایت
op = op_example # String | Enamad همیشه (default to Enamad)

try: 
    api_response = api_instance.root_get(apiecoKey, token, domain, op)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EnamadApi->rootGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco_key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
token
Required
Domain*
String
آدرس سایت
Required
op*
String
Enamad همیشه
Required

Responses

Status: 200 - 200 response


rootPost

ارسال ورودی به تعداد دلخواه به صورت آرایه


/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/searchline/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EnamadApi;

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

public class EnamadApiExample {

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

public class EnamadApiExample {

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

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

// ارسال ورودی به تعداد دلخواه به صورت آرایه
[apiInstance rootPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _.EnamadApi()

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.rootPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            try
            {
                // ارسال ورودی به تعداد دلخواه به صورت آرایه
                inline_response_200 result = apiInstance.rootPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EnamadApi.rootPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

# create an instance of the API class
api_instance = swagger_client.EnamadApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body |  (optional)

try: 
    # ارسال ورودی به تعداد دلخواه به صورت آرایه
    api_response = api_instance.root_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EnamadApi->rootPost: %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