Получение всех данных задания

Описание

Получает полную структуру задания

Код запроса

OC_GETWHOLETASK

Ошибки по запросу

Код запроса Значение кода Пояснение
QE_FOLDER_NOT_FOUND Folder not found Папка не найдена
QE_TASK_NOT_FOUND Task not found Задание не найдено

Тело запроса

"Action":<OC_GETWHOLETASK>,
"Data":{
 "Token":<MyToken>,
 "Folder ID":<MyFolderID>,
 "Task ID":<MyTaskID>
}

Тело ответа

"Status":"Success",
"Data":{
 "Timestamp":<ServerTime>,
 "Task":
  {
   "Task ID": <MyTaskID_1>,
   "Allow proxy": <MyAllowProxy_1>,
   "Allow static": <MyAllowStatic_1>,
   "Ignore GU": <MyIgnoreGU_1>,
   "Range size": <MyRangeSize_1>,
   "Mask": <MyMask_1>,
   "Unique period": <MyUniquePeriod_1>,
   "Name":<MyName_1>,
   "Domain":<MyDomain_1>,
   "Ext source":<MyExtSource_1>,
   "Before click":<MyBeforeClick_1>,
   "After click":<MyAfterClick_1>,
   "Growth":<MyGrowth_1>,
   "Days":<MyDays_1>,
   "List ID":<MyListID_1>,
   "List mode":<MyListMode_1>,
   "Profile":<MyProfile_1>,
   "Profile storage":<MyProfileStorage_1>,
   "Geo targeting":[
    {"Zone ID": <ZoneID_1>, "Target": <Target_1>,"Recd":<Recd_1>},
    <GeoTargeting_2>,
    ...
    <GeoTargeting_N>
   ],
   "Day targeting":[
    {"Min": <Min_1>, "Max": <Max_1>, "Hour": <Hour_1>},
    <DayTargeting_2>,
    ...
    <DayTargeting_N>
   ],
   "Day stats":[
    {"Recd": <Recd_1>, "Incomplete":<Incomplete_1>, "Overload":<Overload_1>, "Hour": <Hour_1>},
    <DayStats_2>,
    ...
    <DayStats_N>
   ],
   "Week targeting":[
    {"Target": <Target_1>, "Day": <Day_1> },
    <WeekTargeting_2>,
    ...
    <WeekTargeting_N>
   ],
   "Time distribution":[
    {"Percent": <Percent_1>, "Priority": <Priority_1>},
    <TimeDistribution_2>,
    ...
    <TimeDistribution_N>
   ]
  }
 }
}