نوین هاب

apiV1CaptionCaptionIdDelete

پاک کردن کپشن


/api/v1/caption/{captionId}

Usage and SDK Samples

curl -X DELETE "https://api.apieco.ir/novinhub/api/v1/caption/{captionId}?token="
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
        String token = token_example; // String | apikey for use API
        Integer captionId = 56; // Integer | شناسه کپشن
        try {
            inline_response_200_3 result = apiInstance.apiV1CaptionCaptionIdDelete(apiecoKey, token, captionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdDelete");
            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
        String token = token_example; // String | apikey for use API
        Integer captionId = 56; // Integer | شناسه کپشن
        try {
            inline_response_200_3 result = apiInstance.apiV1CaptionCaptionIdDelete(apiecoKey, token, captionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdDelete");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *captionId = 56; // شناسه کپشن

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

// پاک کردن کپشن
[apiInstance apiV1CaptionCaptionIdDeleteWith:apiecoKey
    token:token
    captionId:captionId
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var captionId = 56; // {Integer} شناسه کپشن


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

namespace Example
{
    public class apiV1CaptionCaptionIdDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var captionId = 56;  // Integer | شناسه کپشن

            try
            {
                // پاک کردن کپشن
                inline_response_200_3 result = apiInstance.apiV1CaptionCaptionIdDelete(apiecoKey, token, captionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1CaptionCaptionIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$captionId = 56; // Integer | شناسه کپشن

try {
    $result = $api_instance->apiV1CaptionCaptionIdDelete($apiecoKey, $token, $captionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1CaptionCaptionIdDelete: ', $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 $token = token_example; # String | apikey for use API
my $captionId = 56; # Integer | شناسه کپشن

eval { 
    my $result = $api_instance->apiV1CaptionCaptionIdDelete(apiecoKey => $apiecoKey, token => $token, captionId => $captionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1CaptionCaptionIdDelete: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
captionId = 56 # Integer | شناسه کپشن

try: 
    # پاک کردن کپشن
    api_response = api_instance.api_v1_caption_caption_id_delete(apiecoKey, token, captionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1CaptionCaptionIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
captionId*
Integer
شناسه کپشن
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1CaptionCaptionIdGet

پیدا کردن کپشن با شناسه


/api/v1/caption/{captionId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/caption/{captionId}?token="
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
        String token = token_example; // String | apikey for use API
        Integer captionId = 56; // Integer | شناسه کپشن
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdGet(apiecoKey, token, captionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdGet");
            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
        String token = token_example; // String | apikey for use API
        Integer captionId = 56; // Integer | شناسه کپشن
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdGet(apiecoKey, token, captionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *captionId = 56; // شناسه کپشن

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

// پیدا کردن کپشن با شناسه
[apiInstance apiV1CaptionCaptionIdGetWith:apiecoKey
    token:token
    captionId:captionId
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var captionId = 56; // {Integer} شناسه کپشن


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

namespace Example
{
    public class apiV1CaptionCaptionIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var captionId = 56;  // Integer | شناسه کپشن

            try
            {
                // پیدا کردن کپشن با شناسه
                inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdGet(apiecoKey, token, captionId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1CaptionCaptionIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$captionId = 56; // Integer | شناسه کپشن

try {
    $result = $api_instance->apiV1CaptionCaptionIdGet($apiecoKey, $token, $captionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1CaptionCaptionIdGet: ', $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 $token = token_example; # String | apikey for use API
my $captionId = 56; # Integer | شناسه کپشن

eval { 
    my $result = $api_instance->apiV1CaptionCaptionIdGet(apiecoKey => $apiecoKey, token => $token, captionId => $captionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1CaptionCaptionIdGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
captionId = 56 # Integer | شناسه کپشن

try: 
    # پیدا کردن کپشن با شناسه
    api_response = api_instance.api_v1_caption_caption_id_get(apiecoKey, token, captionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1CaptionCaptionIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
captionId*
Integer
شناسه کپشن
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1CaptionCaptionIdPut

بروزرسانی محتوی کپشن


/api/v1/caption/{captionId}

Usage and SDK Samples

curl -X PUT "https://api.apieco.ir/novinhub/api/v1/caption/{captionId}?token="
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
        String token = token_example; // String | apikey for use API
        String captionId = captionId_example; // String | شناسه کپشن
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdPut(apiecoKey, token, captionId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdPut");
            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
        String token = token_example; // String | apikey for use API
        String captionId = captionId_example; // String | شناسه کپشن
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdPut(apiecoKey, token, captionId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionCaptionIdPut");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *captionId = captionId_example; // شناسه کپشن
Body_1 *body = ; //  (optional)

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

// بروزرسانی محتوی کپشن
[apiInstance apiV1CaptionCaptionIdPutWith:apiecoKey
    token:token
    captionId:captionId
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var captionId = captionId_example; // {String} شناسه کپشن

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

namespace Example
{
    public class apiV1CaptionCaptionIdPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var captionId = captionId_example;  // String | شناسه کپشن
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                // بروزرسانی محتوی کپشن
                inline_response_200_2 result = apiInstance.apiV1CaptionCaptionIdPut(apiecoKey, token, captionId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1CaptionCaptionIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$captionId = captionId_example; // String | شناسه کپشن
$body = ; // Body_1 | 

try {
    $result = $api_instance->apiV1CaptionCaptionIdPut($apiecoKey, $token, $captionId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1CaptionCaptionIdPut: ', $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 $token = token_example; # String | apikey for use API
my $captionId = captionId_example; # String | شناسه کپشن
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    my $result = $api_instance->apiV1CaptionCaptionIdPut(apiecoKey => $apiecoKey, token => $token, captionId => $captionId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1CaptionCaptionIdPut: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
captionId = captionId_example # String | شناسه کپشن
body =  # Body_1 |  (optional)

try: 
    # بروزرسانی محتوی کپشن
    api_response = api_instance.api_v1_caption_caption_id_put(apiecoKey, token, captionId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1CaptionCaptionIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
captionId*
String
شناسه کپشن
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1CaptionGet

لیست کپشن ها


/api/v1/caption

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/caption?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_2] result = apiInstance.apiV1CaptionGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_2] result = apiInstance.apiV1CaptionGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست کپشن ها
[apiInstance apiV1CaptionGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_2] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1CaptionGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست کپشن ها
                array[inline_response_200_2] result = apiInstance.apiV1CaptionGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1CaptionGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1CaptionGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1CaptionGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست کپشن ها
    api_response = api_instance.api_v1_caption_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1CaptionGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1CaptionPost

اضافه کردن کپشن جدید


/api/v1/caption

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/novinhub/api/v1/caption?token="
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
        String token = token_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionPost");
            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
        String token = token_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200_2 result = apiInstance.apiV1CaptionPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1CaptionPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body *body = ; //  (optional)

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

// اضافه کردن کپشن جدید
[apiInstance apiV1CaptionPostWith:apiecoKey
    token:token
    body:body
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

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

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

            try
            {
                // اضافه کردن کپشن جدید
                inline_response_200_2 result = apiInstance.apiV1CaptionPost(apiecoKey, token, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1CaptionPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1CaptionPost($apiecoKey, $token, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1CaptionPost: ', $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 $token = token_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

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

try: 
    # اضافه کردن کپشن جدید
    api_response = api_instance.api_v1_caption_post(apiecoKey, token, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1CaptionPost: %s\n" % e)

Parameters

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

Responses

Status: 200 - 200 response


apiV1OrderGet

لیست سفارشات


/api/v1/order

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/order?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[Object] result = apiInstance.apiV1OrderGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1OrderGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[Object] result = apiInstance.apiV1OrderGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1OrderGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست سفارشات
[apiInstance apiV1OrderGetWith:apiecoKey
    token:token
              completionHandler: ^(array[Object] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1OrderGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست سفارشات
                array[Object] result = apiInstance.apiV1OrderGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1OrderGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1OrderGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1OrderGet: ', $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 $token = token_example; # String | apikey for use API

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

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

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1OrderPost

اضافه کردن سفارش جدید


/api/v1/order

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/novinhub/api/v1/order?token="
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
        String token = token_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_7 result = apiInstance.apiV1OrderPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1OrderPost");
            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
        String token = token_example; // String | apikey for use API
        Body_2 body = ; // Body_2 | 
        try {
            inline_response_200_7 result = apiInstance.apiV1OrderPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1OrderPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_2 *body = ; //  (optional)

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

// اضافه کردن سفارش جدید
[apiInstance apiV1OrderPostWith:apiecoKey
    token:token
    body:body
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

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

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

            try
            {
                // اضافه کردن سفارش جدید
                inline_response_200_7 result = apiInstance.apiV1OrderPost(apiecoKey, token, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1OrderPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1OrderPost($apiecoKey, $token, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1OrderPost: ', $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 $token = token_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_2->new(); # Body_2 | 

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

try: 
    # اضافه کردن سفارش جدید
    api_response = api_instance.api_v1_order_post(apiecoKey, token, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1OrderPost: %s\n" % e)

Parameters

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

Responses

Status: 200 - 200 response


apiV1TicketDepartmentsGet

لیست واحد ها


/api/v1/ticket/departments

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/ticket/departments?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_12] result = apiInstance.apiV1TicketDepartmentsGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketDepartmentsGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_12] result = apiInstance.apiV1TicketDepartmentsGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketDepartmentsGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست واحد ها
[apiInstance apiV1TicketDepartmentsGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_12] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1TicketDepartmentsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست واحد ها
                array[inline_response_200_12] result = apiInstance.apiV1TicketDepartmentsGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketDepartmentsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1TicketDepartmentsGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketDepartmentsGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست واحد ها
    api_response = api_instance.api_v1_ticket_departments_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketDepartmentsGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1TicketGet

لیست تیکت ها


/api/v1/ticket

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/ticket?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_11] result = apiInstance.apiV1TicketGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_11] result = apiInstance.apiV1TicketGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست تیکت ها
[apiInstance apiV1TicketGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_11] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1TicketGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست تیکت ها
                array[inline_response_200_11] result = apiInstance.apiV1TicketGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1TicketGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست تیکت ها
    api_response = api_instance.api_v1_ticket_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1TicketPost

اضافه کردن تیکت جدید


/api/v1/ticket

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/novinhub/api/v1/ticket?token="
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
        String token = token_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_11 result = apiInstance.apiV1TicketPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketPost");
            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
        String token = token_example; // String | apikey for use API
        Body_4 body = ; // Body_4 | 
        try {
            inline_response_200_11 result = apiInstance.apiV1TicketPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_4 *body = ; //  (optional)

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

// اضافه کردن تیکت جدید
[apiInstance apiV1TicketPostWith:apiecoKey
    token:token
    body:body
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

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

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

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

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

try {
    $result = $api_instance->apiV1TicketPost($apiecoKey, $token, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketPost: ', $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 $token = token_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_4->new(); # Body_4 | 

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

try: 
    # اضافه کردن تیکت جدید
    api_response = api_instance.api_v1_ticket_post(apiecoKey, token, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketPost: %s\n" % e)

Parameters

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

Responses

Status: 200 - 200 response


apiV1TicketTicketIdClosePut

بستن تیکت


/api/v1/ticket/{ticketId}/close

Usage and SDK Samples

curl -X PUT "https://api.apieco.ir/novinhub/api/v1/ticket/{ticketId}/close?token="
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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            inline_response_200_3 result = apiInstance.apiV1TicketTicketIdClosePut(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdClosePut");
            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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            inline_response_200_3 result = apiInstance.apiV1TicketTicketIdClosePut(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdClosePut");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *ticketId = ticketId_example; // شناسه تیکت

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

// بستن تیکت
[apiInstance apiV1TicketTicketIdClosePutWith:apiecoKey
    token:token
    ticketId:ticketId
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var ticketId = ticketId_example; // {String} شناسه تیکت


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

namespace Example
{
    public class apiV1TicketTicketIdClosePutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var ticketId = ticketId_example;  // String | شناسه تیکت

            try
            {
                // بستن تیکت
                inline_response_200_3 result = apiInstance.apiV1TicketTicketIdClosePut(apiecoKey, token, ticketId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketTicketIdClosePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$ticketId = ticketId_example; // String | شناسه تیکت

try {
    $result = $api_instance->apiV1TicketTicketIdClosePut($apiecoKey, $token, $ticketId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketTicketIdClosePut: ', $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 $token = token_example; # String | apikey for use API
my $ticketId = ticketId_example; # String | شناسه تیکت

eval { 
    my $result = $api_instance->apiV1TicketTicketIdClosePut(apiecoKey => $apiecoKey, token => $token, ticketId => $ticketId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1TicketTicketIdClosePut: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
ticketId = ticketId_example # String | شناسه تیکت

try: 
    # بستن تیکت
    api_response = api_instance.api_v1_ticket_ticket_id_close_put(apiecoKey, token, ticketId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketTicketIdClosePut: %s\n" % e)

Parameters

Path parameters
Name Description
ticketId*
String
شناسه تیکت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1TicketTicketIdGet

پیدا کردن تیکت با شناسه


/api/v1/ticket/{ticketId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/ticket/{ticketId}?token="
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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            inline_response_200_11 result = apiInstance.apiV1TicketTicketIdGet(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdGet");
            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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            inline_response_200_11 result = apiInstance.apiV1TicketTicketIdGet(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *ticketId = ticketId_example; // شناسه تیکت

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

// پیدا کردن تیکت با شناسه
[apiInstance apiV1TicketTicketIdGetWith:apiecoKey
    token:token
    ticketId:ticketId
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var ticketId = ticketId_example; // {String} شناسه تیکت


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

namespace Example
{
    public class apiV1TicketTicketIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var ticketId = ticketId_example;  // String | شناسه تیکت

            try
            {
                // پیدا کردن تیکت با شناسه
                inline_response_200_11 result = apiInstance.apiV1TicketTicketIdGet(apiecoKey, token, ticketId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketTicketIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$ticketId = ticketId_example; // String | شناسه تیکت

try {
    $result = $api_instance->apiV1TicketTicketIdGet($apiecoKey, $token, $ticketId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketTicketIdGet: ', $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 $token = token_example; # String | apikey for use API
my $ticketId = ticketId_example; # String | شناسه تیکت

eval { 
    my $result = $api_instance->apiV1TicketTicketIdGet(apiecoKey => $apiecoKey, token => $token, ticketId => $ticketId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1TicketTicketIdGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
ticketId = ticketId_example # String | شناسه تیکت

try: 
    # پیدا کردن تیکت با شناسه
    api_response = api_instance.api_v1_ticket_ticket_id_get(apiecoKey, token, ticketId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketTicketIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
ticketId*
String
شناسه تیکت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1TicketTicketIdMetaGet

پیدا کردن جزئیات تیکت با شناسه


/api/v1/ticket/{ticketId}/meta

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/ticket/{ticketId}/meta?token="
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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            array[inline_response_200_13] result = apiInstance.apiV1TicketTicketIdMetaGet(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdMetaGet");
            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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        try {
            array[inline_response_200_13] result = apiInstance.apiV1TicketTicketIdMetaGet(apiecoKey, token, ticketId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdMetaGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *ticketId = ticketId_example; // شناسه تیکت

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

// پیدا کردن جزئیات تیکت با شناسه
[apiInstance apiV1TicketTicketIdMetaGetWith:apiecoKey
    token:token
    ticketId:ticketId
              completionHandler: ^(array[inline_response_200_13] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var ticketId = ticketId_example; // {String} شناسه تیکت


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

namespace Example
{
    public class apiV1TicketTicketIdMetaGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var ticketId = ticketId_example;  // String | شناسه تیکت

            try
            {
                // پیدا کردن جزئیات تیکت با شناسه
                array[inline_response_200_13] result = apiInstance.apiV1TicketTicketIdMetaGet(apiecoKey, token, ticketId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketTicketIdMetaGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$ticketId = ticketId_example; // String | شناسه تیکت

try {
    $result = $api_instance->apiV1TicketTicketIdMetaGet($apiecoKey, $token, $ticketId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketTicketIdMetaGet: ', $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 $token = token_example; # String | apikey for use API
my $ticketId = ticketId_example; # String | شناسه تیکت

eval { 
    my $result = $api_instance->apiV1TicketTicketIdMetaGet(apiecoKey => $apiecoKey, token => $token, ticketId => $ticketId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1TicketTicketIdMetaGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
ticketId = ticketId_example # String | شناسه تیکت

try: 
    # پیدا کردن جزئیات تیکت با شناسه
    api_response = api_instance.api_v1_ticket_ticket_id_meta_get(apiecoKey, token, ticketId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketTicketIdMetaGet: %s\n" % e)

Parameters

Path parameters
Name Description
ticketId*
String
شناسه تیکت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1TicketTicketIdMetaPut

اضافه کردن درخواست جدید به تیکت


/api/v1/ticket/{ticketId}/meta

Usage and SDK Samples

curl -X PUT "https://api.apieco.ir/novinhub/api/v1/ticket/{ticketId}/meta?token="
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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_13 result = apiInstance.apiV1TicketTicketIdMetaPut(apiecoKey, token, ticketId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdMetaPut");
            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
        String token = token_example; // String | apikey for use API
        String ticketId = ticketId_example; // String | شناسه تیکت
        Body_5 body = ; // Body_5 | 
        try {
            inline_response_200_13 result = apiInstance.apiV1TicketTicketIdMetaPut(apiecoKey, token, ticketId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiV1TicketTicketIdMetaPut");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *ticketId = ticketId_example; // شناسه تیکت
Body_5 *body = ; //  (optional)

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

// اضافه کردن درخواست جدید به تیکت
[apiInstance apiV1TicketTicketIdMetaPutWith:apiecoKey
    token:token
    ticketId:ticketId
    body:body
              completionHandler: ^(inline_response_200_13 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _.DefaultApi()

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

var token = token_example; // {String} apikey for use API

var ticketId = ticketId_example; // {String} شناسه تیکت

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

namespace Example
{
    public class apiV1TicketTicketIdMetaPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var ticketId = ticketId_example;  // String | شناسه تیکت
            var body = new Body_5(); // Body_5 |  (optional) 

            try
            {
                // اضافه کردن درخواست جدید به تیکت
                inline_response_200_13 result = apiInstance.apiV1TicketTicketIdMetaPut(apiecoKey, token, ticketId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.apiV1TicketTicketIdMetaPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$ticketId = ticketId_example; // String | شناسه تیکت
$body = ; // Body_5 | 

try {
    $result = $api_instance->apiV1TicketTicketIdMetaPut($apiecoKey, $token, $ticketId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apiV1TicketTicketIdMetaPut: ', $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 $token = token_example; # String | apikey for use API
my $ticketId = ticketId_example; # String | شناسه تیکت
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | 

eval { 
    my $result = $api_instance->apiV1TicketTicketIdMetaPut(apiecoKey => $apiecoKey, token => $token, ticketId => $ticketId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiV1TicketTicketIdMetaPut: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
ticketId = ticketId_example # String | شناسه تیکت
body =  # Body_5 |  (optional)

try: 
    # اضافه کردن درخواست جدید به تیکت
    api_response = api_instance.api_v1_ticket_ticket_id_meta_put(apiecoKey, token, ticketId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apiV1TicketTicketIdMetaPut: %s\n" % e)

Parameters

Path parameters
Name Description
ticketId*
String
شناسه تیکت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


_

apiV1AccountAccountIdDelete

پاک کردن اکانت


/api/v1/account/{accountId}

Usage and SDK Samples

curl -X DELETE "https://api.apieco.ir/novinhub/api/v1/account/{accountId}?token="
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
        String token = token_example; // String | apikey for use API
        Integer accountId = 56; // Integer | شناسه اکانت
        try {
            apiInstance.apiV1AccountAccountIdDelete(apiecoKey, token, accountId);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountAccountIdDelete");
            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
        String token = token_example; // String | apikey for use API
        Integer accountId = 56; // Integer | شناسه اکانت
        try {
            apiInstance.apiV1AccountAccountIdDelete(apiecoKey, token, accountId);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountAccountIdDelete");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *accountId = 56; // شناسه اکانت

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

// پاک کردن اکانت
[apiInstance apiV1AccountAccountIdDeleteWith:apiecoKey
    token:token
    accountId:accountId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var accountId = 56; // {Integer} شناسه اکانت


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

namespace Example
{
    public class apiV1AccountAccountIdDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var accountId = 56;  // Integer | شناسه اکانت

            try
            {
                // پاک کردن اکانت
                apiInstance.apiV1AccountAccountIdDelete(apiecoKey, token, accountId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1AccountAccountIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$accountId = 56; // Integer | شناسه اکانت

try {
    $api_instance->apiV1AccountAccountIdDelete($apiecoKey, $token, $accountId);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1AccountAccountIdDelete: ', $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 $token = token_example; # String | apikey for use API
my $accountId = 56; # Integer | شناسه اکانت

eval { 
    $api_instance->apiV1AccountAccountIdDelete(apiecoKey => $apiecoKey, token => $token, accountId => $accountId);
};
if ($@) {
    warn "Exception when calling _Api->apiV1AccountAccountIdDelete: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
accountId = 56 # Integer | شناسه اکانت

try: 
    # پاک کردن اکانت
    api_instance.api_v1_account_account_id_delete(apiecoKey, token, accountId)
except ApiException as e:
    print("Exception when calling _Api->apiV1AccountAccountIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
accountId*
Integer
شناسه اکانت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1AccountAccountIdGet

پیدا کردن اکانت با شناسه


/api/v1/account/{accountId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/account/{accountId}?token="
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
        String token = token_example; // String | apikey for use API
        Integer accountId = 56; // Integer | شناسه اکانت
        try {
            inline_response_200_1 result = apiInstance.apiV1AccountAccountIdGet(apiecoKey, token, accountId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountAccountIdGet");
            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
        String token = token_example; // String | apikey for use API
        Integer accountId = 56; // Integer | شناسه اکانت
        try {
            inline_response_200_1 result = apiInstance.apiV1AccountAccountIdGet(apiecoKey, token, accountId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountAccountIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *accountId = 56; // شناسه اکانت

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

// پیدا کردن اکانت با شناسه
[apiInstance apiV1AccountAccountIdGetWith:apiecoKey
    token:token
    accountId:accountId
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var accountId = 56; // {Integer} شناسه اکانت


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

namespace Example
{
    public class apiV1AccountAccountIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var accountId = 56;  // Integer | شناسه اکانت

            try
            {
                // پیدا کردن اکانت با شناسه
                inline_response_200_1 result = apiInstance.apiV1AccountAccountIdGet(apiecoKey, token, accountId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1AccountAccountIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$accountId = 56; // Integer | شناسه اکانت

try {
    $result = $api_instance->apiV1AccountAccountIdGet($apiecoKey, $token, $accountId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1AccountAccountIdGet: ', $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 $token = token_example; # String | apikey for use API
my $accountId = 56; # Integer | شناسه اکانت

eval { 
    my $result = $api_instance->apiV1AccountAccountIdGet(apiecoKey => $apiecoKey, token => $token, accountId => $accountId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1AccountAccountIdGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
accountId = 56 # Integer | شناسه اکانت

try: 
    # پیدا کردن اکانت با شناسه
    api_response = api_instance.api_v1_account_account_id_get(apiecoKey, token, accountId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1AccountAccountIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
accountId*
Integer
شناسه اکانت
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1AccountGet

لیست اکانت ها


/api/v1/account

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/account?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200] result = apiInstance.apiV1AccountGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200] result = apiInstance.apiV1AccountGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1AccountGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست اکانت ها
[apiInstance apiV1AccountGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1AccountGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست اکانت ها
                array[inline_response_200] result = apiInstance.apiV1AccountGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1AccountGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1AccountGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1AccountGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست اکانت ها
    api_response = api_instance.api_v1_account_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1AccountGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1FileFileidDelete

پاک کردن فایل


/api/v1/file/{fileid}

Usage and SDK Samples

curl -X DELETE "https://api.apieco.ir/novinhub/api/v1/file/{fileid}?token="
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
        String token = token_example; // String | apikey for use API
        Integer fileid = 56; // Integer | شناسه فایل
        try {
            inline_response_200_3 result = apiInstance.apiV1FileFileidDelete(apiecoKey, token, fileid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileFileidDelete");
            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
        String token = token_example; // String | apikey for use API
        Integer fileid = 56; // Integer | شناسه فایل
        try {
            inline_response_200_3 result = apiInstance.apiV1FileFileidDelete(apiecoKey, token, fileid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileFileidDelete");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *fileid = 56; // شناسه فایل

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

// پاک کردن فایل
[apiInstance apiV1FileFileidDeleteWith:apiecoKey
    token:token
    fileid:fileid
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var fileid = 56; // {Integer} شناسه فایل


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

namespace Example
{
    public class apiV1FileFileidDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var fileid = 56;  // Integer | شناسه فایل

            try
            {
                // پاک کردن فایل
                inline_response_200_3 result = apiInstance.apiV1FileFileidDelete(apiecoKey, token, fileid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1FileFileidDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$fileid = 56; // Integer | شناسه فایل

try {
    $result = $api_instance->apiV1FileFileidDelete($apiecoKey, $token, $fileid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1FileFileidDelete: ', $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 $token = token_example; # String | apikey for use API
my $fileid = 56; # Integer | شناسه فایل

eval { 
    my $result = $api_instance->apiV1FileFileidDelete(apiecoKey => $apiecoKey, token => $token, fileid => $fileid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1FileFileidDelete: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
fileid = 56 # Integer | شناسه فایل

try: 
    # پاک کردن فایل
    api_response = api_instance.api_v1_file_fileid_delete(apiecoKey, token, fileid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1FileFileidDelete: %s\n" % e)

Parameters

Path parameters
Name Description
fileid*
Integer
شناسه فایل
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1FileFileidGet

جزئیات فایل


/api/v1/file/{fileid}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/file/{fileid}?token="
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
        String token = token_example; // String | apikey for use API
        Integer fileid = 56; // Integer | شناسه فایل
        try {
            array[inline_response_200_4] result = apiInstance.apiV1FileFileidGet(apiecoKey, token, fileid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileFileidGet");
            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
        String token = token_example; // String | apikey for use API
        Integer fileid = 56; // Integer | شناسه فایل
        try {
            array[inline_response_200_4] result = apiInstance.apiV1FileFileidGet(apiecoKey, token, fileid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileFileidGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *fileid = 56; // شناسه فایل

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

// جزئیات فایل
[apiInstance apiV1FileFileidGetWith:apiecoKey
    token:token
    fileid:fileid
              completionHandler: ^(array[inline_response_200_4] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var fileid = 56; // {Integer} شناسه فایل


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

namespace Example
{
    public class apiV1FileFileidGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var fileid = 56;  // Integer | شناسه فایل

            try
            {
                // جزئیات فایل
                array[inline_response_200_4] result = apiInstance.apiV1FileFileidGet(apiecoKey, token, fileid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1FileFileidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$fileid = 56; // Integer | شناسه فایل

try {
    $result = $api_instance->apiV1FileFileidGet($apiecoKey, $token, $fileid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1FileFileidGet: ', $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 $token = token_example; # String | apikey for use API
my $fileid = 56; # Integer | شناسه فایل

eval { 
    my $result = $api_instance->apiV1FileFileidGet(apiecoKey => $apiecoKey, token => $token, fileid => $fileid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1FileFileidGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
fileid = 56 # Integer | شناسه فایل

try: 
    # جزئیات فایل
    api_response = api_instance.api_v1_file_fileid_get(apiecoKey, token, fileid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1FileFileidGet: %s\n" % e)

Parameters

Path parameters
Name Description
fileid*
Integer
شناسه فایل
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1FileGet

لیست فایل ها


/api/v1/file

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/file?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_4] result = apiInstance.apiV1FileGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_4] result = apiInstance.apiV1FileGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FileGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست فایل ها
[apiInstance apiV1FileGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_4] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1FileGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست فایل ها
                array[inline_response_200_4] result = apiInstance.apiV1FileGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1FileGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1FileGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1FileGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست فایل ها
    api_response = api_instance.api_v1_file_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1FileGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1FilePost

اضافه کردن فایل جدید


/api/v1/file

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/novinhub/api/v1/file?token="
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
        String token = token_example; // String | apikey for use API
        File file = /path/to/file.txt; // File | The file to upload.
        try {
            inline_response_200_4 result = apiInstance.apiV1FilePost(apiecoKey, token, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FilePost");
            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
        String token = token_example; // String | apikey for use API
        File file = /path/to/file.txt; // File | The file to upload.
        try {
            inline_response_200_4 result = apiInstance.apiV1FilePost(apiecoKey, token, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1FilePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
File *file = /path/to/file.txt; // The file to upload. (optional)

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

// اضافه کردن فایل جدید
[apiInstance apiV1FilePostWith:apiecoKey
    token:token
    file:file
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var opts = { 
  'file': /path/to/file.txt // {File} The file to upload.
};

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

namespace Example
{
    public class apiV1FilePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var file = new File(); // File | The file to upload. (optional) 

            try
            {
                // اضافه کردن فایل جدید
                inline_response_200_4 result = apiInstance.apiV1FilePost(apiecoKey, token, file);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1FilePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$file = /path/to/file.txt; // File | The file to upload.

try {
    $result = $api_instance->apiV1FilePost($apiecoKey, $token, $file);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1FilePost: ', $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 $token = token_example; # String | apikey for use API
my $file = /path/to/file.txt; # File | The file to upload.

eval { 
    my $result = $api_instance->apiV1FilePost(apiecoKey => $apiecoKey, token => $token, file => $file);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1FilePost: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
file = /path/to/file.txt # File | The file to upload. (optional)

try: 
    # اضافه کردن فایل جدید
    api_response = api_instance.api_v1_file_post(apiecoKey, token, file=file)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1FilePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
file
File
The file to upload.
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1GatewayGet

لیست درگاه ها


/api/v1/gateway

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/gateway?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array['String'] result = apiInstance.apiV1GatewayGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1GatewayGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array['String'] result = apiInstance.apiV1GatewayGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1GatewayGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست درگاه ها
[apiInstance apiV1GatewayGetWith:apiecoKey
    token:token
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1GatewayGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست درگاه ها
                array['String'] result = apiInstance.apiV1GatewayGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1GatewayGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1GatewayGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1GatewayGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست درگاه ها
    api_response = api_instance.api_v1_gateway_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1GatewayGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1MeFilesGet

وضعیت استفاده شده از فضا


/api/v1/me/files

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/me/files?token="
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
        String token = token_example; // String | apikey for use API
        try {
            inline_response_200_6 result = apiInstance.apiV1MeFilesGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MeFilesGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            inline_response_200_6 result = apiInstance.apiV1MeFilesGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MeFilesGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// وضعیت استفاده شده از فضا
[apiInstance apiV1MeFilesGetWith:apiecoKey
    token:token
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1MeFilesGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // وضعیت استفاده شده از فضا
                inline_response_200_6 result = apiInstance.apiV1MeFilesGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MeFilesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1MeFilesGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1MeFilesGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # وضعیت استفاده شده از فضا
    api_response = api_instance.api_v1_me_files_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MeFilesGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1MeGet

مشخصات


/api/v1/me

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/me?token="
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
        String token = token_example; // String | apikey for use API
        try {
            inline_response_200_5 result = apiInstance.apiV1MeGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MeGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            inline_response_200_5 result = apiInstance.apiV1MeGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MeGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// مشخصات
[apiInstance apiV1MeGetWith:apiecoKey
    token:token
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1MeGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // مشخصات
                inline_response_200_5 result = apiInstance.apiV1MeGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1MeGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1MeGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # مشخصات
    api_response = api_instance.api_v1_me_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MeGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PackageGet

لیست پکیج ها


/api/v1/package

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/package?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_8] result = apiInstance.apiV1PackageGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PackageGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_8] result = apiInstance.apiV1PackageGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PackageGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست پکیج ها
[apiInstance apiV1PackageGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_8] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1PackageGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست پکیج ها
                array[inline_response_200_8] result = apiInstance.apiV1PackageGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PackageGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1PackageGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PackageGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست پکیج ها
    api_response = api_instance.api_v1_package_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PackageGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PackagePackageIdGet

لیست پکیج ها


/api/v1/package/{packageId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/package/{packageId}?token="
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
        String token = token_example; // String | apikey for use API
        String packageId = packageId_example; // String | شناسه پکیج
        try {
            inline_response_200_8 result = apiInstance.apiV1PackagePackageIdGet(apiecoKey, token, packageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PackagePackageIdGet");
            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
        String token = token_example; // String | apikey for use API
        String packageId = packageId_example; // String | شناسه پکیج
        try {
            inline_response_200_8 result = apiInstance.apiV1PackagePackageIdGet(apiecoKey, token, packageId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PackagePackageIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *packageId = packageId_example; // شناسه پکیج

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

// لیست پکیج ها
[apiInstance apiV1PackagePackageIdGetWith:apiecoKey
    token:token
    packageId:packageId
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var packageId = packageId_example; // {String} شناسه پکیج


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

namespace Example
{
    public class apiV1PackagePackageIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var packageId = packageId_example;  // String | شناسه پکیج

            try
            {
                // لیست پکیج ها
                inline_response_200_8 result = apiInstance.apiV1PackagePackageIdGet(apiecoKey, token, packageId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PackagePackageIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$packageId = packageId_example; // String | شناسه پکیج

try {
    $result = $api_instance->apiV1PackagePackageIdGet($apiecoKey, $token, $packageId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PackagePackageIdGet: ', $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 $token = token_example; # String | apikey for use API
my $packageId = packageId_example; # String | شناسه پکیج

eval { 
    my $result = $api_instance->apiV1PackagePackageIdGet(apiecoKey => $apiecoKey, token => $token, packageId => $packageId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1PackagePackageIdGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
packageId = packageId_example # String | شناسه پکیج

try: 
    # لیست پکیج ها
    api_response = api_instance.api_v1_package_package_id_get(apiecoKey, token, packageId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PackagePackageIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
packageId*
String
شناسه پکیج
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PostGet

لیست پست ها


/api/v1/post

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/post?token="
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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_9] result = apiInstance.apiV1PostGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostGet");
            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
        String token = token_example; // String | apikey for use API
        try {
            array[inline_response_200_9] result = apiInstance.apiV1PostGet(apiecoKey, token);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

// لیست پست ها
[apiInstance apiV1PostGetWith:apiecoKey
    token:token
              completionHandler: ^(array[inline_response_200_9] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1PostGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                // لیست پست ها
                array[inline_response_200_9] result = apiInstance.apiV1PostGet(apiecoKey, token);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PostGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1PostGet($apiecoKey, $token);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PostGet: ', $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 $token = token_example; # String | apikey for use API

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

try: 
    # لیست پست ها
    api_response = api_instance.api_v1_post_get(apiecoKey, token)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PostGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PostPost

اضافه کردن پست جدید


/api/v1/post

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/novinhub/api/v1/post?token="
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
        String token = token_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_9 result = apiInstance.apiV1PostPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPost");
            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
        String token = token_example; // String | apikey for use API
        Body_3 body = ; // Body_3 | 
        try {
            inline_response_200_9 result = apiInstance.apiV1PostPost(apiecoKey, token, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_3 *body = ; //  (optional)

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

// اضافه کردن پست جدید
[apiInstance apiV1PostPostWith:apiecoKey
    token:token
    body:body
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

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

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

            try
            {
                // اضافه کردن پست جدید
                inline_response_200_9 result = apiInstance.apiV1PostPost(apiecoKey, token, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PostPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apiV1PostPost($apiecoKey, $token, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PostPost: ', $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 $token = token_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_3->new(); # Body_3 | 

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

try: 
    # اضافه کردن پست جدید
    api_response = api_instance.api_v1_post_post(apiecoKey, token, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PostPost: %s\n" % e)

Parameters

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

Responses

Status: 200 - 200 response


apiV1PostPostIdCancelPut

لغو ارسال پست


/api/v1/post/{postId}/cancel

Usage and SDK Samples

curl -X PUT "https://api.apieco.ir/novinhub/api/v1/post/{postId}/cancel?token="
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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_3 result = apiInstance.apiV1PostPostIdCancelPut(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdCancelPut");
            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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_3 result = apiInstance.apiV1PostPostIdCancelPut(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdCancelPut");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *postId = postId_example; // شناسه پست

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

// لغو ارسال پست
[apiInstance apiV1PostPostIdCancelPutWith:apiecoKey
    token:token
    postId:postId
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var postId = postId_example; // {String} شناسه پست


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

namespace Example
{
    public class apiV1PostPostIdCancelPutExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var postId = postId_example;  // String | شناسه پست

            try
            {
                // لغو ارسال پست
                inline_response_200_3 result = apiInstance.apiV1PostPostIdCancelPut(apiecoKey, token, postId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PostPostIdCancelPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$postId = postId_example; // String | شناسه پست

try {
    $result = $api_instance->apiV1PostPostIdCancelPut($apiecoKey, $token, $postId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PostPostIdCancelPut: ', $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 $token = token_example; # String | apikey for use API
my $postId = postId_example; # String | شناسه پست

eval { 
    my $result = $api_instance->apiV1PostPostIdCancelPut(apiecoKey => $apiecoKey, token => $token, postId => $postId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1PostPostIdCancelPut: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
postId = postId_example # String | شناسه پست

try: 
    # لغو ارسال پست
    api_response = api_instance.api_v1_post_post_id_cancel_put(apiecoKey, token, postId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PostPostIdCancelPut: %s\n" % e)

Parameters

Path parameters
Name Description
postId*
String
شناسه پست
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PostPostIdGet

پیدا کردن پست با شناسه


/api/v1/post/{postId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/novinhub/api/v1/post/{postId}?token="
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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_10 result = apiInstance.apiV1PostPostIdGet(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdGet");
            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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_10 result = apiInstance.apiV1PostPostIdGet(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *postId = postId_example; // شناسه پست

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

// پیدا کردن پست با شناسه
[apiInstance apiV1PostPostIdGetWith:apiecoKey
    token:token
    postId:postId
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var postId = postId_example; // {String} شناسه پست


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

namespace Example
{
    public class apiV1PostPostIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var postId = postId_example;  // String | شناسه پست

            try
            {
                // پیدا کردن پست با شناسه
                inline_response_200_10 result = apiInstance.apiV1PostPostIdGet(apiecoKey, token, postId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PostPostIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$postId = postId_example; // String | شناسه پست

try {
    $result = $api_instance->apiV1PostPostIdGet($apiecoKey, $token, $postId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PostPostIdGet: ', $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 $token = token_example; # String | apikey for use API
my $postId = postId_example; # String | شناسه پست

eval { 
    my $result = $api_instance->apiV1PostPostIdGet(apiecoKey => $apiecoKey, token => $token, postId => $postId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1PostPostIdGet: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
postId = postId_example # String | شناسه پست

try: 
    # پیدا کردن پست با شناسه
    api_response = api_instance.api_v1_post_post_id_get(apiecoKey, token, postId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PostPostIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
postId*
String
شناسه پست
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1PostPostIdRetryPut

ارسال مجدد پست


/api/v1/post/{postId}/retry

Usage and SDK Samples

curl -X PUT "https://api.apieco.ir/novinhub/api/v1/post/{postId}/retry?token="
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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_3 result = apiInstance.apiV1PostPostIdRetryPut(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdRetryPut");
            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
        String token = token_example; // String | apikey for use API
        String postId = postId_example; // String | شناسه پست
        try {
            inline_response_200_3 result = apiInstance.apiV1PostPostIdRetryPut(apiecoKey, token, postId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1PostPostIdRetryPut");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *token = token_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *postId = postId_example; // شناسه پست

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

// ارسال مجدد پست
[apiInstance apiV1PostPostIdRetryPutWith:apiecoKey
    token:token
    postId:postId
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('_');

var api = new _._Api()

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

var token = token_example; // {String} apikey for use API

var postId = postId_example; // {String} شناسه پست


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

namespace Example
{
    public class apiV1PostPostIdRetryPutExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var token = token_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var postId = postId_example;  // String | شناسه پست

            try
            {
                // ارسال مجدد پست
                inline_response_200_3 result = apiInstance.apiV1PostPostIdRetryPut(apiecoKey, token, postId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1PostPostIdRetryPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$token = token_example; // String | apikey for use API
$postId = postId_example; // String | شناسه پست

try {
    $result = $api_instance->apiV1PostPostIdRetryPut($apiecoKey, $token, $postId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiV1PostPostIdRetryPut: ', $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 $token = token_example; # String | apikey for use API
my $postId = postId_example; # String | شناسه پست

eval { 
    my $result = $api_instance->apiV1PostPostIdRetryPut(apiecoKey => $apiecoKey, token => $token, postId => $postId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1PostPostIdRetryPut: $@\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)
token = token_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
postId = postId_example # String | شناسه پست

try: 
    # ارسال مجدد پست
    api_response = api_instance.api_v1_post_post_id_retry_put(apiecoKey, token, postId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1PostPostIdRetryPut: %s\n" % e)

Parameters

Path parameters
Name Description
postId*
String
شناسه پست
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
token*
String
apikey for use API
Required

Responses

Status: 200 - 200 response