سیستم صدور بارنامه

GetBolList

getBolListPost


/GetBolList

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/haml-bita24/GetBolList"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GetBolListApi;

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

public class GetBolListApiExample {

    public static void main(String[] args) {
        
        GetBolListApi apiInstance = new GetBolListApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String xAPIKEY = xAPIKEY_example; // String | api key
        Data data = ; // Data | 
        try {
            apiInstance.getBolListPost(apiecoKey, xAPIKEY, data);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetBolListApi#getBolListPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GetBolListApi;

public class GetBolListApiExample {

    public static void main(String[] args) {
        GetBolListApi apiInstance = new GetBolListApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String xAPIKEY = xAPIKEY_example; // String | api key
        Data data = ; // Data | 
        try {
            apiInstance.getBolListPost(apiecoKey, xAPIKEY, data);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetBolListApi#getBolListPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *xAPIKEY = xAPIKEY_example; // api key (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Data *data = ; //  (optional)

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

[apiInstance getBolListPostWith:apiecoKey
    xAPIKEY:xAPIKEY
    data:data
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('__');

var api = new _.GetBolListApi()

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

var xAPIKEY = xAPIKEY_example; // {String} api key

var opts = { 
  'data':  // {Data} 
};

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

namespace Example
{
    public class getBolListPostExample
    {
        public void main()
        {
            
            var apiInstance = new GetBolListApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var xAPIKEY = xAPIKEY_example;  // String | api key (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var data = new Data(); // Data |  (optional) 

            try
            {
                apiInstance.getBolListPost(apiecoKey, xAPIKEY, data);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GetBolListApi.getBolListPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GetBolListApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$xAPIKEY = xAPIKEY_example; // String | api key
$data = ; // Data | 

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

my $api_instance = WWW::SwaggerClient::GetBolListApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $xAPIKEY = xAPIKEY_example; # String | api key
my $data = WWW::SwaggerClient::Object::Data->new(); # Data | 

eval { 
    $api_instance->getBolListPost(apiecoKey => $apiecoKey, xAPIKEY => $xAPIKEY, data => $data);
};
if ($@) {
    warn "Exception when calling GetBolListApi->getBolListPost: $@\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.GetBolListApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
xAPIKEY = xAPIKEY_example # String | api key (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
data =  # Data |  (optional)

try: 
    api_instance.get_bol_list_post(apiecoKey, xAPIKEY, data=data)
except ApiException as e:
    print("Exception when calling GetBolListApi->getBolListPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
X-API-KEY*
String
api key
Required
Body parameters
Name Description
data

Responses

Status: 200 - 200 response