transvouchlist/batch_get
目录 |
1.接口说明
1.1接口描述
获取调拨单列表
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
物流应用
3.接口调用说明
3.1请求说明
| url | https://api.yonyouup.com/api/transvouchlist/batch_get |
| 格式 | JSON |
| https请求方式 | GET |
3.2url参数说明
| 参数 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| from_account | 是 | sting | 调用方id |
| to_account | 是 | string | 提供方id |
| app_key | 是 | string | 应用编码 |
| token | 是 | string | 全局访问唯一识别码 |
| ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
| tvcode_begin | 否 | string | 起始调拨单据号 |
| tvcode_end | 否 | string | 结束调拨单据号 |
| idepcode | 否 | string | 转入部门编码 |
| idepname | 否 | string | 转入部门名称关键字 |
| odepcode | 否 | string | 转出部门编码 |
| odepname | 否 | string | 转出部门名称关键字 |
| irdcode | 否 | string | 入库类别编码 |
| irdname | 否 | string | 入库类别名称关键字 |
| ordcode | 否 | string | 出库类别编码 |
| ordname | 否 | string | 出库类别名称关键字 |
| iwhcode | 否 | string | 转入仓库编码 |
| iwhname | 否 | string | 转入仓库名称关键字 |
| owhcode | 否 | string | 转出仓库编码 |
| owhname | 否 | string | 转出仓库名称关键字 |
| personcode | 否 | string | 业务员编码 |
| personname | 否 | string | 业务员名称关键字 |
| memory | 否 | string | 备注关键字 |
| date_begin | 否 | date | 起始单据日期 |
| date_end | 否 | date | 结束单据日期 |
3.3请求示例
GET https://api.yonyouup.com/api/transvouchlist/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&tvcode_begin=xxxxx&tvcode_end=xxxxx&idepcode=xxxxx&idepname=xxxxx&odepcode=xxxxx&odepname=xxxxx&irdcode=xxxxx&irdname=xxxxx&ordcode=xxxxx&ordname=xxxxx&iwhcode=xxxxx&iwhname=xxxxx&owhcode=xxxxx&owhname=xxxxx&personcode=xxxxx&personname=xxxxx&memory=xxxxx&date_begin=xxxxx&date_end=xxxxx
3.4返回参数说明
| 参数说明 | 类型 | 参数路径 | 描述 |
|---|---|---|---|
| errcode | string | 错误码,0 为正常。 | |
| errmsg | string | 错误信息。 | |
| idepcode | string | 转入部门编码 | |
| idepname | string | 转入部门名称 | |
| odepcode | string | 转出部门编码 | |
| odepname | string | 转出部门名称 | |
| irdcode | string | 入库类别编码 | |
| irdname | string | 入库类别名称 | |
| ordcode | string | 出库类别编码 | |
| ordname | string | 出库类别名称 | |
| iwhcode | string | 转入仓库编码 | |
| iwhname | string | 转入仓库名称 | |
| owhcode | string | 转出仓库编码 | |
| owhname | string | 转出仓库名称 | |
| personcode | string | 业务员编码 | |
| personname | string | 业务员名称 | |
| tvcode | string | 调拨单据号 | |
| date | date | 单据日期 | |
| memory | string | 备注 | |
| auditperson | string | 审核人 | |
| auditdate | date | 审核日期 | |
| maker | string | 制单人 | |
| define1 | string | 自定义字段1 | |
| define2 | string | 自定义字段2 | |
| define3 | string | 自定义字段3 | |
| define4 | date | 自定义字段4 | |
| define5 | number | 自定义字段5 | |
| define6 | date | 自定义字段6 | |
| define7 | number | 自定义字段7 | |
| define8 | string | 自定义字段8 | |
| define9 | string | 自定义字段9 | |
| define10 | string | 自定义字段10 | |
| define11 | string | 自定义字段11 | |
| define12 | string | 自定义字段12 | |
| define13 | string | 自定义字段13 | |
| define14 | string | 自定义字段14 | |
| define15 | number | 自定义字段15 | |
| define16 | number | 自定义字段16 | |
| free1 | string | 自由项1 | |
| free2 | string | 自由项2 | |
| free3 | string | 自由项3 | |
| free4 | string | 自由项4 | |
| free5 | string | 自由项5 | |
| free6 | string | 自由项6 | |
| free7 | string | 自由项7 | |
| free8 | string | 自由项8 | |
| free9 | string | 自由项9 | |
| free10 | string | 自由项10 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8
3.6错误返回示例
application/json;charset=UTF-8
{
"errcode":"30021",
"errmsg":"此应用未上线"
}