====== Requests codes ====== ==== Operations with account ==== ^ Code ^ Code meaning ^ Action ^ | OC_SIGNUP | Sign up | [[en:api:account:signup]] | | OC_CONFIRMSIGNUP | Confirm sign up | [[en:api:account:confirmsignup]] | | OC_SIGNIN | Sign in | [[en:api:account:signin]] (session initialization) | | OC_SIGNOUT | Sign out | Closure of the session | | OC_GETGENERALINFO | Get general info | [[en:api:account:getgeneralinfo]] | | OC_SETACCOUNTSTATUS | Set account status | Changing the status of the account | | OC_GETBALANCE | Get balance | Getting the account balance | | OC_SETPASSWORD | Set password | [[en:api:account:setpassword]] | | OC_CONFIRMSETPASSWORD | Confirm set password | [[en:api:account:confirmsetpassword]] | | OC_RESETPASSWORD | Reset password | [[en:api:account:resetpassword]] | ==== Operations on account ==== ^ Code ^ Code meaning ^ Action ^ | OC_SENDCREDITS | Send credits | [[en:api:account:balanceoperation:sendcredits]] | | OC_CONFIRMSENDCREDITS | Confirm send credits | [[en:api:account:balanceoperation:confirmsendcredits]] | ==== Operations on account folders ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETFOLDERS | Get folders | [[en:api:account:folder:getfolders]] | | OC_SETFOLDERNAME | Set folder name | [[en:api:account:folder:setfoldername]] | | OC_ADDFOLDER | Add folder | [[en:api:account:folder:addfolder]] | | OC_DELETEFOLDERS | Delete folders | [[en:api:account:folder:deletefolders]] | ==== Task operations ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETTASKS | Get tasks | [[en:api:account:folder:task:gettasks]] | | OC_SETTASKSPARAMS | Set tasks params | [[en:api:account:folder:task:settasksparams]] | | OC_ADDTASK | Add task | [[en:api:account:folder:task:addtask]] | | OC_DELETETASKS | Delete tasks | [[en:api:account:folder:task:deletetasks]] | | OC_MOVETASKS | Move tasks | [[en:api:account:folder:task:movetasks]] | | OC_CLONETASK | Clone task | [[en:api:account:folder:task:clonetask]] | | OC_COPYTASKSETTINGS | Copy task settings | [[en:api:account:folder:task:copytasksettings]] | ==== Geotargeting operations ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETGEOTARGETING | Get geo targeting | [[en:api:account:folder:task:geotargeting:getgeotargeting]] | ==== Daily targeting operations ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETDAYTARGETING | Get day targeting | [[en:api:account:folder:task:timetargeting:gettimetargeting]] | ==== Weekly targeting operations ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETWEEKTARGETING | Get week targeting | [[en:api:account:folder:task:weektargeting:getweektargeting]] | ==== Operations on daily statistics ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETDAYSTATS | Get day stats | [[en:api:account:folder:task:getdaystats]] | ==== Operations on time distribution ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETTIMEDISTRIBUTION | Get time distribution | [[en:api:account:folder:task:timedistibution:gettimedistibution]] | ==== Operations on IP lists ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETIPLISTS | Get IP lists | [[en:api:account:blacklist:getblacklists]] | | OC_ADDIPLIST | Add IP list | [[en:api:account:blacklist:addblacklist]] | | OC_SETIPLISTNAME | Set IP list name | [[en:api:account:blacklist:setblacklistname]] | | OC_DELETEIPLISTS | Delete IP lists | [[en:api:account:blacklist:deleteblacklists]] | | OC_CLONEIPLIST | Clone IP list | [[en:api:account:blacklist:cloneblacklist]] | ==== Operations on IP ranges ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETIPRANGES | Get IP ranges | [[en:api:account:blacklist:blackrange:getblackranges]] | | OC_ADDIPRANGES | Add IP ranges | [[en:api:account:blacklist:blackrange:addblackranges]] | | OC_SETIPRANGES | Set IP ranges | [[en:api:account:blacklist:blackrange:setblackranges]] | | OC_DELETEIPRANGES | Delete IP ranges | [[en:api:account:blacklist:blackrange:deleteblackranges]] | ==== Other operations ==== ^ Code ^ Code meaning ^ Action ^ | OC_GETSYSTEMCONSTANTS | Get system constants | [[enu:api:systemconstants]] | | OC_GETREFERRALS | Get referrals | [[en:api:account:getreferrals]] |