Ivan Sokolov > API-Plesk-2.03 > API::Plesk::Customer

Download:
API-Plesk-2.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

API::Plesk::Customer - Managing customer accounts.

SYNOPSIS ^

    $api = API::Plesk->new(...);
    $response = $api->customer->add(..);
    $response = $api->customer->get(..);
    $response = $api->customer->set(..);
    $response = $api->customer->del(..);

DESCRIPTION ^

Module manage customer accounts.

METHODS ^

add(%params)

Method adds customer to Plesk Panel.

    %params = (
        # required
        gen_info => {
            pname => 'Mike',
            login => 'mike',
            passwd => '12345',
            ...            
        }
    );
get(%params)

Method gets customer data.

    %params = (
        filter => {...}
    );
set(%params)

Method sets customer data.

    %params = (
        filter   => {...},
        gen_info => {...}
    );
del(%params)

Method deletes customer from Plesk Panel.

    %params = (
        filter => {...}
    );

AUTHOR ^

Ivan Sokolov <lt>ivsokolov@cpan.org<gt>

syntax highlighting: