- Base
- Cache
- CodeConfig
- Data
- DosingLog
- ImportExport
- ModelConfig
- WestModelParameter
- DataCleanEndTrigger
- Alarm
添加加药日志【内部接口】
已测完
POST
/api/DosingLog/AddDosingLogs
DosingLog
请求参数
Body 参数application/json
array of:
id
string <uuid>
可选
code
string | null
可选
category
enum<integer> <int32>
可选
枚举值:
123456
additionType
enum<integer> <int32>
可选
枚举值:
123
productLine
string | null
可选
calValue
number <double>
可选
value
number <double>
可选
costValue
number <double>
可选
unit
string | null
可选
time
string <date-time>
可选
示例
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"code": "string",
"category": 1,
"additionType": 1,
"productLine": "string",
"calValue": 0,
"value": 0,
"costValue": 0,
"unit": "string",
"time": "2019-08-24T14:15:22Z"
}
]
示例代码
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://online-products.dhichina.cn/gateway/wwtp-paas-service/api/DosingLog/AddDosingLogs' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"code": "string",
"category": 1,
"additionType": 1,
"productLine": "string",
"calValue": 0,
"value": 0,
"costValue": 0,
"unit": "string",
"time": "2019-08-24T14:15:22Z"
}
]'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}