
Net::Artera - Perl extension for Artera XML API.

use Net::Artera;
my $connection = new Net::Artera (
'rid' => 'reseller_id',
'username' => 'reseller_username',
'password' => 'reseller_password',
'production' => 0,
);
my $result = $artera->newOrder(
'email' => $email,
'cname' => $name,
'ref' => $refnum,,
'aid' => $affiliatenum,
'add1' => $address1,
'add2' => $address2,
'add3' => $city,
'add4' => $state,
'zip' => $zip,
'cid' => $country,
'phone' => $phone,
'fax' => $fax,
);
if ( $result->{'id'} == 1 ) {
#Success!
$serialnum = $result->{'ASN'};
$keycode = $result->{'AKC'};
} else {
#Failure
die $result->{'message'};
}
# etc...

This is a Perl module which speaks the Artera XML API. See <http://www.arteraturbo.com>. Artera Resellers can use this module to access some features of the API.

Constructor. Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
*These fields are optional, but must be supplied as a set.
Returns a hash reference with the following keys (these keys are case-sensitive):
Available options are the same as newTrial. Additionally the asn and akc fields may be specified to convert a trial to an order.
Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
Returns a hash reference with the following keys (these keys are case-sensitive):
Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
Returns a hash reference with the following keys (these keys are case-sensitive):
Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
Returns a hash reference with the following keys (these keys are case-sensitive):
Unimplemented.

orderListByDate is unimplemented.


Ivan Kohler, <ivan-net-artera@420.am>
Freeside, open-source billing for ISPs: <http://www.sisd.com/freeside>
Not affiliated with Artera Group, Inc.

Copyright (C) 2004 Ivan Kohler
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.