API-ParallelsWPB
view release on metacpan or search on metacpan
debug
Debug flag, requests will be loogged to stderr. Optional parameter.
timeout
Connection timeout. Optional parameter.
f_request($self, $url_array_ref, $data)
"Free" request. Now for internal usage only.
$data: req_type : HTTP request type: get, post, put, delete. GET by
default. post_data: data for POST request. Must be hashref.
SEE ALSO
Parallels Presence Builder Guide
<http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-build
er-standalone-installation-administration-guide>
API::ParallelsWPB::Response
API::ParallelsWPB::Requests
lib/API/ParallelsWPB.pm view on Meta::CPAN
Connection timeout. Optional parameter.
=back
=head2 B<f_request($self, $url_array_ref, $data)>
"Free" request. Now for internal usage only.
$data:
req_type : HTTP request type: get, post, put, delete. GET by default.
post_data: data for POST request. Must be hashref.
=head1 SEE ALSO
L<Parallels Presence Builder Guide|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide>
L<API::ParallelsWPB::Response>
L<API::ParallelsWPB::Requests>
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
pt_BR - Brazilian Portuguese
ru_RU - Russian.
zh_CN - simplified Chinese.
zh_TW - traditional Chinese.
If no locale is defined, en_US will be used.
sessionLifeTime
This parameter is optional. It specifies the period of inactivity for a user's session in the editor. When this period elapses,
the security token expires and the user needs to log in again. 1800 seconds by default.
L<Generating a Security Token for Accessing a Site|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=69691.htm>
=head2 B<deploy($self, %param)>
Creates site based on a specified topic.
my $response =
$client->deploy( localeCode => 'en_US', templateCode => 'music_blog' );
%param:
uuid
Site UUID. This parameter is mandatory.
localeCode
Locale code. The default value is en_US.
templateCode
Internal topic identification code. This parameter is optional. Default value is 'generic'.
title
Website name. This parameter is optional. Specifies what should be shown as the website name in the browser's title bar.
L<Creating a Site Based on a Website Topic|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=72111.htm>
lib/API/ParallelsWPB/Requests.pm view on Meta::CPAN
L<Setting Trial Mode Messages|http://download1.parallels.com/WPB/Doc/11.5/en-US/online/presence-builder-standalone-installation-administration-guide/index.htm?fileName=71727.htm>
=head2 B<set_custom_trial_messages($self, @param)>
Setting Custom Messages for the Trial Mode
my $response = $api->set_custom_trial_messages(
{
localeCode => 'en_US',
messages => {
defaultPersonalName => '{message1_en}',
editorTopMessageTrialSite => '{message2_en}',
initialMailSubject => '{message3_en}',
initialMailHtml => '{message4_en}',
trialSiteSignUpPublishTitle => '{message5_en}',
trialSiteSignUpPublishMsg => '{message6_en}'
}
},
{
localeCode => 'de_DE',
messages => {
defaultPersonalName => '{message1_de}',
editorTopMessageTrialSite => '{message2_de}',
initialMailSubject => '{message3_de}',
initialMailHtml => '{message4_de}',
trialSiteSignUpPublishTitle => '{message5_de}',
trialSiteSignUpPublishMsg => '{message6_de}'
}
},
);
=head2 B<get_custom_trial_messages($self)>
( run in 0.416 second using v1.01-cache-2.11-cpan-0a6323c29d9 )