Get Clients Addons

getclientsaddons

Purpose

This command is used to obtain the addons associated with a client

Attributes

Optional Attributes

  • clientid - The Client ID you wish to obtain the results for
  • addonid - The specific addonid you wish to find
  • serviceid - The specific, or comma separated list of, service(s)

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "getclientsaddons";

$result = mikrovps_SendCommand( $postfields );

Successful Response

Array with Addons

Array
(
    [result] => success
    [serviceid] =>
    [clientid] =>
    [totalresults] => 1
    [addons] => Array
        (
            [addon] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [userid] => 1
                            [orderid] => 1
                            [serviceid] => 1
                            [addonid] => 1
                            [name] =>
                            [setupfee] => 10.00
                            [recurring] => 10.00
                            [billingcycle] => Monthly
                            [tax] => on
                            [status] => Active
                            [regdate] => 2015-06-10
                            [nextduedate] => 2015-07-10
                            [nextinvoicedate] => 2015-08-10
                            [paymentmethod] => banktransfer
                            [notes] =>
                        )

                )

        )

)

Error Response

None

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Add Cancel Request

addcancelrequest Purpose This command is used to Add Cancellation Request for a specific...

Add Contact

addcontact Purpose This command is used to create a new contact under an account. Attributes...

Delete Contact

deletecontact Purpose This command is used to delete a contact in the system. Attributes...

Get Clients Details

getclientsdetails Purpose This command is used to retrieve all the data held about your...

Get Clients Domains

getclientsdomains Purpose This command is used to get the details of all the domains a client...