aps-agent/providers/aps/capabilities/aps-orders-query.capability...

55 lines
1.2 KiB
JSON
Raw Normal View History

{
"id": "aps.orders.query",
"providerId": "aps",
"title": "订单查询",
"purpose": "查销售订单、生产订单与交期状态",
"whenNotToUse": "要看排产结果用 aps.schedule.query;要改订单用写能力",
"effect": "read",
"mode": "sync",
"idempotency": "none",
"inputSchema": {
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "项目 id,缺省用当前项目"
},
"code": {
"type": "string",
"description": "物料号 / 订单号等业务编码"
},
"limit": {
"type": "integer",
"description": "返回条数上限,默认 20–50"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"items": {
"type": "array"
},
"total": {
"type": "integer"
}
}
},
"synonyms": [
"订单",
"交期",
"承诺日期",
"工单"
],
"errors": [
"invalid_argument",
"unavailable",
"unknown_result"
],
"example": {
"utterance": "列一下这个项目还没排的订单",
"expects": "aps.orders.query"
},
"note": "由 APS 的 /api/manifest 生成(A5.1);权威来源是 APS 服务本身,这里是人审阅副本"
}