码上签接口文档

billListGetBillDetail

获取回执


/BO/BillList/GetBillDetail

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/BO/BillList/GetBillDetail"
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();
        IdInputDTO body = ; // IdInputDTO | 
        try {
            BillListDto result = apiInstance.billListGetBillDetail(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListGetBillDetail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        IdInputDTO body = ; // IdInputDTO | 
        try {
            BillListDto result = apiInstance.billListGetBillDetail(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListGetBillDetail");
            e.printStackTrace();
        }
    }
}
IdInputDTO *body = ; // 

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

// 获取回执
[apiInstance billListGetBillDetailWith:body
              completionHandler: ^(BillListDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{IdInputDTO}} 

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

namespace Example
{
    public class billListGetBillDetailExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new IdInputDTO(); // IdInputDTO | 

            try
            {
                // 获取回执
                BillListDto result = apiInstance.billListGetBillDetail(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.billListGetBillDetail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // IdInputDTO | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::IdInputDTO->new(); # IdInputDTO | 

eval { 
    my $result = $api_instance->billListGetBillDetail(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->billListGetBillDetail: $@\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()
body =  # IdInputDTO | 

try: 
    # 获取回执
    api_response = api_instance.bill_list_get_bill_detail(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->billListGetBillDetail: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功


billListGetPDF

下载签收文件


/BO/BillList/GetPDF

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"http://api.yoojet.com/BO/BillList/GetPDF?id="
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 id = id_example; // String | 电子回执单ID
        try {
            byte[] result = apiInstance.billListGetPDF(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListGetPDF");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 电子回执单ID
        try {
            byte[] result = apiInstance.billListGetPDF(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListGetPDF");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 电子回执单ID (optional)

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

// 下载签收文件
[apiInstance billListGetPDFWith:id
              completionHandler: ^(byte[] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'id': id_example // {{String}} 电子回执单ID
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.billListGetPDF(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class billListGetPDFExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | 电子回执单ID (optional) 

            try
            {
                // 下载签收文件
                byte[] result = apiInstance.billListGetPDF(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.billListGetPDF: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$id = id_example; // String | 电子回执单ID

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | 电子回执单ID

eval { 
    my $result = $api_instance->billListGetPDF(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->billListGetPDF: $@\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()
id = id_example # String | 电子回执单ID (optional)

try: 
    # 下载签收文件
    api_response = api_instance.bill_list_get_pdf(id=id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->billListGetPDF: %s\n" % e)

Parameters

Query parameters
Name Description
id
String
电子回执单ID

Responses

Status: 200 - 调取成功


billListResetForm

重新生成回执


/BO/BillList/ResetForm

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/BO/BillList/ResetForm"
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();
        BillList body = ; // BillList | 
        try {
            AjaxResult result = apiInstance.billListResetForm(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListResetForm");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BillList body = ; // BillList | 
        try {
            AjaxResult result = apiInstance.billListResetForm(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListResetForm");
            e.printStackTrace();
        }
    }
}
BillList *body = ; // 

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

// 重新生成回执
[apiInstance billListResetFormWith:body
              completionHandler: ^(AjaxResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{BillList}} 

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

namespace Example
{
    public class billListResetFormExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new BillList(); // BillList | 

            try
            {
                // 重新生成回执
                AjaxResult result = apiInstance.billListResetForm(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.billListResetForm: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // BillList | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::BillList->new(); # BillList | 

eval { 
    my $result = $api_instance->billListResetForm(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->billListResetForm: $@\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()
body =  # BillList | 

try: 
    # 重新生成回执
    api_response = api_instance.bill_list_reset_form(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->billListResetForm: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功


billListSaveData

生成回执


/BO/BillList/SaveData

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/BO/BillList/SaveData"
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();
        BllliModel body = ; // BllliModel | 传入待操作的实体信息
        try {
            AjaxResult result = apiInstance.billListSaveData(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListSaveData");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        BllliModel body = ; // BllliModel | 传入待操作的实体信息
        try {
            AjaxResult result = apiInstance.billListSaveData(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListSaveData");
            e.printStackTrace();
        }
    }
}
BllliModel *body = ; // 传入待操作的实体信息

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

// 生成回执
[apiInstance billListSaveDataWith:body
              completionHandler: ^(AjaxResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{BllliModel}} 传入待操作的实体信息

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

namespace Example
{
    public class billListSaveDataExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new BllliModel(); // BllliModel | 传入待操作的实体信息

            try
            {
                // 生成回执
                AjaxResult result = apiInstance.billListSaveData(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.billListSaveData: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // BllliModel | 传入待操作的实体信息

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::BllliModel->new(); # BllliModel | 传入待操作的实体信息

eval { 
    my $result = $api_instance->billListSaveData(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->billListSaveData: $@\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()
body =  # BllliModel | 传入待操作的实体信息

try: 
    # 生成回执
    api_response = api_instance.bill_list_save_data(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->billListSaveData: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功


billListToVoid

回执作废


/BO/BillList/ToVoid

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"http://api.yoojet.com/BO/BillList/ToVoid?Billd=&IP="
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 billd = billd_example; // String | 回执单Id
        String iP = iP_example; // String | IP地址
        try {
            AjaxResult result = apiInstance.billListToVoid(billd, iP);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListToVoid");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String billd = billd_example; // String | 回执单Id
        String iP = iP_example; // String | IP地址
        try {
            AjaxResult result = apiInstance.billListToVoid(billd, iP);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#billListToVoid");
            e.printStackTrace();
        }
    }
}
String *billd = billd_example; // 回执单Id (optional)
String *iP = iP_example; // IP地址 (optional)

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

// 回执作废
[apiInstance billListToVoidWith:billd
    iP:iP
              completionHandler: ^(AjaxResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'billd': billd_example, // {{String}} 回执单Id
  'iP': iP_example // {{String}} IP地址
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.billListToVoid(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class billListToVoidExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var billd = billd_example;  // String | 回执单Id (optional) 
            var iP = iP_example;  // String | IP地址 (optional) 

            try
            {
                // 回执作废
                AjaxResult result = apiInstance.billListToVoid(billd, iP);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.billListToVoid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$billd = billd_example; // String | 回执单Id
$iP = iP_example; // String | IP地址

try {
    $result = $api_instance->billListToVoid($billd, $iP);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->billListToVoid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $billd = billd_example; # String | 回执单Id
my $iP = iP_example; # String | IP地址

eval { 
    my $result = $api_instance->billListToVoid(billd => $billd, iP => $iP);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->billListToVoid: $@\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()
billd = billd_example # String | 回执单Id (optional)
iP = iP_example # String | IP地址 (optional)

try: 
    # 回执作废
    api_response = api_instance.bill_list_to_void(billd=billd, iP=iP)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->billListToVoid: %s\n" % e)

Parameters

Query parameters
Name Description
Billd
String
回执单Id
IP
String
IP地址

Responses

Status: 200 - 调取成功


customerInfoImportU8Custinfo

同步收货方客户信息


/BO/CustomerInfo/ImportU8Custinfo

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/BO/CustomerInfo/ImportU8Custinfo"
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();
        U8Str body = ; // U8Str | 
        try {
            'Integer' result = apiInstance.customerInfoImportU8Custinfo(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerInfoImportU8Custinfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        U8Str body = ; // U8Str | 
        try {
            'Integer' result = apiInstance.customerInfoImportU8Custinfo(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerInfoImportU8Custinfo");
            e.printStackTrace();
        }
    }
}
U8Str *body = ; // 

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

// 同步收货方客户信息
[apiInstance customerInfoImportU8CustinfoWith:body
              completionHandler: ^('Integer' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{U8Str}} 

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

namespace Example
{
    public class customerInfoImportU8CustinfoExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new U8Str(); // U8Str | 

            try
            {
                // 同步收货方客户信息
                'Integer' result = apiInstance.customerInfoImportU8Custinfo(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.customerInfoImportU8Custinfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // U8Str | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::U8Str->new(); # U8Str | 

eval { 
    my $result = $api_instance->customerInfoImportU8Custinfo(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->customerInfoImportU8Custinfo: $@\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()
body =  # U8Str | 

try: 
    # 同步收货方客户信息
    api_response = api_instance.customer_info_import_u8_custinfo(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->customerInfoImportU8Custinfo: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功


customerLinkmanExportToExcel

下载客户方签收人Excel导入模板


/BO/CustomerLinkman/ExportToExcel

Usage and SDK Samples

curl -X GET\
-H "Accept: application/octet-stream"\
"http://api.yoojet.com/BO/CustomerLinkman/ExportToExcel"
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();
        try {
            byte[] result = apiInstance.customerLinkmanExportToExcel();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerLinkmanExportToExcel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            byte[] result = apiInstance.customerLinkmanExportToExcel();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerLinkmanExportToExcel");
            e.printStackTrace();
        }
    }
}

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

// 下载客户方签收人Excel导入模板
[apiInstance customerLinkmanExportToExcelWithCompletionHandler: 
              ^(byte[] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

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

namespace Example
{
    public class customerLinkmanExportToExcelExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();

            try
            {
                // 下载客户方签收人Excel导入模板
                byte[] result = apiInstance.customerLinkmanExportToExcel();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.customerLinkmanExportToExcel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->customerLinkmanExportToExcel();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->customerLinkmanExportToExcel: $@\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()

try: 
    # 下载客户方签收人Excel导入模板
    api_response = api_instance.customer_linkman_export_to_excel()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->customerLinkmanExportToExcel: %s\n" % e)

Parameters

Responses

Status: 200 - 调取成功


inventoryExportToExcel

导入模板表下载


/BO/Inventory/ExportToExcel

Usage and SDK Samples

curl -X GET\
   -H "Authorization: Bearer [[accessToken]]"\
  -H "Accept: application/octet-stream"\
  "http://localhost:5001/BO/Inventory/ExportToExcel?CompanyId="
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) {
          ApiClient defaultClient = Configuration.getDefaultApiClient();
  
  
          DefaultApi apiInstance = new DefaultApi();
          String companyId = companyId_example; // String | 
          try {
              byte[] result = apiInstance.inventoryExportToExcel(companyId);
              System.out.println(result);
          } catch (ApiException e) {
              System.err.println("Exception when calling DefaultApi#inventoryExportToExcel");
              e.printStackTrace();
          }
      }
  }
import io.swagger.client.api.DefaultApi;
  
  public class DefaultApiExample {
  
      public static void main(String[] args) {
          DefaultApi apiInstance = new DefaultApi();
          String companyId = companyId_example; // String | 
          try {
              byte[] result = apiInstance.inventoryExportToExcel(companyId);
              System.out.println(result);
          } catch (ApiException e) {
              System.err.println("Exception when calling DefaultApi#inventoryExportToExcel");
              e.printStackTrace();
          }
      }
  }
Configuration *apiConfig = [Configuration sharedConfig];
  String *companyId = companyId_example; //  (optional)
  
  DefaultApi *apiInstance = [[DefaultApi alloc] init];
  
  // 导入模板表下载
  [apiInstance inventoryExportToExcelWith:companyId
                completionHandler: ^(byte[] output, NSError* error) {
                              if (output) {
                                  NSLog(@"%@", output);
                              }
                              if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                          }];
  
var SwaggerJsClient = require('swagger-js-client');
  var defaultClient = SwaggerJsClient.ApiClient.instance;
  
  
  var api = new SwaggerJsClient.DefaultApi()
  var opts = { 
    'companyId': companyId_example // {{String}} 
  };
  var callback = function(error, data, response) {
    if (error) {
      console.error(error);
    } else {
      console.log('API called successfully. Returned data: ' + data);
    }
  };
  api.inventoryExportToExcel(opts, callback);
  
using System;
  using System.Diagnostics;
  using IO.Swagger.Api;
  using IO.Swagger.Client;
  using IO.Swagger.Model;
  
  namespace Example
  {
      public class inventoryExportToExcelExample
      {
          public void main()
          {
  
  
              var apiInstance = new DefaultApi();
              var companyId = companyId_example;  // String |  (optional) 
  
              try
              {
                  // 导入模板表下载
                  byte[] result = apiInstance.inventoryExportToExcel(companyId);
                  Debug.WriteLine(result);
              }
              catch (Exception e)
              {
                  Debug.Print("Exception when calling DefaultApi.inventoryExportToExcel: " + e.Message );
              }
          }
      }
  }
  
<?php
  require_once(__DIR__ . '/vendor/autoload.php');
  
  
  $api_instance = new Swagger\Client\ApiDefaultApi();
  $companyId = companyId_example; // String | 
  
  try {
      $result = $api_instance->inventoryExportToExcel($companyId);
      print_r($result);
  } catch (Exception $e) {
      echo 'Exception when calling DefaultApi->inventoryExportToExcel: ', $e->getMessage(), PHP_EOL;
  }
  ?>
use Data::Dumper;
  use WWW::SwaggerClient::Configuration;
  use WWW::SwaggerClient::DefaultApi;
  
  
  my $api_instance = WWW::SwaggerClient::DefaultApi->new();
  my $companyId = companyId_example; # String | 
  
  eval { 
      my $result = $api_instance->inventoryExportToExcel(companyId => $companyId);
      print Dumper($result);
  };
  if ($@) {
      warn "Exception when calling DefaultApi->inventoryExportToExcel: $@\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()
  companyId = companyId_example # String |  (optional)
  
  try: 
      # 导入模板表下载
      api_response = api_instance.inventory_export_to_excel(companyId=companyId)
      pprint(api_response)
  except ApiException as e:
      print("Exception when calling DefaultApi->inventoryExportToExcel: %s\n" % e)

Parameters

Query parameters
Name Description
CompanyId
String

Responses

Status: 200 -


inventoryImport

产品信息导入


/BO/Inventory/Import

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"http://interface.yoojet.com/BO/Inventory/Import?CompanyId="
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();
        byte[] file = file_example; // byte[] | 
        String companyId = companyId_example; // String | 
        try {
            AjaxResult result = apiInstance.inventoryImport(file, companyId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryImport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        byte[] file = file_example; // byte[] | 
        String companyId = companyId_example; // String | 
        try {
            AjaxResult result = apiInstance.inventoryImport(file, companyId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#inventoryImport");
            e.printStackTrace();
        }
    }
}
byte[] *file = file_example; //  (optional)
String *companyId = companyId_example; //  (optional)

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

// 产品信息导入
[apiInstance inventoryImportWith:file
    companyId:companyId
              completionHandler: ^(AjaxResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'companyId': companyId_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.inventoryImport(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class inventoryImportExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // byte[] |  (optional) 
            var companyId = companyId_example;  // String |  (optional) 

            try
            {
                // 产品信息导入
                AjaxResult result = apiInstance.inventoryImport(file, companyId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.inventoryImport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // byte[] | 
$companyId = companyId_example; // String | 

try {
    $result = $api_instance->inventoryImport($file, $companyId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->inventoryImport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # byte[] | 
my $companyId = companyId_example; # String | 

eval { 
    my $result = $api_instance->inventoryImport(file => $file, companyId => $companyId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->inventoryImport: $@\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()
file = file_example # byte[] |  (optional)
companyId = companyId_example # String |  (optional)

try: 
    # 产品信息导入
    api_response = api_instance.inventory_import(file=file, companyId=companyId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->inventoryImport: %s\n" % e)

Parameters

Form parameters
Name Description
file
byte[] (binary)
Query parameters
Name Description
CompanyId
String

Responses

Status: 200 -


inventoryGetDataList

获取商品列表


/BO/Inventory/GetDataList

Usage and SDK Samples

curl -X POST\
   -H "Authorization: Bearer [[accessToken]]"\
  -H "Accept: application/json"\
  -H "Content-Type: application/json"\
  "http://localhost:5001/BO/Inventory/GetDataList"
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) {
          ApiClient defaultClient = Configuration.getDefaultApiClient();
  
  
          DefaultApi apiInstance = new DefaultApi();
          PageInputOfConditionByInvDTO body = ; // PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
          try {
              PageResultOfInventoryDTO result = apiInstance.inventoryGetDataList(body);
              System.out.println(result);
          } catch (ApiException e) {
              System.err.println("Exception when calling DefaultApi#inventoryGetDataList");
              e.printStackTrace();
          }
      }
  }
import io.swagger.client.api.DefaultApi;
  
  public class DefaultApiExample {
  
      public static void main(String[] args) {
          DefaultApi apiInstance = new DefaultApi();
          PageInputOfConditionByInvDTO body = ; // PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
          try {
              PageResultOfInventoryDTO result = apiInstance.inventoryGetDataList(body);
              System.out.println(result);
          } catch (ApiException e) {
              System.err.println("Exception when calling DefaultApi#inventoryGetDataList");
              e.printStackTrace();
          }
      }
  }
Configuration *apiConfig = [Configuration sharedConfig];
  PageInputOfConditionByInvDTO *body = ; // 根据传入的参数查询并分页
  
  DefaultApi *apiInstance = [[DefaultApi alloc] init];
  
  // 单一字符串类型条件获取实体表中全部信息
  [apiInstance inventoryGetDataListWith:body
                completionHandler: ^(PageResultOfInventoryDTO output, NSError* error) {
                              if (output) {
                                  NSLog(@"%@", output);
                              }
                              if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                          }];
  
var SwaggerJsClient = require('swagger-js-client');
  var defaultClient = SwaggerJsClient.ApiClient.instance;
  
  
  var api = new SwaggerJsClient.DefaultApi()
  var body = ; // {{PageInputOfConditionByInvDTO}} 根据传入的参数查询并分页
  
  var callback = function(error, data, response) {
    if (error) {
      console.error(error);
    } else {
      console.log('API called successfully. Returned data: ' + data);
    }
  };
  api.inventoryGetDataList(body, callback);
  
using System;
  using System.Diagnostics;
  using IO.Swagger.Api;
  using IO.Swagger.Client;
  using IO.Swagger.Model;
  
  namespace Example
  {
      public class inventoryGetDataListExample
      {
          public void main()
          {
  
  
              var apiInstance = new DefaultApi();
              var body = new PageInputOfConditionByInvDTO(); // PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
  
              try
              {
                  // 单一字符串类型条件获取实体表中全部信息
                  PageResultOfInventoryDTO result = apiInstance.inventoryGetDataList(body);
                  Debug.WriteLine(result);
              }
              catch (Exception e)
              {
                  Debug.Print("Exception when calling DefaultApi.inventoryGetDataList: " + e.Message );
              }
          }
      }
  }
  
<?php
  require_once(__DIR__ . '/vendor/autoload.php');
  
  
  $api_instance = new Swagger\Client\ApiDefaultApi();
  $body = ; // PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
  
  try {
      $result = $api_instance->inventoryGetDataList($body);
      print_r($result);
  } catch (Exception $e) {
      echo 'Exception when calling DefaultApi->inventoryGetDataList: ', $e->getMessage(), PHP_EOL;
  }
  ?>
use Data::Dumper;
  use WWW::SwaggerClient::Configuration;
  use WWW::SwaggerClient::DefaultApi;
  
  
  my $api_instance = WWW::SwaggerClient::DefaultApi->new();
  my $body = WWW::SwaggerClient::Object::PageInputOfConditionByInvDTO->new(); # PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
  
  eval { 
      my $result = $api_instance->inventoryGetDataList(body => $body);
      print Dumper($result);
  };
  if ($@) {
      warn "Exception when calling DefaultApi->inventoryGetDataList: $@\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()
  body =  # PageInputOfConditionByInvDTO | 根据传入的参数查询并分页
  
  try: 
      # 单一字符串类型条件获取实体表中全部信息
      api_response = api_instance.inventory_get_data_list(body)
      pprint(api_response)
  except ApiException as e:
      print("Exception when calling DefaultApi->inventoryGetDataList: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 -


customerLinkmanImport

同步收货方签收人


/BO/CustomerLinkman/Import

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"http://api.yoojet.com/BO/CustomerLinkman/Import?CompanyId="
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();
        byte[] file = file_example; // byte[] | 
        String companyId = companyId_example; // String | 
        try {
            AjaxResult result = apiInstance.customerLinkmanImport(file, companyId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerLinkmanImport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        byte[] file = file_example; // byte[] | 
        String companyId = companyId_example; // String | 
        try {
            AjaxResult result = apiInstance.customerLinkmanImport(file, companyId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#customerLinkmanImport");
            e.printStackTrace();
        }
    }
}
byte[] *file = file_example; //  (optional)
String *companyId = companyId_example; //  (optional)

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

// 同步收货方签收人
[apiInstance customerLinkmanImportWith:file
    companyId:companyId
              completionHandler: ^(AjaxResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'companyId': companyId_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.customerLinkmanImport(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class customerLinkmanImportExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var file = file_example;  // byte[] |  (optional) 
            var companyId = companyId_example;  // String |  (optional) 

            try
            {
                // 同步收货方签收人
                AjaxResult result = apiInstance.customerLinkmanImport(file, companyId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.customerLinkmanImport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$file = file_example; // byte[] | 
$companyId = companyId_example; // String | 

try {
    $result = $api_instance->customerLinkmanImport($file, $companyId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->customerLinkmanImport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $file = file_example; # byte[] | 
my $companyId = companyId_example; # String | 

eval { 
    my $result = $api_instance->customerLinkmanImport(file => $file, companyId => $companyId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->customerLinkmanImport: $@\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()
file = file_example # byte[] |  (optional)
companyId = companyId_example # String |  (optional)

try: 
    # 同步收货方签收人
    api_response = api_instance.customer_linkman_import(file=file, companyId=companyId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->customerLinkmanImport: %s\n" % e)

Parameters

Form parameters
Name Description
file
byte[] (binary)
Query parameters
Name Description
CompanyId
String

Responses

Status: 200 - 调取成功


homeBase64DecodeString

下载存证文件


/Base_Manage/Home/Base64DecodeString

Usage and SDK Samples

curl -X POST\
-H "Accept: application/octet-stream"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/Base_Manage/Home/Base64DecodeString"
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();
        Evidencedto body = ; // Evidencedto | 
        try {
            byte[] result = apiInstance.homeBase64DecodeString(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#homeBase64DecodeString");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Evidencedto body = ; // Evidencedto | 
        try {
            byte[] result = apiInstance.homeBase64DecodeString(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#homeBase64DecodeString");
            e.printStackTrace();
        }
    }
}
Evidencedto *body = ; // 

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

// 下载存证文件
[apiInstance homeBase64DecodeStringWith:body
              completionHandler: ^(byte[] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{Evidencedto}} 

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

namespace Example
{
    public class homeBase64DecodeStringExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new Evidencedto(); // Evidencedto | 

            try
            {
                // 下载存证文件
                byte[] result = apiInstance.homeBase64DecodeString(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.homeBase64DecodeString: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // Evidencedto | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::Evidencedto->new(); # Evidencedto | 

eval { 
    my $result = $api_instance->homeBase64DecodeString(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->homeBase64DecodeString: $@\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()
body =  # Evidencedto | 

try: 
    # 下载存证文件
    api_response = api_instance.home_base64_decode_string(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->homeBase64DecodeString: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功


homeGetAccessToken

获取access_token


/Base_Manage/Home/GetAccessToken

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"http://api.yoojet.com/Base_Manage/Home/GetAccessToken"
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();
        LoginTokenDTO body = ; // LoginTokenDTO | 
        try {
            LoginAppDTO result = apiInstance.homeGetAccessToken(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#homeGetAccessToken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        LoginTokenDTO body = ; // LoginTokenDTO | 
        try {
            LoginAppDTO result = apiInstance.homeGetAccessToken(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#homeGetAccessToken");
            e.printStackTrace();
        }
    }
}
LoginTokenDTO *body = ; // 

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

// 获取access_token
[apiInstance homeGetAccessTokenWith:body
              completionHandler: ^(LoginAppDTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var body = ; // {{LoginTokenDTO}} 

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

namespace Example
{
    public class homeGetAccessTokenExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var body = new LoginTokenDTO(); // LoginTokenDTO | 

            try
            {
                // 获取access_token
                LoginAppDTO result = apiInstance.homeGetAccessToken(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.homeGetAccessToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$body = ; // LoginTokenDTO | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $body = WWW::SwaggerClient::Object::LoginTokenDTO->new(); # LoginTokenDTO | 

eval { 
    my $result = $api_instance->homeGetAccessToken(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->homeGetAccessToken: $@\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()
body =  # LoginTokenDTO | 

try: 
    # 获取access_token
    api_response = api_instance.home_get_access_token(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->homeGetAccessToken: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 调取成功