API中心

  1. 库存管理
  2. 出库申请
返回

出库申请单行关闭

接口所在U8C版本:U8 cloud3.2以及更高版本
详细描述:用于出库申请单行关闭
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:port/u8cloud/api/ic/sapply/rowclose

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
trantype翻译类型,按编码为code,不需要翻译为pkcode
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
closeinfo关闭信息
coperatorstring操作员
date_closeoropenstring关闭/打开日期
queryinfo查询信息
codestring单据号
corpstring公司
crownostring行号(格式eg:10,20,30)
date_beginstring开始日期
date_endstring结束日期
inventorystring存货编码
makerstring制单人

返回类型参数:

参数名类型是否数组必填描述默认值
No Data

请求参数示例:

复制代码

{"closeinfo":{"coperator":"18242366050","date_closeoropen":"2020-11-07"},"queryinfo":{"corp":"8888","date_begin":"2020-11-07","date_end":"2020-11-07","code":"SA2011070012","crowno":"10,30"}}

正确返回示例:

复制代码

{
    "status": "success",
    "data": "成功了1条",
    "taskNumber": "202011070034"
}

错误返回示例:

复制代码

{
    "status": "falied",
    "errorcode": "-32000",
    "errormsg": "根据当前查询条件没有找到要关闭的数据!请确认查询条件是否正确!",
    "taskNumber": "202011070037"
}