{
"ids": [
0
],
"runClientMode": "string",
"runClientDeviceIds": [
0
]
}curl --location --request PUT 'https://webdiff.perk-net.com/api/open/task/batch/client-device' \
--header 'token: 19059c06a4024a0e99214e4a05cc84a1' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
0
],
"runClientMode": "string",
"runClientDeviceIds": [
0
]
}'{
"code": 0,
"msg": "string",
"data": {
"successCount": 0,
"failureCount": 0,
"successIds": [
0
],
"failures": [
{
"id": 0,
"message": "string"
}
],
"successDetails": [
{
"id": 0,
"userId": 0,
"runClientMode": "string",
"runClientDeviceIds": [
0
],
"name": "string",
"taskType": "string",
"taskConfig": "string",
"url": "string",
"cookies": "string",
"cookiePlusAccountLabels": {
"property1": "string",
"property2": "string"
},
"userAgent": "string",
"cronExpression": "string",
"randomDelayEnabled": 0,
"randomDelayMinSeconds": 0,
"randomDelayMaxSeconds": 0,
"enabled": 0,
"screenshotEnabled": 0,
"screenshotFullPage": 0,
"screenshotMaxScroll": 0,
"extractScrollEnabled": 0,
"extractMaxScroll": 0,
"notifyEnabled": 0,
"notifyChannelIds": [
0
],
"notifyChannelNames": [
"string"
],
"notifyChannelTypes": [
"string"
],
"notifyTemplateId": 0,
"notifyTemplateName": "string",
"aiRule": "string",
"elements": [
{
"id": 0,
"selector": "string",
"selectorType": "string",
"extractType": "string",
"label": "string",
"sortOrder": 0
}
],
"createTime": "2019-08-24T14:15:22.123Z",
"updateTime": "2019-08-24T14:15:22.123Z"
}
]
}
}