Ascio Web Service v3

Perl GetPrices

Search for prices. It can be searched by:

  • TLDs
  • CountryCodes
  • Periods
  • Product Options
  • ObjectTypes (Domain, SslCertificate, Mark, Defensive, NameWatch)

Please limit the results with Paginate or other filter-options. The list of Prices will contain detailed history of all prices.

GetPricesResponse GetPrices(SecurityHeaderDetails securityHeader,GetPricesRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found
405Access denied
501Syntax error in parameters or arguments

GetPrices Request

Property
request

GetPricesResponse

PropertyDescription
GetPricesResult
TotalCountExample: 1
Currency
Prices
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Perl example

use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.ascio.com/v3/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite
    ->on_action( sub { "GetPrices" } )
    ->proxy($proxy)
    ->ns("http://www.ascio.com/2013/02", "v3")
    ->ns("http://www.ascio.com/2013/02/AscioService", "service");
    
# Please enter your ascio-credentials here

my $header = SOAP::Header->new(
            name =>"v3:SecurityHeaderDetails",
            value => {"v3:Account" => "username", "v3:Password" =>"password"} 
        );
$soap->autotype(0);
$method = SOAP::Data->name("service:GetPrices")->attr({xmlns => $namespace});

#PagingInfo
$pageInfo =  \SOAP::Data->value(
	SOAP::Data->name('v3:PageIndex',1),
	SOAP::Data->name('v3:PageSize',1)
);

#GetPricesRequest
$request =  \SOAP::Data->value(
	SOAP::Data->name('v3:Date',new \DateTime()),
	SOAP::Data->name('v3:ObjectTypes',SOAP::Data->value(
		SOAP::Data->name("ObjectType", "DomainType"), 
		SOAP::Data->name("ObjectType", "DefensiveType"), 
		SOAP::Data->name("ObjectType", "MarkType"), 
		SOAP::Data->name("ObjectType", "NameWatchType"), 
		SOAP::Data->name("ObjectType", "SslCertificateType"), 
		SOAP::Data->name("ObjectType", "LocalPresence"), 
		SOAP::Data->name("ObjectType", "PrivacyProxy"), 
		SOAP::Data->name("ObjectType", "MarkExtendedService"), 
		SOAP::Data->name("ObjectType", "SanSsl"))),
	SOAP::Data->name('v3:OrderTypes',SOAP::Data->value(
		SOAP::Data->name("OrderType", "NotSet"), 
		SOAP::Data->name("OrderType", "ContactUpdate"), 
		SOAP::Data->name("OrderType", "ChangeLocks"), 
		SOAP::Data->name("OrderType", "Delete"), 
		SOAP::Data->name("OrderType", "RegistrantDetailsUpdate"), 
		SOAP::Data->name("OrderType", "Expire"), 
		SOAP::Data->name("OrderType", "NameserverUpdate"), 
		SOAP::Data->name("OrderType", "OwnerChange"), 
		SOAP::Data->name("OrderType", "Queue"), 
		SOAP::Data->name("OrderType", "Register"), 
		SOAP::Data->name("OrderType", "Renew"), 
		SOAP::Data->name("OrderType", "Restore"), 
		SOAP::Data->name("OrderType", "Transfer"), 
		SOAP::Data->name("OrderType", "Unexpire"), 
		SOAP::Data->name("OrderType", "TransferAway"), 
		SOAP::Data->name("OrderType", "AutoRenew"), 
		SOAP::Data->name("OrderType", "AutoDelete"), 
		SOAP::Data->name("OrderType", "DetailsUpdate"), 
		SOAP::Data->name("OrderType", "Import"), 
		SOAP::Data->name("OrderType", "PartnerChange"), 
		SOAP::Data->name("OrderType", "DeQueue"), 
		SOAP::Data->name("OrderType", "UpdateAuthInfo"), 
		SOAP::Data->name("OrderType", "Support"), 
		SOAP::Data->name("OrderType", "WhoisDataReminder"))),
	SOAP::Data->name('v3:Tlds',SOAP::Data->value(
		SOAP::Data->name("string", "com"), 
		SOAP::Data->name("string", "net"), 
		SOAP::Data->name("string", "org"), 
		SOAP::Data->name("string", "info"), 
		SOAP::Data->name("string", "biz"), 
		SOAP::Data->name("string", "guru"))),
	SOAP::Data->name('v3:TldCountryCode','de'),
	SOAP::Data->name('v3:Periods',SOAP::Data->value(
		SOAP::Data->name("int", 1), 
		SOAP::Data->name("int", 2), 
		SOAP::Data->name("int", 3))),
	SOAP::Data->name('v3:ProductOptions',SOAP::Data->value()),
	SOAP::Data->name('v3:DefaultPeriodsOnly','true'),
	SOAP::Data->name('v3:PageInfo',$pageInfo),
	SOAP::Data->name('v3:TldsInPortfolioOnly',''TldsInPortfolioOnlyTest'')
);
@query = (
	SOAP::Data->name("service:request" => $request)->attr({"xsi:type" => "v3:GetPricesRequest"})
);

$result = $soap->call($method => @query, $header);
unless ($result->fault) {
	$response = $result->valueof("//GetPricesResponse/GetPricesResult");
	print "ResultCode : $response->{'ResultCode'}\r\n";
	print "Message : $response->{'ResultMessage'}\r\n";
	if ($response->{"ResultCode"} == 200) {
		print "OK";
	}
}
else {
	print join ", ",
	$result->faultcode,
	$result->faultstring,
	$result->faultdetail;
}
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.