出口管理类

    exportorderlist/batch_get


    目录

    1.接口说明

    1.1接口描述

         获取出口订单列表

    1.2适用版本

         支持U8V12.0 及更高版本

    2.使用场景

    出口管理应用

    3.接口调用说明

    3.1请求说明

    url https://api.yonyouup.com/api/exportorderlist/batch_get
    格式 JSON
    https请求方式 GET


    3.2url参数说明

    参数 是否必填 类型 描述
    from_account sting 调用方id
    to_account string 提供方id
    app_key string 应用编码
    token string 全局访问唯一识别码
    ds_sequence number 数据源序号(默认取应用的第一个数据源)
    code_begin string 起始出口订单号
    code_end string 结束出口订单号
    aportcode string 目的港编码
    cuscode string 客户编号
    cusordercode string 客户订单号
    memos string 备注关键字
    personcode string 业务员编号
    receiveperson string 收货人关键字
    sccode string 发运方式编码
    shipvencode string 船公司编码
    sportcode string 装运港编码
    sscode string 结算方式编码
    stcode string 销售类型编号
    svencode string 承运商编码
    tmcode string 贸易方式代码
    tportcode string 转运港编码
    date_begin date 起始单据日期
    date_end date 结束单据日期
    cverifier string 审批人关键字
    depname string 部门名称关键字
    personname string 业务员关键字
    scname string 发运方式关键字
    shipvenname string 船公司关键字
    sportname string 装运港关键字
    cssname string 结算方式关键字
    stname string 销售类型关键字
    svenname string 承运商关键字
    tmname string 贸易方式关键字
    tportname string 转运港关键字

    3.3请求示例

    GET https://api.yonyouup.com/api/exportorderlist/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&code_begin=xxxxx&code_end=xxxxx&aportcode=xxxxx&cuscode=xxxxx&cusordercode=xxxxx&memos=xxxxx&personcode=xxxxx&receiveperson=xxxxx&sccode=xxxxx&shipvencode=xxxxx&sportcode=xxxxx&sscode=xxxxx&stcode=xxxxx&svencode=xxxxx&tmcode=xxxxx&tportcode=xxxxx&date_begin=xxxxx&date_end=xxxxx&cverifier=xxxxx&depname=xxxxx&personname=xxxxx&scname=xxxxx&shipvenname=xxxxx&sportname=xxxxx&cssname=xxxxx&stname=xxxxx&svenname=xxxxx&tmname=xxxxx&tportname=xxxxx


    3.4返回参数说明

    参数说明 类型 参数路径 描述
    errcode string   错误码,0 为正常。
    errmsg string   错误信息。
    cal boolean 折算方式
    aportcode string 目的港编码
    batchshipping string 分批装运
    bustype string 业务类型
    chinesesummoney string 原币总额中文大写
    code string 出口订单号
    comvencode string 佣金支付对象编码
    containersize string 货柜尺寸
    cusaddress string 客户地址
    cuscode string 客户编号
    cusenaddr1 string 英文地址1
    cusenaddr2 string 英文地址2
    cusenaddr3 string 英文地址3
    cusenaddr4 string 英文地址4
    cusoaddress string 发货地址
    cusordercode string 客户订单号
    cusperson string 联系人
    define1 string 表头自定义项1
    define10 string 表头自定义项10
    define11 string 表头自定义项11
    define12 string 表头自定义项12
    define13 string 表头自定义项13
    define14 string 表头自定义项14
    define15 number 表头自定义项15
    define16 number 表头自定义项16
    define2 string 表头自定义项2
    define3 string 表头自定义项3
    define4 date 表头自定义项4
    define5 number 表头自定义项5
    define6 date 表头自定义项6
    define7 number 表头自定义项7
    define8 string 表头自定义项8
    define9 string 表头自定义项9
    depcode string 部门编码
    engaddress1 string 单位英文地址1
    engaddress2 string 单位英文地址2
    engaddress3 string 单位英文地址3
    engaddress4 string 单位英文地址4
    englishsummoney string 原币总额英文大写
    exch_name string 币种
    farecontroltype string 费用控制方式
    incotermcode string 贸易术语
    incotermremark string 说明项
    invgeneraldesc string 总品名描述
    memos string 备注
    outaftercredit string 收到信用证后才能发货
    paycode string 付款条件编码
    personcode string 业务员编号
    receiveaddress string 收货地址1
    receiveaddress2 string 收货地址2
    receiveaddress3 string 收货地址3
    receiveaddress4 string 收货地址4
    receivecompany string 收货单位
    receiveperson string 收货人
    sccode string 发运方式编码
    shipvencode string 船公司编码
    sportcode string 装运港编码
    sscode string 结算方式编码
    stcode string 销售类型编号
    svencode string 承运商编码
    tmcode string 贸易方式代码
    tportcode string 转运港编码
    transport string 转运
    unitenglish string 单位英文名称
    unitname string 本单位名称
    unittel string 联系电话
    date date 单据日期
    lastedshippingdate date 最迟装船期
    containerqty number 货柜数量
    exchrate number 汇率
    fobsummoney number FOB原币金额
    generalcommoney number 佣金
    generalcomrate number 佣金率
    generalcomremark string 佣金描述
    generaloverflowitem string 溢短装条款
    generaloverflowrange number 溢短装%
    generaltaxrate number 税率(%)
    natfobsummoney number FOB本币金额
    natgeneralcommoney number 本币佣金
    natsummoney number 本币总额
    summoney number 原币总额
    dec number 小数位数
    prearriveday number 信用证必须在装船前几天内收到
    ffreightsum number 运费
    fnatfreightsum number 本币运费
    bfreighttofare number 运费转费用单
    finsurancesum number 保险费
    fnatinsurancesum number 本币保险费
    binsurancetofare number 保险费转费用单
    cinsurancevencode string 保险公司编码
    bcommisiontype number 佣金类型
    bcommisiontofare number 佣金转费用单
    cgatheringplan string 收付款协议编码
    depname string 部门名称
    personname string 业务员
    scname string 发运方式
    shipvenname string 船公司
    sportname string 装运港
    cssname string 结算方式
    stname string 销售类型
    svenname string 承运商
    tmname string 贸易方式
    tportname string 转运港
    cinsurancevenname string 保险公司
    idrawbackstyle number 退税方式

    3.5正确返回示例

    JSON示例:

    application/json;charset=UTF-8
    {
    	"page_index":"1",
    	"rows_per_page":"20",
    	"row_count":"225",
    	"errmsg":"",
    	"exportorderlist":[
    		{
    			"unitname":"数据演示",
    			"receiveaddress":"",
    			"exch_name":"美元",
    			"memos":"",
    			"sccode":"03",
    			"receivecompany":"",
    			"bcommisiontofare":"",
    			"cusordercode":"",
    			"summoney":"2000.000000",
    			"natgeneralcommoney":"",
    			"invgeneraldesc":"",
    			"cusaddress":"",
    			"fobsummoney":"2000.000000",
    			"shipvenname":"",
    			"idrawbackstyle":"1",
    			"containersize":"",
    			"lastedshippingdate":"",
    			"paycode":"",
    			"finsurancesum":"",
    			"prearriveday":"",
    			"generalcomrate":"",
    			"englishsummoney":"SAYUSDTWOTHOUSANDONLY",
    			"cusenaddr1":"",
    			"receiveperson":"",
    			"cusenaddr2":"",
    			"cusenaddr3":"",
    			"cusenaddr4":"",
    			"stname":"出口销售",
    			"define16":"",
    			"date":"2014-12-22",
    			"natsummoney":"2000.000000",
    			"dec":"5",
    			"transport":"不允许",
    			"incotermremark":"FOB",
    			"generalcomremark":"",
    			"incotermcode":"FOB",
    			"tportname":"",
    			"cusoaddress":"",
    			"tmname":"一般贸易出口",
    			"farecontroltype":"",
    			"bcommisiontype":"",
    			"define15":"",
    			"define14":"",
    			"define13":"",
    			"define12":"",
    			"define11":"",
    			"unitenglish":"",
    			"define10":"",
    			"cinsurancevencode":"",
    			"sportname":"",
    			"cusperson":"",
    			"binsurancetofare":"0",
    			"sscode":"3",
    			"aportcode":"",
    			"cuscode":"0601",
    			"tmcode":"01",
    			"generaloverflowitem":"",
    			"fnatfreightsum":"",
    			"cinsurancevenname":"",
    			"receiveaddress3":"",
    			"bfreighttofare":"0",
    			"receiveaddress4":"",
    			"receiveaddress2":"",
    			"sportcode":"",
    			"svenname":"",
    			"depname":"销售部",
    			"engaddress2":"",
    			"generalcommoney":"",
    			"engaddress3":"",
    			"engaddress4":"",
    			"engaddress1":"",
    			"code":"0000000001",
    			"batchshipping":"允许",
    			"farecontrol":"否",
    			"cssname":"银行汇票",
    			"stcode":"07",
    			"scname":"03",
    			"personname":"徐海",
    			"svencode":"",
    			"containerqty":"",
    			"bustype":"普通销售",
    			"ffreightsum":"",
    			"define1":"徐海",
    			"define2":"",
    			"define3":"",
    			"shipvencode":"",
    			"define4":"",
    			"define5":"",
    			"define6":"",
    			"chinesesummoney":"贰仟元整",
    			"define7":"",
    			"outaftercredit":"否",
    			"define8":"",
    			"depcode":"0302",
    			"define9":"",
    			"id":"1",
    			"generaloverflowrange":"",
    			"generaltaxrate":"",
    			"cgatheringplan":"",
    			"tportcode":"",
    			"unittel":"",
    			"exchrate":"1.00000000",
    			"comvencode":"",
    			"personcode":"00042",
    			"fnatinsurancesum":"",
    			"natfobsummoney":"2000.000000"
    		},
    		{
    			"unitname":"数据演示",
    			"receiveaddress":"",
    			"exch_name":"美元",
    			"memos":"",
    			"sccode":"03",
    			"receivecompany":"",
    			"bcommisiontofare":"",
    			"cusordercode":"",
    			"summoney":"2000.000000",
    			"natgeneralcommoney":"",
    			"invgeneraldesc":"",
    			"cusaddress":"",
    			"fobsummoney":"2000.000000",
    			"shipvenname":"",
    			"idrawbackstyle":"1",
    			"containersize":"",
    			"lastedshippingdate":"",
    			"paycode":"",
    			"finsurancesum":"",
    			"prearriveday":"",
    			"generalcomrate":"",
    			"englishsummoney":"SAYUSDTWOTHOUSANDONLY",
    			"cusenaddr1":"",
    			"receiveperson":"",
    			"cusenaddr2":"",
    			"cusenaddr3":"",
    			"cusenaddr4":"",
    			"stname":"出口销售",
    			"define16":"",
    			"date":"2014-12-31",
    			"natsummoney":"2000.000000",
    			"dec":"5",
    			"transport":"不允许",
    			"incotermremark":"FOB",
    			"generalcomremark":"",
    			"incotermcode":"FOB",
    			"tportname":"",
    			"cusoaddress":"",
    			"tmname":"一般贸易出口",
    			"farecontroltype":"",
    			"bcommisiontype":"",
    			"define15":"",
    			"define14":"",
    			"define13":"",
    			"define12":"",
    			"define11":"",
    			"unitenglish":"",
    			"define10":"",
    			"cinsurancevencode":"",
    			"sportname":"",
    			"cusperson":"",
    			"binsurancetofare":"0",
    			"sscode":"3",
    			"aportcode":"",
    			"cuscode":"0601",
    			"tmcode":"01",
    			"generaloverflowitem":"",
    			"fnatfreightsum":"",
    			"cinsurancevenname":"",
    			"receiveaddress3":"",
    			"bfreighttofare":"0",
    			"receiveaddress4":"",
    			"receiveaddress2":"",
    			"sportcode":"",
    			"svenname":"",
    			"depname":"销售部",
    			"engaddress2":"",
    			"generalcommoney":"",
    			"engaddress3":"",
    			"engaddress4":"",
    			"engaddress1":"",
    			"code":"0000000002",
    			"batchshipping":"允许",
    			"farecontrol":"否",
    			"cssname":"银行汇票",
    			"stcode":"07",
    			"scname":"03",
    			"personname":"徐海",
    			"svencode":"",
    			"containerqty":"",
    			"bustype":"普通销售",
    			"ffreightsum":"",
    			"define1":"徐海",
    			"define2":"",
    			"define3":"",
    			"shipvencode":"",
    			"define4":"",
    			"define5":"",
    			"define6":"",
    			"chinesesummoney":"贰仟元整",
    			"define7":"",
    			"outaftercredit":"否",
    			"define8":"",
    			"depcode":"0302",
    			"define9":"",
    			"id":"2",
    			"generaloverflowrange":"",
    			"generaltaxrate":"",
    			"cgatheringplan":"",
    			"tportcode":"",
    			"unittel":"",
    			"exchrate":"1.00000000",
    			"comvencode":"",
    			"personcode":"00042",
    			"fnatinsurancesum":"",
    			"natfobsummoney":"2000.000000"
    		}
    	],
    	"page_count":"12",
    	"errcode":"0"
    }
    

    3.6错误返回示例

    application/json;charset=UTF-8
    {
    	"errcode":"30021",
    	"errmsg":"此应用未上线"
    } 

    4.API测试

    API测试 SDK下载