Getting all data of the account

Description

Gets full account structure

Request code

OC_GETALL

Request errors

No

Request body

"Action":<OC_GETALL>,
"Data":{
 "Token":<MyToken>
}

Response body

"Status":"Success",
"Data":{
  "Timestamp":<ServerTime>,
  "System constants":<SystemConstants>,
  "Geo zones":[
   {"Zone ID":<ZoneID_1>,"Name":<ZoneName_1>},
   {"Zone ID":<ZoneID_2>,"Name":<ZoneName_2>},
   ...
   {"Zone ID":<ZoneID_N>,"Name":<ZoneName_N>}
  ],
  "Folders":[
   {
    "Folder ID":<FolderID_1>
    "Name":<FolderName_1>,
    "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>,
      "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>
    ]
   },
   <Folder_2>,
   ...
   <Folder_N>
  ],
  "IP lists":[
   {
    "List ID":<IPListID_1>,
    "Ranges":[
     {"Range ID":<RangeID_1>, "Start":<RangeStart_1>,"End":<RangeEnd_1>},
     <Range_2>,
     ...
     <Range_N>
    ]
   },
   <IPList_2>    
   ...
   <IPList_N>
  ],
  "Referrals":[
   {
    "Login":<ReferralLogin_1>,
    "Inactivity":<ReferralInactivity_1>,
    "Deductions":<ReferralDeductions_1>,
   },
   {
    "Login":<ReferralLogin_2>,
    "Inactivity":<ReferralInactivity_2>,
    "Deductions":<ReferralDeductions_2>,
   },
   ...
   {
    "Login":<ReferralLogin_N>,
    "Inactivity":<ReferralInactivity_N>,
    "Deductions":<ReferralDeductions_N>,
   }
  ]
}