rootGet
/
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/searchline/?token=&IMEI=&op="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IMEIApi;
import java.io.File;
import java.util.*;
public class IMEIApiExample {
public static void main(String[] args) {
IMEIApi apiInstance = new IMEIApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String token = token_example; // String | token
String iMEI = iMEI_example; // String | دستگاه IMEI ش
String op = op_example; // String | IMEI همیشه
try {
inline_response_200 result = apiInstance.rootGet(apiecoKey, token, iMEI, op);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IMEIApi#rootGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.IMEIApi;
public class IMEIApiExample {
public static void main(String[] args) {
IMEIApi apiInstance = new IMEIApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String token = token_example; // String | token
String iMEI = iMEI_example; // String | دستگاه IMEI ش
String op = op_example; // String | IMEI همیشه
try {
inline_response_200 result = apiInstance.rootGet(apiecoKey, token, iMEI, op);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IMEIApi#rootGet");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // token
String *iMEI = iMEI_example; // دستگاه IMEI ش
String *op = op_example; // IMEI همیشه (default to IMEI)
IMEIApi *apiInstance = [[IMEIApi alloc] init];
[apiInstance rootGetWith:apiecoKey
token:token
iMEI:iMEI
op:op
completionHandler: ^(inline_response_200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var _ = require('__');
var api = new _.IMEIApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var token = token_example; // {String} token
var iMEI = iMEI_example; // {String} دستگاه IMEI ش
var op = op_example; // {String} IMEI همیشه
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.rootGet(apiecoKey, token, iMEI, 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 IMEIApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
var token = token_example; // String | token
var iMEI = iMEI_example; // String | دستگاه IMEI ش
var op = op_example; // String | IMEI همیشه (default to IMEI)
try
{
inline_response_200 result = apiInstance.rootGet(apiecoKey, token, iMEI, op);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IMEIApi.rootGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\IMEIApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | token
$iMEI = iMEI_example; // String | دستگاه IMEI ش
$op = op_example; // String | IMEI همیشه
try {
$result = $api_instance->rootGet($apiecoKey, $token, $iMEI, $op);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IMEIApi->rootGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::IMEIApi;
my $api_instance = WWW::SwaggerClient::IMEIApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $token = token_example; # String | token
my $iMEI = iMEI_example; # String | دستگاه IMEI ش
my $op = op_example; # String | IMEI همیشه
eval {
my $result = $api_instance->rootGet(apiecoKey => $apiecoKey, token => $token, iMEI => $iMEI, op => $op);
print Dumper($result);
};
if ($@) {
warn "Exception when calling IMEIApi->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.IMEIApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
token = token_example # String | token
iMEI = iMEI_example # String | دستگاه IMEI ش
op = op_example # String | IMEI همیشه (default to IMEI)
try:
api_response = api_instance.root_get(apiecoKey, token, iMEI, op)
pprint(api_response)
except ApiException as e:
print("Exception when calling IMEIApi->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
|
IMEI* |
String
دستگاه IMEI ش
Required
|
op* |
String
IMEI همیشه
Required
|