username:password
Authorization: Basic *****************
{
"tset_id": 705112497,
"task": {
"base": {
"cannot_cancel": false,
"custom": "",
"direction": 0,
"id": 11,
"mark_no": "B3",
"name": "B3",
"type": 1,
"type_no": 0,
"wait_time": 0
},
"consta": {
"can_skip": true,
"cancel_end": true,
"cancel_next": false,
"cancel_skip": false,
"fail_end": true,
"fail_next": true,
"fail_redo": false,
"fail_skip": false
},
"custom": {
"executable": true,
"priority": 0
}
}
}
curl --location --request POST '/woosh/task/InsertTask' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"tset_id": 705112497,
"task": {
"base": {
"cannot_cancel": false,
"custom": "",
"direction": 0,
"id": 11,
"mark_no": "B3",
"name": "B3",
"type": 1,
"type_no": 0,
"wait_time": 0
},
"consta": {
"can_skip": true,
"cancel_end": true,
"cancel_next": false,
"cancel_skip": false,
"fail_end": true,
"fail_next": true,
"fail_redo": false,
"fail_skip": false
},
"custom": {
"executable": true,
"priority": 0
}
}
}'
{"body":{"tset":{"base":{"actuator":"woosh","adapter":"woosh","id":682477540,"name":"A10-K11","no":"","priority":0,"robots":[],"route":"","rtype":1,"type":"woosh.task.WooshTaskSet"},"custom":{"autoComplete":true},"tasks":[{"base":{"cannotCancel":false,"custom":"","direction":0,"id":1,"markNo":"A10","name":"A10","type":1,"typeNo":0,"waitTime":0},"consta":{"canSkip":true,"cancelEnd":true,"cancelNext":false,"cancelSkip":false,"failEnd":true,"failNext":true,"failRedo":false,"failSkip":false},"custom":{"executable":true,"priority":0}},{"base":{"cannotCancel":false,"custom":"","direction":0,"id":2,"markNo":"K11","name":"K11","type":1,"typeNo":0,"waitTime":0},"consta":{"canSkip":true,"cancelEnd":true,"cancelNext":false,"cancelSkip":false,"failEnd":true,"failNext":true,"failRedo":false,"failSkip":false},"custom":{"executable":true,"priority":0}}]}},"msg":"","ok":true,"type":"woosh.task.AddTask"}