实收核验
和当天书目明细里的 ISBN 比对,核验通过数量加一,用于确认书真的收到了。
| 请求方式 | GET/POST |
| 接口路径 | /api/offlineReceive/batchVerify |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
batchDate | LocalDate | 是 | URL 参数 |
subUserId | Long | 是 | URL 参数 |
isbn | String | 是 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/offlineReceive/batchVerify?batchDate=xxx&subUserId=1&isbn=xxx' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"item": {
"id": 1,
"batchNo": "string",
"batchAddTime": "string",
"isbn": "string",
"title": "string",
"imageUrl": "string",
"marketPrice": 0.0,
"lastUpdateTime": "string",
"quantity": 1,
"verifiedQuantity": 1,
"unitRecyclePrice": 0.0,
"lineAmount": 0.0,
"payableAmount": 0.0
},
"totalVerifiedQuantity": 1,
"totalQuantity": 1,
"totalPayableAmount": 0.0
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
item | 对象 | - |
item.id | Long | - |
item.batchNo | String | - |
item.batchAddTime | LocalDateTime | - |
item.isbn | String | - |
item.title | String | - |
item.imageUrl | String | - |
item.marketPrice | BigDecimal | 市场价(业务数据.avg_price) |
item.lastUpdateTime | LocalDateTime | - |
item.quantity | Integer | - |
item.verifiedQuantity | Integer | - |
item.unitRecyclePrice | BigDecimal | - |
item.lineAmount | BigDecimal | - |
item.payableAmount | BigDecimal | 应付:实收核验数量 × 单价(按行合计后聚合) |
totalVerifiedQuantity | Integer | - |
totalQuantity | Integer | - |
totalPayableAmount | BigDecimal | - |