Route material pack batches to their own create endpoint
Material pack simulation uses POST /api/v1/simulation/create-material-pack-batch with approvalCode/nodeId/runMode in the request body; keep the shared create-batch payload for hosecloud single-number mode. Verification: material pack create on xiezihao staging returns 200 and ingests records (HY001/HY002, taskMode=simulation); 116 tests pass.
This commit is contained in:
1 parent
997f1f60ac
commit
baab26bcda
9 files changed
+138
-31
No files matched your search
@@ -56,6 +56,8 @@
|
||||
$ref: ./approval-runs.yaml#/paths/~1v1~1approval-runs~1{recordId}~1result
|
||||
/v1/simulation/create-batch:
|
||||
$ref: ./simulation.yaml#/paths/~1v1~1simulation~1create-batch
|
||||
/v1/simulation/create-material-pack-batch:
|
||||
$ref: ./simulation.yaml#/paths/~1v1~1simulation~1create-material-pack-batch
|
||||
/v1/simulation/batches:
|
||||
$ref: ./simulation.yaml#/paths/~1v1~1simulation~1batches
|
||||
/v1/simulation/batch/{batchId}:
|
||||
|
||||
Reference in new issue
Block a user