全部
在线测试
根据盘点盈亏单 ID 获取盘点盈亏单管理信息
接口地址: http://proxy-api.vv-tool.com/api/proxy/wms/profitLossGetById
接口介绍: 根据盘点盈亏单 ID 获取盘点盈亏单管理信息
请求方式: POST
返回格式: JSON
接口收费: 联系客服
频率限制: 10 次/秒
请求头参数
| 参数 | 类型 | 必选 | 值 | 示例 |
|---|---|---|---|---|
| Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请使用新的生成 token 接口 点击查看详情
请求参数
| 参数 | 类型 | 必选 | 描述 |
|---|---|---|---|
| id | int | 是 | 盘点盈亏单 ID |
请求示例
请求代码示例
cURL请求代码示例
PHP请求代码示例
JAVA请求代码示例
响应参数
| 参数名称 | 类型 | 参数描述 |
|---|---|---|
| profit_loss_id | int | 报损单 ID |
| profit_loss_code | string | 盈亏单号 |
| check_id | int | 盘点单 ID |
| check_code | string | 盘点单号 |
| storage_id | int | 仓库 ID |
| storage_name | string | 仓库名称 |
| consignor_id | int | 货主 ID |
| consignor_code | string | 货主编号 |
| consignor_name | string | 货主名称 |
| apply_date | date | 生成日期 |
| status_text | string | 状态 |
| total_product_storage | int | 合计账面库存量 |
| total_purchase_money | int | 合计账面成本额 |
| total_check_quantity | int | 合计盘点数量 |
| total_profit_quantity | int | 合计盘盈数量 |
| total_profit_money | int | 合计盘盈金额 |
| total_loss_quantity | int | 合计盘亏数量 |
| total_loss_money | int | 合计盘亏金额 |
| sorting_date | date | 分拣日期 |
| sorting_status | byte | 分拣状态 |
| auditor | string | 审核人 |
| auditing | byte | 审核 |
| audit_date | date | 审核日期 |
| enable | byte | 是否可用 |
| audit_remark | string | 审核备注 |
| remark | string | 备注 |
| create_id | int | 创建人 ID |
| user_id | int | 经手人 ID |
| user_true_name | string | 经手人 |
| dept_id | int | 部门 ID |
| dept_name | string | 部门 |
| creator | string | 创建人 |
| create_date | date | 创建时间 |
| modify_id | int | 修改人 ID |
| modifier | string | 修改人 |
| modify_date | date | 修改时间 |
| v_storage_profit_loss_list | array | |
| --profit_loss_list_id | string | 自增 Id |
| --profit_loss_id | int | 盈亏单 ID |
| --product_id | int | 产品 ID |
| --product_code | string | 编号 |
| --product_name | string | 产品名称 |
| --product_model | string | 条形码 |
| --relation_code | string | 关联码 |
| --product_storage | int | 账面库存量 |
| --check_quantity | int | 初盘数量 |
| --profit_quantity | int | 盘盈数量 |
| --loss_quantity | int | 盘亏数量 |
| --check_diff | int | 初盘差异 |
| --re_check_quantity | int | 复盘数量 |
| --re_check_diff | int | 复盘差异 |
| --produce_date | date | 生产时间 |
| --limit_date | date | 到期时间 |
| --qty | int | |
| --record_action | recordaction | 记录操作动作 |
| record_action | recordaction | 记录操作动作 |
返回数据
响应代码
| 代码 | 代码描述 | 解决方案 |
|---|---|---|
| 0 | 成功 |
公共错误码点击查看详情
