Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 09:09:54

Author Topic: api to update resource plan  (Read 2225 times)

0 Members and 1 Guest are viewing this topic.

Offline zidit

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
api to update resource plan
« on: 2017-02-10, 08:33:33 »
Hello

I am trying to create php script for updating resource plan disk and bandwidth limit

Code: [Select]
$kloxo_api = 'http://'.$host.':'.$cpport.'/webcommand.php?login-class=client&login-name=admin&login-password='.$adminpass.'&class=resourceplan&name='.$plan.'&action=update&v-traffic_usage='.$newbw;
This url seems correct but the parameter of bandwidth doesn't

v-traffic_usage

I tried many of possibilities but failed.Could you pls tell me what is correct parameter?

Thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: api to update resource plan
« Reply #1 on: 2017-02-11, 07:57:57 »
From where you get the code?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.029 seconds with 21 queries.

web stats analysis