新增任务
POST
/shipin/task新增任务
Request
Body Params application/json
任务业务对象 sp_task
createBy
string <string>
optional
创建者
createTime
string <date-time>
optional
创建时间
updateBy
string <string>
optional
更新者
updateTime
string <date-time>
optional
更新时间
params
object
optional
请求参数
Additional properties
object
optional
id
integer <int64>
required
任务id
ids
array[integer <int64>]
optional
任务id集合
batchId
integer <int64>
required
任务批次id
tmpId
integer <int64>
required
模板id
deviceId
string <string>
required
设备id
name
string <string>
required
任务名称
status
string <string>
required
任务状态
tmpParamValue
string <string>
required
模板值,通过json数组存储
effects
string <string>
optional
效果
feedback
string <string>
required
反馈的信息
Example
{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"params": {
"property1": {},
"property2": {}
},
"id": 0,
"ids": [
0
],
"batchId": 0,
"tmpId": 0,
"deviceId": "string",
"name": "string",
"status": "string",
"tmpParamValue": "string",
"effects": "string",
"feedback": "string"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
响应信息主体
code
integer <int32>
optional
msg
string
optional
data
object
optional
Example
Not configured
Last modified: 1 年前