Ascio Web Service v3

Class GetPricesRequest

PropertyDescription
DateExample: "2023-04-28T09:00:00"
ObjectTypesExample: ObjectType.DomainType
OrderTypesExample: OrderType.Register
Tlds
TldCountryCodeExample: "de"
PeriodsExample: 1
ProductOptions
DefaultPeriodsOnlyExample: true
PageInfo
TldsInPortfolioOnly
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 { "" } )
    ->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:GetPricesRequest")->attr({xmlns => $namespace});

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

#GetPricesRequest
$getPricesRequest =  \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('v3:TldCountryCode','de'),
SOAP::Data->name('v3:Periods',SOAP::Data->value()),
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'')
);
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.