- EquipmentManagementSvc
- LabelSvc
- NextNumberGenSvc
- SysCodeSvc
- TaskGenerationRuleSvc
- WmsSvc
- BatchEditRuleSvc
- VisualInventorySvc
- AllocateRuleSvc
- AuthorizeWarehoseSvc
- ConstraintSvc
- DestinationLocRuleSvc
- DeviceInteractiveTaskSvc
- DistributeRuleSvc
- OwnerSvc
- PreAllocateRuleSvc
- QuickSearchSvc
- ReplenishmentTemplateSvc
- RoadOrderSvc
- RotationRuleSvc
- StockupRuleSvc
- TaskSchedulerRuleSvc
- UserOperationSettingSvc
- WaveTemplateSvc
- AreaSvc
- SlottingAdjSvc
- WesV2Svc
- ZoneSvc
- AnalysisSvc
- ApaasFormSvc
- CustomDataSourceSvc
- GenerateTaskRuleSvc
- GridPortRuleSvc
- GridPortSvc
- LocationSvc
- PutawayWorkBenchsSvc
- ShippingPickSvc
- SkuClassSvc
- SortingWorkBenchSvc
- PickAndSowingWorkBenchSvc
- ReplenishmentWorkBenchsSvc
- WhKPIRuleSvc
- WorkstationAssignmentRuleSvc
- AssemblyOrderSvc
- Connections
- DesignerReport
- DeviceAbnormalTaskSvc
- Dialog
- DisassemblyOrderSvc
- EarlyWarningRuleSvc
- ExportReport
- GetPicture
- GetReport
- ImportSvc
- LoadOrderSvc
- PassageSvc
- PrintReport
- PutawayWorkBenchsTaskSvc
- ReceiptSvc
- Resources
- SCMCopilotSvc
- Service
- ShippingOrderSvc
- Utils
- VasOrderSvc
- WESCheckRuleSvc
- AprioriTemplateSvc
- SkuCorrelationSvc
创建明细
POST
https://testxa.360scm.com/SCM.WMS7.OpenApi/v2/EarlyWarningRuleSvc/CreateDetail
/v2/EarlyWarningRuleSvc/CreateDetail
EarlyWarningRuleSvc
请求参数
Body 参数application/json
guid
string | null
唯一主键
earlyWarningRuleId
string | null
预检规则ID
lineId
number <double>
行号
processLogicSc
string | null
规则处理逻辑
ruleCallName
string | null
规则调用名
earlyWarningDimension
string | null
预警维度
isActive
string | null
启用
compareField
string | null
对比字段
thresholdOperation
string | null
阈值运算符
thresholdField
string | null
阈值字段
thresholdBeginValue
string | null
阈值范围开始值
thresholdEndValue
string | null
阈值范围结束值
processMode
string | null
处理方式
processField
string | null
处理字段
processFieldValue
string | null
处理字段值
constraintId
string | null
约束代码
constraints
array[object (ConstraintsDetailRequest) {8}] | null
订单约束
sortId
number <double>
序号
logic
string | null
条件
tableValueSC
string | null
表
filedValue
string | null
字段
filedName
string | null
字段名
op
string | null
运算符
val
string | null
值
group
string | null
组名
示例
{
"guid": "string",
"earlyWarningRuleId": "string",
"lineId": 0,
"processLogicSc": "string",
"ruleCallName": "string",
"earlyWarningDimension": "string",
"isActive": "string",
"compareField": "string",
"thresholdOperation": "string",
"thresholdField": "string",
"thresholdBeginValue": "string",
"thresholdEndValue": "string",
"processMode": "string",
"processField": "string",
"processFieldValue": "string",
"constraintId": "string",
"constraints": [
{
"sortId": 0,
"logic": "string",
"tableValueSC": "string",
"filedValue": "string",
"filedName": "string",
"op": "string",
"val": "string",
"group": "string"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testxa.360scm.com/SCM.WMS7.OpenApi/v2/EarlyWarningRuleSvc/CreateDetail' \
--header 'Content-Type: application/json' \
--data-raw '{
"guid": "string",
"earlyWarningRuleId": "string",
"lineId": 0,
"processLogicSc": "string",
"ruleCallName": "string",
"earlyWarningDimension": "string",
"isActive": "string",
"compareField": "string",
"thresholdOperation": "string",
"thresholdField": "string",
"thresholdBeginValue": "string",
"thresholdEndValue": "string",
"processMode": "string",
"processField": "string",
"processFieldValue": "string",
"constraintId": "string",
"constraints": [
{
"sortId": 0,
"logic": "string",
"tableValueSC": "string",
"filedValue": "string",
"filedName": "string",
"op": "string",
"val": "string",
"group": "string"
}
]
}'
返回响应
🟢200Success
application/json
Body
结果返回模型
flag
boolean
响应标识
requestId
string
请求id
errorCode
string | null
错误代码
errorMessage
string | null
错误信息
data
string
可选
示例
{
"flag": true,
"requestId": "string",
"errorCode": "string",
"errorMessage": "string",
"data": "string"
}
修改于 2025-04-27 20:59:13