exportorder/get
目录 |
1.接口说明
1.1接口描述
获取单个出口订单
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
出口管理应用
3.接口调用说明
3.1请求说明
url | https://api.yonyouup.com/api/exportorder/get |
格式 | JSON |
https请求方式 | GET |
3.2url参数说明
参数 | 是否必填 | 类型 | 描述 |
---|---|---|---|
from_account | 是 | sting | 调用方id |
to_account | 是 | string | 提供方id |
app_key | 是 | string | 应用编码 |
token | 是 | string | 全局访问唯一识别码 |
ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
id | 是 | string | 出口订单号 |
3.3请求示例
GET https://api.yonyouup.com/api/exportorder/get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&id=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 | 原币总额 | |
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 | 退税方式 | |
pricecontailtax | boolean | entry | 报价是否含税 |
comcriterion | string | entry | 佣金计提标准 |
comrule | string | entry | 佣金规则 |
comunitcode | string | entry | 计量单位编码 |
configstatus | string | entry | 选配状态 |
cusinvcode | string | entry | 客户存货编码 |
cusinvname | string | entry | 客户存货名称 |
define22 | string | entry | 表体自定义项1 |
define23 | string | entry | 表体自定义项2 |
define24 | string | entry | 表体自定义项3 |
define25 | string | entry | 表体自定义项4 |
define26 | number | entry | 表体自定义项5 |
define27 | number | entry | 表体自定义项6 |
define28 | string | entry | 表体自定义项7 |
define29 | string | entry | 表体自定义项8 |
define30 | string | entry | 表体自定义项9 |
define31 | string | entry | 表体自定义项10 |
define32 | string | entry | 表体自定义项11 |
define33 | string | entry | 表体自定义项12 |
define34 | number | entry | 表体自定义项13 |
define35 | number | entry | 表体自定义项14 |
define36 | date | entry | 表体自定义项15 |
define37 | date | entry | 表体自定义项16 |
free1 | string | entry | 自由项1 |
free10 | string | entry | 自由项10 |
free2 | string | entry | 自由项2 |
free3 | string | entry | 自由项3 |
free4 | string | entry | 自由项4 |
free5 | string | entry | 自由项5 |
free6 | string | entry | 自由项6 |
free7 | string | entry | 自由项7 |
free8 | string | entry | 自由项8 |
free9 | string | entry | 自由项9 |
invcode | string | entry | 存货编码 |
materialsize | string | entry | 材积 |
memo | string | entry | 备注 |
packinfo | string | entry | 包装要求 |
packsize | string | entry | 尺寸 |
sacomunitcode | string | entry | 销售计量单位编码 |
vcomunitcode | string | entry | 体积单位编码 |
volumes | string | entry | 体积 |
wcomunitcode | string | entry | 重量单位编码 |
completedate | date | entry | 预完工日期 |
k | number | entry | 倒扣1(%) |
k2 | number | entry | 倒扣2(%) |
shippingdate | date | entry | 预发货日期 |
changrate | number | entry | 换算率 |
comcoefficient | number | entry | 佣金系数 |
commoney | number | entry | 佣金 |
comrate | number | entry | 佣金率(%) |
discount | number | entry | 原币折扣额 |
fobmoney | number | entry | 原币fob金额 |
freight | number | entry | 运费 |
gweight | number | entry | 单位毛重 |
gweights | number | entry | 毛重 |
insurance | number | entry | 保险费 |
money | number | entry | 原币无税金额 |
natcommoney | number | entry | 本币佣金 |
natdiscount | number | entry | 本币折扣额 |
natfobmoney | number | entry | FOB本币金额 |
natfreight | number | entry | 本币运费 |
natinsurance | number | entry | 本币保险费 |
natmoney | number | entry | 本币无税金额 |
natprice | number | entry | 本币无税单价 |
nattax | number | entry | 本币税额 |
nattaxmoney | number | entry | 本币金额 |
nattaxprice | number | entry | 本币单价 |
num | number | entry | 件数 |
nweight | number | entry | 单位净重 |
nweights | number | entry | 净重 |
overflowrange | number | entry | 溢短装 |
packqty | number | entry | 包装数量 |
ppartqty | number | entry | 母件数量 |
price | number | entry | 原币无税单价 |
quantity | number | entry | 数量 |
quotedprice | number | entry | 报价 |
tax | number | entry | 原币税额 |
taxmoney | number | entry | 原币金额 |
taxprice | number | entry | 原币单价 |
taxrate | number | entry | 税率(%) |
volume | number | entry | 单位体积 |
rowno | number | entry | 订单行号 |
l | number | entry | 扣率1(%) |
l2 | number | entry | 扣率2(%) |
fcost | number | entry | 成本 |
fgrossrate | number | entry | 毛利 |
cvencode | string | entry | 供应商编码 |
centerprise | string | entry | 生产厂家 |
fimqty | number | entry | 累计下达进口数量 |
fcompensatemoney | number | entry | 补差发票原币金额 |
fnatcompensatemoney | number | entry | 补差发票本币金额 |
flength | number | entry | 长 |
fwidth | number | entry | 宽 |
fheight | number | entry | 高 |
cciqbookcode | string | entry | 海关手册编码 |
cciqcode | string | entry | 海关编码 |
fciqchangrate | number | entry | 海关换算率 |
fbacktaxrate | number | entry | 退税率 |
csrpolicy | string | entry | 供需政策 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8 { "errcode":"0", "errmsg":"", "exportorder":{ "stcode":"07", "incotermremark":"FOB", "dec":"5", "shipvenname":"", "aportcode":"", "tportcode":"", "cusenaddr1":"", "cusenaddr2":"", "generalcommoney":"", "id":"1", "cusenaddr3":"", "cusenaddr4":"", "cusoaddress":"", "personname":"徐海", "idrawbackstyle":"1", "bfreighttofare":"0", "engaddress3":"", "generalcomremark":"", "engaddress2":"", "containerqty":"", "engaddress4":"", "fnatfreightsum":"", "engaddress1":"", "svenname":"", "scname":"03", "prearriveday":"", "generalcomrate":"", "lastedshippingdate":"", "containersize":"", "sportcode":"", "cvouchtype":"EX23", "memos":"", "receiveaddress3":"", "receiveaddress4":"", "cinsurancevenname":"", "receiveaddress2":"", "natfobsummoney":"2000.000000", "incotermcode":"FOB", "cusperson":"", "exch_name":"美元", "generaloverflowitem":"", "batchshipping":"允许", "natgeneralcommoney":"", "englishsummoney":"SAYUSDTWOTHOUSANDONLY", "invgeneraldesc":"", "tportname":"", "iverifystate":"2", "generaloverflowrange":"", "date":"2014-12-22", "paycode":"", "binsurancetofare":"0", "shipvencode":"", "sscode":"3", "chinesesummoney":"贰仟元整", "farecontrol":"否", "unitname":"数据演示", "receiveperson":"", "exchrate":"1.00000000", "cuscode":"0601", "farecontroltype":"", "tmname":"一般贸易出口", "cgatheringplan":"", "fnatinsurancesum":"", "cverifier":"demo", "fobsummoney":"2000.000000", "receivecompany":"", "entry":[ { "natdiscount":"", "flength":"", "memo":"", "discount":"", "free10":"", "cdemandmemo":"", "taxprice":"20.00000000", "price":"17.09000000", "packqty":"", "cusbomid":"0", "id":"1", "shippingdate":"2014-12-22", "natmoney":"1709.400000", "nattaxprice":"20.00000000", "iciqbookid":"", "cciqbookcode":"", "csrpolicy":"PE", "k2":"", "volumes":"", "idemandtype":"0", "cusinvname":"", "ppartqty":"", "citemname":"", "natcommoney":"", "comcriterion":"", "gweights":"", "l2":"100.000000", "freight":"", "natinsurance":"", "overflowrange":"", "comrate":"", "citemcode":"", "nattaxmoney":"2000.000000", "packsize":"", "fciqchangrate":"1.000000", "comrule":"", "ppartseqid":"", "cusinvcode":"", "materialsize":"", "fobmoney":"2000.000000", "vcomunitcode":"", "rowno":"1", "fimqty":"", "k":"", "l":"100.000000", "changrate":"", "fbacktaxrate":"13.000000", "insurance":"", "cvencode":"", "packinfo":"", "natprice":"17.09000000", "num":"", "define34":"", "define35":"", "define36":"", "define37":"", "natfreight":"", "define30":"", "define31":"", "define32":"", "invcode":"FO10W001", "wcomunitcode":"", "define33":"", "define27":"", "free2":"", "define28":"", "free3":"", "define29":"", "free1":"", "idemandseq":"", "free6":"", "free7":"", "free4":"", "free5":"", "centerprise":"", "fcompensatemoney":"", "free8":"", "free9":"", "taxrate":"17.000000", "nattax":"290.600000", "tax":"290.600000", "volume":"0.000000", "commoney":"", "cciqcode":"39269010", "cdemandid":"", "sacomunitcode":"", "fnatcompensatemoney":"", "taxmoney":"2000.000000", "configstatus":"未选配", "comcoefficient":"", "fgrossrate":"2000.000000", "nweights":"", "citem_cname":"", "nweight":"", "natfobmoney":"2000.000000", "citem_class":"", "quantity":"100.000000", "define23":"", "define24":"", "define25":"", "define26":"", "gweight":"", "fwidth":"", "define22":"", "quotedprice":"20.00000000", "completedate":"2014-12-2200:00:00.0", "comunitcode":"0101", "money":"1709.400000", "fheight":"", "cdemandcode":"", "fcost":"" }, { "natdiscount":"", "flength":"", "memo":"", "discount":"", "free10":"", "cdemandmemo":"", "taxprice":"20.00000000", "price":"17.09000000", "packqty":"", "cusbomid":"0", "id":"2", "shippingdate":"2014-12-31", "natmoney":"1709.400000", "nattaxprice":"20.00000000", "iciqbookid":"", "cciqbookcode":"", "csrpolicy":"PE", "k2":"", "volumes":"", "idemandtype":"0", "cusinvname":"", "ppartqty":"", "citemname":"", "natcommoney":"", "comcriterion":"", "gweights":"", "l2":"100.000000", "freight":"", "natinsurance":"", "overflowrange":"", "comrate":"", "citemcode":"", "nattaxmoney":"2000.000000", "packsize":"", "fciqchangrate":"1.000000", "comrule":"", "ppartseqid":"", "cusinvcode":"", "materialsize":"", "fobmoney":"2000.000000", "vcomunitcode":"", "rowno":"1", "fimqty":"", "k":"", "l":"100.000000", "changrate":"", "fbacktaxrate":"13.000000", "insurance":"", "cvencode":"", "packinfo":"", "natprice":"17.09000000", "num":"", "define34":"", "define35":"", "define36":"", "define37":"", "natfreight":"", "define30":"", "define31":"", "define32":"", "invcode":"FO10W001", "wcomunitcode":"", "define33":"", "define27":"", "free2":"", "define28":"", "free3":"", "define29":"", "free1":"", "idemandseq":"", "free6":"", "free7":"", "free4":"", "free5":"", "centerprise":"", "fcompensatemoney":"", "free8":"", "free9":"", "taxrate":"17.000000", "nattax":"290.600000", "tax":"290.600000", "volume":"0.000000", "commoney":"", "cciqcode":"39269010", "cdemandid":"", "sacomunitcode":"", "fnatcompensatemoney":"", "taxmoney":"2000.000000", "configstatus":"未选配", "comcoefficient":"", "fgrossrate":"2000.000000", "nweights":"", "citem_cname":"", "nweight":"", "natfobmoney":"2000.000000", "citem_class":"", "quantity":"100.000000", "define23":"", "define24":"", "define25":"", "define26":"", "gweight":"", "fwidth":"", "define22":"", "quotedprice":"20.00000000", "completedate":"2014-12-3100:00:00.0", "comunitcode":"0101", "money":"1709.400000", "fheight":"", "cdemandcode":"", "fcost":"" } ], "personcode":"00042", "depname":"销售部", "ivtid":"30549", "bcommisiontype":"", "stname":"出口销售", "define2":"", "cssname":"银行汇票", "define1":"徐海", "summoney":"2000.000000", "code":"0000000001", "comvencode":"", "tmcode":"01", "define12":"", "define13":"", "define9":"", "define14":"", "define8":"", "receiveaddress":"", "define15":"", "define7":"", "define6":"", "sportname":"", "define5":"", "define10":"", "define4":"", "define11":"", "define3":"", "canchangeprice":"是", "natsummoney":"2000.000000", "depcode":"0302", "ffreightsum":"", "sccode":"03", "finsurancesum":"", "generaltaxrate":"", "svencode":"", "bcommisiontofare":"", "transport":"不允许", "bustype":"普通销售", "dverifierdate":"2014-12-22", "cinsurancevencode":"", "define16":"", "unitenglish":"", "unittel":"", "cusordercode":"", "outaftercredit":"否", "cusaddress":"" } }
3.6错误返回示例
application/json;charset=UTF-8 { "errcode":"30021", "errmsg":"此应用未上线" }