19 lines
982 B
YAML
19 lines
982 B
YAML
openapi: 3.0.3
|
|
info: { title: 原入仓有效箱唛内部查询, version: 1.0.0 }
|
|
security: [{ internalToken: [] }]
|
|
paths:
|
|
/internal/firstleg/v1/inbounds/{inboundId}/existing-carton-marks:
|
|
get:
|
|
summary: 只读查询指定客户及原入仓已有有效箱唛批次,不补建箱号
|
|
parameters:
|
|
- { in: path, name: inboundId, required: true, schema: { type: integer, format: int64, minimum: 1 } }
|
|
- { in: query, name: customerId, required: true, schema: { type: integer, format: int64, minimum: 1 } }
|
|
- { in: query, name: inboundCode, required: true, schema: { type: string } }
|
|
responses:
|
|
'200':
|
|
description: 统一响应;data为有效箱唛字符串数组,归属不匹配或无已有批次时为空;批次不完整返回业务错误
|
|
'403': { description: 内部服务凭证缺失或无效 }
|
|
components:
|
|
securitySchemes:
|
|
internalToken: { type: apiKey, in: header, name: X-Internal-Service-Token }
|