• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

service plan customer change

G

glennsyham

Guest
how do i switch service plan for a customer using api?
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<customer>
<switch-subscription>
<filter>
<id>54</id>
</filter>
<plan-guid>19280c23-1a98-e538-23cb-b519330da617</plan-guid>
</switch-subscription>
</customer>
</packet>

my service plan:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<service-plan>
<get>
<filter>
<name>Pro</name>
</filter>
</get>
</service-plan>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<service-plan>
<get>
<result>
<status>ok</status>
<id>9</id>
<name>Pro</name>
<guid>be5fcef9-1bdb-20e2-9346-6b018d3c0221</guid>
<external-id/>
 
nvm i got it
get webspace id
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<get>
<filter>
<owner-login>waitserv</owner-login>
</filter>
<dataset>
<hosting/>
</dataset>
</get>
</webspace>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<get>
<result>
<status>ok</status>
<filter-id>waitserv</filter-id>
<id>24</id>
<data>
<gen_info>
<cr_date>2011-09-21</cr_date>

then change webspace plan
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<switch-subscription>
<filter>
<id>24</id>
</filter>
<plan-guid>be5fcef9-1bdb-20e2-9346-6b018d3c0221</plan-guid>
</switch-subscription>
</webspace>
</packet>

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<switch-subscription>
<result>
<status>ok</status>
<filter-id>24</filter-id>
<id>24</id>
</result>
</switch-subscription>
</webspace>
</packet>
 
Back
Top