文档
测试

订单策略评审物料子表写入接口

POST
http://172.18.2.20:8801/HTS/newStrategy

接口描述

测试地址 172.18.10.230

请求参数

参数名
类型
描述
必填
mainTable
array
数据列表
必填
id
string
示例:abc
必填
srId
string
示例:abcd
必填
spec
string
示例:600个/箱
必填
scode
string
示例:testscode
必填
sname
string
示例:testsname
必填
wcode
string
示例:testwcode
必填
wname
string
示例:testwname
必填
unit
string
示例:箱
必填
procurementTime
string
示例:36
必填
orderSum
string
示例:1000
必填
strategyTimetype
string
示例:1
必填
strategyModality
string
示例:1
必填
strategyBegintime
string
示例:2021-06-21
必填
strategyEndtime
string
示例:2021-12-21
必填
strategyOrder
string
示例:50
必填
price
string
示例:8.8
必填
createId
string
示例:testID
必填
createBy
string
示例:testUser
必填
createTime
string
示例:2021-06-21 07:00:00
必填

响应参数

参数名
类型
描述
必填
reVal
string
成功返回 true
必填

说明 / 示例

{ "mainTable": [ { "id": "abc", "srId": "abcd", "spec": "600个/箱", "scode": "testscode", "sname": "testsname", "wcode": "testwcode", "wname": "testwname", "unit": "箱", "procurementTime": "36", "orderSum": "1000", "strategyTimetype": "1", "strategyModality": "1", "strategyBegintime": "2021-06-21", "strategyEndtime": "2021-12-21", "strategyOrder": "50", "price": "8.8", "createId": "testID", "createBy": "testUser", "createTime": "2021-06-21 07:00:00" }, { "id": "abc2", "srId": "abcd2", "spec": "600个/箱", "scode": "testscode2", "sname": "testsname2", "wcode": "testwcode2", "wname": "testwname2", "unit": "箱", "procurementTime": "36", "orderSum": "1000", "strategyTimetype": "1", "strategyModality": "1", "strategyBegintime": "2021-06-21", "strategyEndtime": "2021-12-21", "strategyOrder": "50", "price": "8.8", "createId": "testID", "createBy": "testUser", "createTime": "2021-06-21 07:00:00" } ] } 返回示例: 保存成功 {"reVal":"true"}