Package DE_EPAGES::ShopConfiguration::API::WebService::ShopCountService
Provides web service access for counting shops by shop type, database and shop status flags.
Example |
use DE_EPAGES::WebService::API::Client; my $ShopCountService = DE_EPAGES::WebService::API::Client ->uri('urn://epages.de/WebService/ShopCountService/2006/08') ->proxy("http://localhost:80/epages/Site.soap"); $ShopCountService->userinfo( "/Providers/$ProviderAlias/Users/$Login:$Password" ); print $ShopCountService->getCount({ ShopType => 'Demo' })->result; |
Functions
getAllCounts
Returns the number of shops of a provider from all databases. Deleted shops and internal test shops are not included.
Syntax |
$ahCounters = $ShopCountService->getAllCounts()->result; |
Return |
|
getCount
Returns the number of shops of a provider, filtered by shop type, database and flags.
Syntax |
$Count = $ShopCountService->getCount({ ShopType => $ShopType, Database => $Database, IsClosed => $IsClosed, IsDeleted => $IsDeleted, IsTrialShop => $IsTrialShop, IsInternalTestShop => $IsInternalTestShop, IsPreCreated => $IsPreCreated, })->result; |
Input |
|
Return |
|
new
Creates a new web service object as a blessed hash reference and adds the values from the %Options hash.
Syntax |
$Service = DDE_EPAGES::ShopConfiguration::API::WebService::ShopCountService->new( %Options ); |
Input |
|
Return |
|