1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Incomplete API result for service plan

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Sam1315, Jan 9, 2012.

  1. Sam1315

    Sam1315 Guest

    0
     
    Hi All,

    Panel version: 10.4.4 Update #10
    OS: Linux 2.6.24-23-server

    There are 24 service plans in total(Listing in Plesk panel), but I'm getting only three of them via API.

    Panel version: 10.4.4 Update #10
    OS: Microsoft Windows 5.2;build-3790;sp2.0;suite274;product3

    Here I am getting only 2 out of 13 service plans via API.

    I am using the following API documentation for different operations.
    http://download1.parallels.net/Plesk...-rpc/index.htm

    API Code used: (My aim is to list all plans, but getting 2 or 3 of them)
    ---------------------------------------------------------------------
    1. Request 1:
    $data = '<packet version="1.6.3.0">
    <service-plan>
    <get>
    <filter>
    </filter>
    </get>
    </service-plan>
    </packet>';

    But I am getting result for the following query:
    2. Request 2:
    $data = '<packet version="1.6.3.0">
    <service-plan>
    <get>
    <filter>
    <name>Cloud Windows Home Basic</name>
    </filter>
    </get>
    </service-plan>
    </packet>';

    Note: Plan named 'Cloud Windows Home Basic' did not listed in the first(1 Above) API 'GET' request.
    I have same issue with the customer listing also.


    I have no idea about why this is happening, please help me.

    Thanks in Advance,

    Warm Regards

    Sam
     
Loading...