Получение всех данных папки

Описание

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

Код запроса

OC_GETWHOLEFOLDER

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

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

Тело запроса

"Action":<OC_GETWHOLEFOLDER>,
"Data":{
 "Token":<MyToken>,
 "Folder ID":<MyFolderID>
}

Тело ответа

"Status":"Success",
"Data":{
 "Timestamp":<ServerTime>,
 "Folder":{
  "Name":<MyFolderName>,
  "Tasks":[
   {
    "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>
    ]
   },
   <Task_2>,
   ...
   <Task_N>
  ]
 }
}