API-MailboxOrg
view release on metacpan or search on metacpan
lib/API/MailboxOrg/API/Mail.pm view on Meta::CPAN
forwards => { type => ArrayRef, optional => 0 },
memo => { type => Str, optional => 1 },
catchall => { type => Boolean, optional => 1 },
create_own_context => { type => Boolean, optional => 1 },
title => { type => Str, optional => 1 },
birthday => { type => Str, optional => 1 },
position => { type => Str, optional => 1 },
department => { type => Str, optional => 1 },
company => { type => Str, optional => 1 },
street => { type => Str, optional => 1 },
postal_code => { type => Str, optional => 1 },
city => { type => Str, optional => 1 },
phone => { type => Str, optional => 1 },
fax => { type => Str, optional => 1 },
cell_phone => { type => Str, optional => 1 },
recover => { type => Boolean, optional => 1 },
skip_welcome_mail => { type => Boolean, optional => 1 },
},
),
'del' => validation_for(
lib/API/MailboxOrg/API/Mail.pm view on Meta::CPAN
aliases => { type => ArrayRef, optional => 1 },
alternate_mail => { type => Str, optional => 1 },
memo => { type => Str, optional => 1 },
active => { type => Boolean, optional => 1 },
title => { type => Str, optional => 1 },
birthday => { type => Str, optional => 1 },
position => { type => Str, optional => 1 },
department => { type => Str, optional => 1 },
company => { type => Str, optional => 1 },
street => { type => Str, optional => 1 },
postal_code => { type => Str, optional => 1 },
city => { type => Str, optional => 1 },
phone => { type => Str, optional => 1 },
fax => { type => Str, optional => 1 },
cell_phone => { type => Str, optional => 1 },
},
),
);
lib/API/MailboxOrg/API/Mail.pm view on Meta::CPAN
=item * birthday
=item * position
=item * department
=item * company
=item * street
=item * postal_code
=item * city
=item * phone
=item * fax
=item * cell_phone
=item * recover
lib/API/MailboxOrg/API/Mail.pm view on Meta::CPAN
=item * birthday
=item * position
=item * department
=item * company
=item * street
=item * postal_code
=item * city
=item * phone
=item * fax
=item * cell_phone
=back
lib/API/MailboxOrg/APIBase.pm view on Meta::CPAN
$api->_set_token( $token );
}
my %header = ( 'Content-Type' => 'application/json' );
$header{'HPLS-AUTH'} = $api->token if $api->token;
my $uri = join '/',
$api->host,
$api->base_uri;
my $tx = $api->client->post(
$uri,
\%header,
json => $rpc_data,
);
my $response = $tx->res;
if ( $tx->error ) {
carp $tx->error->{message};
return;
( run in 0.852 second using v1.01-cache-2.11-cpan-ceb78f64989 )